I don't know what I'm doing wrong here. I have a CSV file containing lots of entries. I made another CSV file and gave it the following macro:
This worked fine. The thing is, i want the file that's displaying the chart to be an XLS file, not a CSV. When I run the same macro in an XLS file, I get a run-time error 1004, Method 'Range'of object _Global failed.
I don't see what I'm doing incorrectly here. I've only changed the format of the file in which the macro is being run. I haven't changed any of the other files. I've tested and retested this. It really does just seem to break when it's run in an XLS file but works fine when it's run in a CSV. Any ideas?
All replies are appreciated. I've been working on this for hours.
Bookmarks