Hello,
I recorded a macro, with the last step being dragging a chart to expand it. When running it I got the runtime error 2147024809 'the item with the specified name wasn't found'
I did some digging and believe this is due to the naming of 'chart 1', but haven't been able to find a fix. Problem should be the 2 lines below:
ActiveSheet.Shapes("Chart 1").ScaleWidth 2.6588541667, msoFalse, _
msoScaleFromTopLeft
ActiveSheet.Shapes("Chart 1").ScaleHeight 2.575, msoFalse, msoScaleFromTopLeft
If anyone has any idea, please let me know.
Bookmarks