Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default VBA coding to copy sheets into a new workbook

I'm coding a macro and want it to copy existing sheets as an array into a new
workbook, then I want to edit the copied sheets in the new workbook. I'm
having trouble with the code, I've got the below, but don't know how to
activate the new workbook for editting.


Sheets(Array("Summary", "Pace", "Topline Media", "Media Detail",
"Creative Trending", "Creative Detail", "Creative Opt", "CTD", "Formula
Definitions")).Copy

Windows(MacroFileName).Activate


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 363
Default VBA coding to copy sheets into a new workbook

have a look he

http://www.rondebruin.nl/tips.htm


Corey....
"gitlin" wrote in message
...
I'm coding a macro and want it to copy existing sheets as an array into a
new
workbook, then I want to edit the copied sheets in the new workbook. I'm
having trouble with the code, I've got the below, but don't know how to
activate the new workbook for editting.


Sheets(Array("Summary", "Pace", "Topline Media", "Media Detail",
"Creative Trending", "Creative Detail", "Creative Opt", "CTD", "Formula
Definitions")).Copy

Windows(MacroFileName).Activate




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 all sheets to a new workbook futbol Setting up and Configuration of Excel 3 November 16th 07 12:09 PM
Copy several sheets from one workbook into another at the same tim WiFiMike2006 Excel Discussion (Misc queries) 2 February 8th 07 08:36 PM
copy workbook sheets? L. Setting up and Configuration of Excel 3 November 29th 05 03:30 AM
Copy 1-4 sheets to a new workbook ole_ Excel Programming 3 June 30th 05 11:11 AM
Copy select sheets to another Workbook Randy[_11_] Excel Programming 0 January 14th 04 05:06 PM


All times are GMT +1. The time now is 10:50 PM.

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

About Us

"It's about Microsoft Excel"