Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here
So you are using VB6 to automate excel?
Give your described data and layout this line will return 1 as the labels are in column A.
Here you set the source data as column A and then change it to be column B, which would then remove the axis labels.
Instead try this single use of the SetSourceData method.
Bookmarks