Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank Norman,
"Norman Jones" wrote: Hi Laddie, Replace the suggested code to produce the single-sheet workbook with the following version: '============= Public Sub Tester() Dim WB As Workbook Dim SH As Worksheet Set WB = ThisWorkbook With WB Set SH = .Sheets("Sheet3") '<<==== CHANGE SH.Copy After:=.Sheets(.Sheets.Count) End With SH.Copy With ActiveSheet.UsedRange .Value = .Value End With Application.DisplayAlerts = False With WB .Sheets(.Sheets.Count).Delete Application.DisplayAlerts = True End With End Sub '<<============= --- Regards, Norman |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy row 2 of any wsheet to the new crated wsheet | Excel Worksheet Functions | |||
Macro doesn't insert image when spreadsheet is protected | Excel Worksheet Functions | |||
Macro to insert Current Time into protected cell | Excel Programming | |||
How do I insert an image into a specific cell within a protected . | Excel Discussion (Misc queries) | |||
Insert Image in cell B13 on Protected worksheet | Excel Programming |