UMAKEMESIK
Active Member
- Joined
- Oct 3, 2005
- Messages
- 378
I have a command I would like to run on a work sheet.
With a macro button I would like to call on sheet 2 for the command but my syntax is incorrect.
Any help would be appreciated.
here is my code.
mY worksheet open line is getting the error.
thanks
With a macro button I would like to call on sheet 2 for the command but my syntax is incorrect.
Any help would be appreciated.
here is my code.
Code:
Application.ScreenUpdating = False
Worksheet.Open Sheets(Sheet2)
Range("A1").Select
Selection.Copy
ActiveWorkbook.Close
Range("AB3").Select
ActiveSheet.Unprotect "dod"
ActiveSheet.PasteSpecial Format:="Unicode Text", Link:=False, _
DisplayAsIcon:=False
ActiveSheet.Protect DrawingObjects:=False, Contents:=True, Scenarios:= _
True
Application.ScreenUpdating = True
mY worksheet open line is getting the error.
thanks