Thanks to help from this group, I'm on to the second stage and that is to take the data imported from "Sheet1" and generate a Pivot Chart. I did a "record macro" to get the basics of the chart and started by pasting that code into its own procedure. However, it errors trying to get to first base with a 400 error. "Invalid procedure call or argument".
Googling around, I can tell you it occurs when running the first time, and it has no trouble creating the empty worksheet. And of course, it's from the same version of Excel so it should have no trouble running its own code.
I've removed the parts that were optional but it still fails. None of these variables exist in this new document as it is new when the first macro runs to pull/format the data in "Sheet1".
A Windows Excel newbie as you can tell, thanx, sam
Bookmarks