Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Shapes.AddPicture run-time error
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
excel document with shapes on it but the shapes do not print | Excel Worksheet Functions | |||
How do i change the size of multiple shapes at the same time? | Excel Discussion (Misc queries) | |||
Naming Auto Shapes and Creating new Shapes | Excel Discussion (Misc queries) | |||
When drawing shapes in excel the shapes keep disappearing | Excel Discussion (Misc queries) | |||
Got error in Shapes.AddShape() | Charts and Charting in Excel |