Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Everyone
I've got this macro that made a backup of my invoice and renamed it, but now instead of making a backup copy, it renames my original Invoice copy. Sub Make_Bkup_Copy() On Error Resume Next ActiveSheet.Copy after:=lastSheet Set ws = ActiveSheet ws.Name = Range("K2") & "-" & Range("G1") With Target If .Value < "" Then Name = .Value End If End With Sheets("Summary").Columns("A:F").fmTextAlign , 2 Sheets("Summary").Move befo=Sheets("Facture") Sheets("Facture").Select Range("K2").Select End Sub It should copy my Invoice , rename the Tab with cell K2 and G1 ( Invoice number with name) Any help would be appreciated. Thank you Cimjet |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy sheet and rename | Excel Programming | |||
How to copy a sheet and rename it with the value of two cells from the source sheet? | Excel Programming | |||
Copy/Rename a sheet | Links and Linking in Excel | |||
Button to copy sheet, rename sheet sequencially. | Excel Programming | |||
Copy a sheet and rename it | Excel Programming |