Hi!
The below codes copy an unprotected sheet and copy it to a new sheet.
All codes works, but worksheet “Process” is still visible. I want it to be hidden at the end.
Please help!
Sub Start()
…
Worksheets("Process").Unprotect Password:="abcde"
Worksheets("Process").Visible = True
‘some codes
…
Call Steg1
Call Steg2
Call Steg3
…
‘at the end of Sub Steg3 are below codes
…
Worksheets("Process").Visible = xlSheetVeryHidden
Worksheets("Process").Protect Password:=" abcde "
Worksheets("Process").Visible = False
---
End Sub
The below codes copy an unprotected sheet and copy it to a new sheet.
All codes works, but worksheet “Process” is still visible. I want it to be hidden at the end.
Please help!
HTML:
…
Worksheets("Process").Unprotect Password:="abcde"
Worksheets("Process").Visible = True
‘some codes
…
Call Steg1
Call Steg2
Call Steg3
…
‘at the end of Sub Steg3 are below codes
…
Worksheets("Process").Visible = xlSheetVeryHidden
Worksheets("Process").Protect Password:=" abcde "
Worksheets("Process").Visible = False
---
End Sub
HTML: