I've designed a procedure that, via shapes, draws a beam and the forces acting on the beam.
Depending on the size of the beam, the size and placement of the forces etc. the procedure places and sizes the beam and forzes correspondingly.
I've originally made this procedure on a blank workbook just to get the drawingprocedure in place and it works fine.
But when i copy the procedure into the workbook containing the beamcalculations errors occur and only some of the shapes are drawn (i've mad sure that all the input referencecells are updated).
Here is some of the original code that works fine as a stand-alone with corresponding inputdata from the following cells. When i copy the code into the other workbook i get the first error in this part of the code:
I get the first errror in the line.style-statement:![]()
Please Login or Register to view this content.
"Run time error '-2147024809 (80070057)': the stated value is outside the limits"
or
"Run time error "438": Object doesn't support this property or method"
Here is a larger part of the code.
I get a lot of similar errors working down the code
![]()
Please Login or Register to view this content.
Bookmarks