Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Everyone,
I have a macro that I run on a 2007 workbook that makes a duplicate copy of the current sheet by hitting a button with the macro associated with it. The macro runs fine when the sheet is named "Sheet1"; however, once a duplicate sheet has been created, I need to change the name of that sheet, then when I go and hit my macro button again, I get an error since I have now renamed "Sheet1" to something else. In VB, is there a term that I may use to duplicate the current sheet selected? I need to have a variable term used instead of the current "sheet1" that is in my macro. Thanks for your help as always! Mark |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
visual basic. find copy row past into new sheet | Excel Worksheet Functions | |||
Visual Basic | Excel Discussion (Misc queries) | |||
Visual Basics - Automating Specific Sheet Names | Excel Discussion (Misc queries) | |||
changing the visual basic in office 2003 to visual studio net | Excel Discussion (Misc queries) | |||
Visual Basic | Excel Discussion (Misc queries) |