Does anyone see any problems or know of any problems with using this code in Excel 2010 to select an image to insert?
This code seems to cause Excel 2010 to crash at random. It works sometmes with no problems at all and then suddenly it crashes Excel. Again this is only happening in 2010.
Code:
myPicture = Application.GetOpenFilename _
("Pictures (*.gif; *.jpg; *.bmp; *.tif),*.gif; *.jpg; *.bmp; *.tif", , "Select Picture to Import")
If myPicture = "False" Then Exit Sub
This code seems to cause Excel 2010 to crash at random. It works sometmes with no problems at all and then suddenly it crashes Excel. Again this is only happening in 2010.