So I am using this code to export as PDF to a certain location for a bunch of worksheets. Am I able to use this same sort of line, but to export as csv? How would I do so?
Please Login or Register to view this content.
So I am using this code to export as PDF to a certain location for a bunch of worksheets. Am I able to use this same sort of line, but to export as csv? How would I do so?
Please Login or Register to view this content.
Something like this perhaps?
AlfPlease Login or Register to view this content.
Wow that was quick. Works great.
How do I get this to name the csv the same as it's worksheet name?
Thanks again,
Replace "Book" with Sheets(i).Name i.e.
If this solves your problem don't forget to mark you thread "Solved"Please Login or Register to view this content.
Alf
To mark your thread solved do the following:
-Go to the top of the first post
-Select Thread Tools
-Select Mark thread as Solved
It's sending the CSV's named sheet1, sheet2, sheet3.
How can I have this export the sheet name or where do I list the sheet name in the code?
Thanks,
This should do it then
AlfPlease Login or Register to view this content.
Last edited by Alf; 04-09-2015 at 03:00 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks