Can this be done at all?? I'd like to be able to export the cell contents of sheet1 as a new workbook where i can specify its name and location to be stored. Any hints or tips is greatly appreciated!
This flies in the face of what you are now asking which, I am guessing is that you want a new file to be created and the user to be prompted where to save it ???
Rgds, Geoff
Never test the depth of water with both feet
Help us to help you by reading FAQ222-2244 before you ask a question
I've since used the macro recorder... doesn't quite do what i want it to do.
Basically, I just want the cell values of the current sheet to be 'exported' as a new workbook. (so i don't want to exclude any macros/buttons etc etc).
ah - you have buttons and code on that sheet - in that case, you're gonna have to get a LOT more involved. You'll have to loop through the shapes collection and dlete the buttons. You'll then have to access the VBProject object to delete the modules
Similar thread has this reference for VBA deletion - provided by KenWright
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.