Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 109
Default copy sheets to another file

I have a macro which copies several sheets to another file and then deletes
all the sheet code.

I now find that there are 2 extra sheets to be copied but the sheet code is
required in them.

How can I get around this?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default copy sheets to another file

Gareth, As usual you should always post your coding efforts.

"Gareth" wrote in message
...
I have a macro which copies several sheets to another file and then

deletes
all the sheet code.

I now find that there are 2 extra sheets to be copied but the sheet code

is
required in them.

How can I get around this?




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default copy sheets to another file

Deleting the sheet code is an overt act.
Test for the sheetname and don't delete the code in those sheets?

--
Regards,
Tom Ogilvy

Gareth wrote in message
...
I have a macro which copies several sheets to another file and then

deletes
all the sheet code.

I now find that there are 2 extra sheets to be copied but the sheet code

is
required in them.

How can I get around this?




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
copy cell info to other sheets, other sheets dont contain all row. Ja Excel Worksheet Functions 1 November 1st 09 12:53 AM
copy&paste 28 individual files into one file/28 work sheets Yvez T.T. Constance Excel Worksheet Functions 1 November 18th 07 10:54 AM
copy the same raws of all sheets from about a 100 file to a new sheet of a book and save the file [email protected] Setting up and Configuration of Excel 0 March 14th 07 02:13 AM
Open and copy all workbook sheets in a folder to a master file [email protected] Excel Discussion (Misc queries) 0 November 2nd 06 04:29 PM
in VBA Sheets("mysheet").Copy Befo=Sheets(1) how do i get a reference to the newly created copy of this sheet? Daniel Excel Worksheet Functions 1 July 6th 05 09:57 PM


All times are GMT +1. The time now is 07:14 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"