I am looking for a way to save a copy of a tab from a workbook to a separate file with VBA.
I can copy the tab to a seperate workbook or I can open a blank workbook and copy and paste the data to it. The problem is that I want values and formats only. I don't want any linked cells.
I have tried opening a new workbook, copying the data from the current book and then using paste special twice--data and then formats. The data is always pasted in the current spreadsheet even if I set the active book to the new book. I put in a message box that tells me which book is active for testing purposes.
Thank you for any help.
Henry L Michel
I can copy the tab to a seperate workbook or I can open a blank workbook and copy and paste the data to it. The problem is that I want values and formats only. I don't want any linked cells.
I have tried opening a new workbook, copying the data from the current book and then using paste special twice--data and then formats. The data is always pasted in the current spreadsheet even if I set the active book to the new book. I put in a message box that tells me which book is active for testing purposes.
Thank you for any help.
Henry L Michel