Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi to all
What modification must be made to copy before when the sheet is hidden. Example ..Copy Befo=Worksheets("Data") where DATA! is hidden. The copy ends up after DATA rather than before. Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try making it visible before and hide it after
Worksheets("Data") .Visible = xlSheetVisible .... Worksheets("Data") .Visible = xlSheetHidden -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Steve" <sailor4life61@hotmaildotcom wrote in message ... Hi to all What modification must be made to copy before when the sheet is hidden. Example .Copy Befo=Worksheets("Data") where DATA! is hidden. The copy ends up after DATA rather than before. Thanks |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Steve,
Steve schrieb: What modification must be made to copy before when the sheet is hidden. Example .Copy Befo=Worksheets("Data") where DATA! is hidden. The copy ends up after DATA rather than before. Try this: Worksheets("Sheet1").Copy After:=Worksheets("Data") Worksheets("Data").Move After:=ActiveSheet -- Regards Melanie Breden - Microsoft MVP für Excel - http://excel.codebooks.de (Das Excel-VBA Codebook) |
Reply |
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) |