N
nowfal
Hi,
The following vba(macro) need to protected correctly, now the sheet i
protected but not with a password. How to do that , i saw some day
early with somebody's post , but i dont remember now so please help.
Sub FCY()
'
' FCY Macro
' Macro recorded 18/05/2004 by Musandam
'
'
Range("A2").Select
ActiveSheet.Unprotect
Range("A2:K10000").Select
Selection.Copy
Range("A3").Select
ActiveSheet.PasteSpecial Format:=3, Link:=1, DisplayAsIcon:=False
_
IconFileName:=False
Range("B2:J2").Select
Selection.ClearContents
Range("L2").Select
Selection.ClearContents
Range("B2").Select
ActiveSheet.Protect DrawingObjects:=True, Contents:=True
Scenarios:=True
ActiveWorkbook.Save
End Sub
thanks in advance,
nowfa
The following vba(macro) need to protected correctly, now the sheet i
protected but not with a password. How to do that , i saw some day
early with somebody's post , but i dont remember now so please help.
Sub FCY()
'
' FCY Macro
' Macro recorded 18/05/2004 by Musandam
'
'
Range("A2").Select
ActiveSheet.Unprotect
Range("A2:K10000").Select
Selection.Copy
Range("A3").Select
ActiveSheet.PasteSpecial Format:=3, Link:=1, DisplayAsIcon:=False
_
IconFileName:=False
Range("B2:J2").Select
Selection.ClearContents
Range("L2").Select
Selection.ClearContents
Range("B2").Select
ActiveSheet.Protect DrawingObjects:=True, Contents:=True
Scenarios:=True
ActiveWorkbook.Save
End Sub
thanks in advance,
nowfa