We I run the below code:
Sub Macro1()
Sheets("Historyt").Select
Sheets("Historyt").Copy Before:=Workbooks("Merg.xlsm").Sheets(1)
End Sub
and a worksheet called "Historyt" already exist in the file Merg.xlsm
it always create Historyt(2). I dont want that. I want is to overwrite "Historyt"
How can this be achieved?
Sub Macro1()
Sheets("Historyt").Select
Sheets("Historyt").Copy Before:=Workbooks("Merg.xlsm").Sheets(1)
End Sub
and a worksheet called "Historyt" already exist in the file Merg.xlsm
it always create Historyt(2). I dont want that. I want is to overwrite "Historyt"
How can this be achieved?