PC Review


Reply
Thread Tools Rate Thread

Copying tabs from one spreadsheet to an other

 
 
Shawn777
Guest
Posts: n/a
 
      5th Mar 2008
I have two questions for a macro that I am writing.

I am creating a macro that resides in a Project Master spreadsheet that
creates estimates by opening an Estimating Template, populating it with job
specific information, and saves it with the project name. The Project Master
populates the Estimating Template by copying tabs from the Project Master to
the Estimating Template. When this happens a pop-up message appears that is
not needed. This message is asking if I want to use the names on the
Estimating Template and the answer would always be “Yes”. The following is
how the message reads:

A formula or sheet you want to move or copy contains the name ‘***’, which
already exists on the destination worksheet. Do you want to use this version
of the name?...

The following is the codes that I am using:

Sheets(Array("SUMMARY METRICS", "DETAIL & UNIT METRICS")).Select
Sheets("DETAIL & UNIT METRICS").Activate
Sheets(Array("SUMMARY METRICS", "DETAIL & UNIT METRICS")).Copy Before:= _
Workbooks("Estimating Template Master.xls").Sheets(9)

Question 1) How do I get the above pop-up message to stop and to always be
“Yes”? - Other than this pop-up message these links are working correctly.

The second question pertains to saving the Estimating Template as a project.
As I do this the source tabs (SUMMARY METRICS", "DETAIL & UNIT METRICS) on
the Project Master get linked to the new project when they need to stay
linked to the Estimating Template.

Question 2) Is there a way of saving the Estimating Template to a new name
while the Project Master is open and still having the links from the (SUMMARY
METRICS", "DETAIL & UNIT METRICS) tabs still be linked to the original
Estimating Template? Or would writing a macro that runs as the Project
Master is open that updates or reassigns the links to the Estimating Template
be a better solution for this issue?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I alphabetize the tabs on a spreadsheet with 25 tabs? Anita Microsoft Excel Worksheet Functions 0 27th May 2010 10:01 PM
RE: How do I alphabetize the tabs on a spreadsheet with 25 tabs? Mike H Microsoft Excel Worksheet Functions 0 27th May 2010 09:50 PM
how many tabs on a excel spreadsheet can you have? =?Utf-8?B?RGVhYnVn?= Microsoft Excel Worksheet Functions 2 23rd Aug 2006 09:53 PM
combining spreadsheet tabs =?Utf-8?B?Y2hpbGRvdGhlMTk4MHM=?= Microsoft Excel Programming 3 12th Jul 2006 12:05 AM
Spreadsheet Tabs =?Utf-8?B?RGVlbmE=?= Microsoft Excel Misc 3 11th Nov 2005 05:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:36 AM.