![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Location: Newcastle upon Tyne
Posts: 762
|
I need assistance with a macro.
I have a macro that copies the active worksheet, opens a new worksheet and paste the copied sheet. What I also need the macro to do is assign todays date in the left hand portion of the footer. Assign the time to the right hand portion of the footer. I then need a user promp that takes a mixture of letters and numbers and assigns the digets to the new sheets tab and to the sheets header. Any ideas or code would be appreciated. [ This Message was edited by: Jak on 2002-05-15 06:26 ] |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Bogota, Colombia
Posts: 11,927
|
Your first question (Your topic's title, BTW):
Sheet1.PageSetup.LeftFooter = Date Second one... not clear for me. |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Apr 2002
Location: Newcastle upon Tyne
Posts: 762
|
Hi Juan
Thanks for the first bit of code. I don't think I worded my question very well. Basically, after I get a new worksheet I have to re-name the tab. eg.sheet2 may be renamed as PH3456. The didgets are never sequential hence I need a way of prompting the user to enter i.e PH3456. As this text will also be used as the sheets header I need a way to re-name the sheets tab and header at the same time. If you have any further thoughts or questions let me know. Thanks for your initial help. [ This Message was edited by: Jak on 2002-04-27 10:59 ] |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
Hi Jak
Call this macro at the end of your current macro... Tom
|
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Apr 2002
Location: Newcastle upon Tyne
Posts: 762
|
TsTom
Thanks for the code it works great. |
|
|
|
|
|
#6 |
|
Board Regular
Join Date: Apr 2002
Location: Newcastle upon Tyne
Posts: 762
|
Thanks to everyone for their input.
:0) [ This Message was edited by: Jak on 2002-04-30 10:35 ] |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|