Hello. Why do I have to add the "shapes" in this code?
![]()
Please Login or Register to view this content.
Hello. Why do I have to add the "shapes" in this code?
![]()
Please Login or Register to view this content.
becuase addchart is a method of the shapes collection. The sheet object does not have a method to directly add charts.
you could also use the chartobject collection but you need to provide dimensions for the chart.
So either of these will work
![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks