Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Create a Macro to Copy a Worksheet, and link certain cells...

Hello all.

Ok, here is my delima. I have a workbook that has many worksheets. In the
end, it will probably have to be devided up because it will have at least 2
worksheets for each workday (Mon - Fri). Here is where it gets interesting.
I will try to make this as painless as possible.

I have 2 Templates. Template 1, and Template 2.

When the data for Jan 1 is ready to be entered, the user copies Template 1,
renames it (Jan 1), and then enters the data.

Then, Template 2 is copied, and renamed (jan1). The data for this sheet is
pulled from (Jan 1) worksheet. Presently, the user has to go over to the
(Jan 1) worksheet and copy-and-paste each item that is needed.

So, here is my question, in a few parts.

1:) Can I create a button/macro that will copy Template 1, and ask the user
what they want to name it? And possibly, where they want to place it?

2:) Is it possible to have this button/macro also create a copy of Template
2, also asking the user what to name it, and where to place it?

OK, at this point, the macro would copy both Template 1 and Template 2,
and ask the user what they wanted them named and where they wanted them
placed. If possible, I need a few more things done with the button/macro.

3:) I know how to link cells in (jan1) and have them pull from (Jan 1). My
main question is: Can I have the macro, when it copies Template 1, and
Template 2 (and renames them Jan 1, and jan1) - can it also make the links in
jan1 now refer to Jan 1, in stead of Template 1? (I know if I just copy
Template 2, and rename it jan2 - the links in it will still refer to Template
1. Which is not what I need.) I don't want the end-user to have to go
through and update all the links manually. I also don't want them to have to
copy-and-paste all the information one-by-one.

I hope this makes sense. It does to me...but, that does not necessarily
mean anything. :-)

Thanks for your input.

jlstraw
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
Macro to copy cells from one worksheet to another Kirby Excel Discussion (Misc queries) 1 October 17th 08 09:33 PM
create a macro to copy a worksheet into another Sean Excel Discussion (Misc queries) 7 October 18th 06 10:19 PM
Want macro to select & copy cells from a different worksheet RocketRod Excel Discussion (Misc queries) 5 February 28th 06 12:53 PM
How to copy subtotalled cells to a new worksheet (in a macro), wi. LJB Excel Discussion (Misc queries) 2 June 23rd 05 02:00 AM
How to create a macro to copy data from a column to a row in another worksheet? NewAtExcel Excel Programming 0 January 1st 04 12:38 AM


All times are GMT +1. The time now is 01:07 PM.

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"