Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
With the macro shown below, which works ok, the copied sheet
using the Copy before method, always go back to the start of the Worksheets, which has now got 16 sheets in the workbook and increases each month. For the sake of convenience it would be nice for it to go back 1 worksheet only. ie before CurrentMasterHours worksheet. Help please Jim <<<Dim Location On Error Resume Next Worksheets("CurrentMasterHours").Select Location = InputBox("Enter Archive Name to be Stored, eg Sept '99", "Time Sheets - Archival Transfer") If Location = "" Then Exit Sub Else Sheets("CurrentMasterHours").Copy befo=Sheets(1) Sheets(1).Name = Location End If On Error GoTo 0 End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy rows from one Data sheet to another sheet based on cell conte | Excel Discussion (Misc queries) | |||
Auto Copy/autofill Text from sheet to sheet if meets criteria | Excel Discussion (Misc queries) | |||
How can i copy data from a tabbed working sheet to a summary sheet | Excel Discussion (Misc queries) | |||
how to copy a cell with formula from sheet 1 (data is all vertical) into sheet 2 | Excel Worksheet Functions | |||
relative sheet references ala sheet(-1)!B11 so I can copy a sheet. | Excel Discussion (Misc queries) |