M
Matt
I'm trying to add a picture to a worksheet but I get "The specified
value is out of range". Here is the code (VB 6.0):
Set moSheet = moBook.Sheets("Sheet1")
moSheet.Shapes.AddPicture "C:\TEMP\splash.bmp", False, False, 0, 0,
10, 10
The code resides in a .bas module. The variables moSheet and moBook
refer to global Worksheet and Workbook objects. Any help is greatly
appreciated!
Matt
value is out of range". Here is the code (VB 6.0):
Set moSheet = moBook.Sheets("Sheet1")
moSheet.Shapes.AddPicture "C:\TEMP\splash.bmp", False, False, 0, 0,
10, 10
The code resides in a .bas module. The variables moSheet and moBook
refer to global Worksheet and Workbook objects. Any help is greatly
appreciated!
Matt