Hello,
I am learning VBA and still not good at it. I am trying to create a macro button that should do these:
- Create a copy of my workbook with all the sheets and save them into a new excel file with a specific name in a specific folder
- Copy only the values and format
- Do not show any buttons in the new file
- Delete the power query when it is saved in the new file
- Keep the button in the original file
This is what I have so far. This code works but it copies the button and queries into the new file which I don't want. And for some reason, the button doesn't work in my original file when I open it again. It says that there aren't any assigned macros.
Thank you!
Bookmarks