Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I know I posted this earlier, but the response I recieved did not help any.
Though I did appreciate the response. Stepping through a program will achieve the desired results, but running it normally will error out. First, a Worksheet Change Event is recieved, this in turns calls a Sub to add an AutoShape to a worksheet. If code is allowed to run normally I will always recieve a 1004 Application-Defined or Object Defined error at the line that actually ADDS the shape Set sh = wks.Shapes.AddShape(msoShapeDownArrow, 354.75, 162 + (rown * 21), 24, 30) wks is passed as an argument to the sub from the worksheet change event and sh is a shared public variable as Shape when stepping the code does not error out. Anyone know why this might be doing so? -- When you lose your mind, you free your life. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Stepping through Code | Excel Discussion (Misc queries) | |||
stepping chart | Charts and Charting in Excel | |||
Stepping through For Each...Next backwards? | Excel Programming | |||
stepping down rows | Excel Programming | |||
Stepping through a column using FOR/NEXT | Excel Programming |