Hello,
My Macro is a very simple paste tool, including the unlocking of a sheet, content clearing, pasting data saved to the clipboard and then re-locking it. This works very well on my PC but it won't work on anyone elses when I send it to them to test. My code is:
Sub Paste3()
Application.ScreenUpdating = False
Sheets("Paste").Select
ActiveSheet.Unprotect Password:="XXXX"
Range("B3:G100000").ClearContents
Range("B3").PasteSpecial
ActiveSheet.Protect Password:="XXXX"
Application.ScreenUpdating = True
Sheets("Results").Select
End Sub
On other PCs, it usually gets to the paste part which is where it doesn't like it.
Thanks in advance.
My Macro is a very simple paste tool, including the unlocking of a sheet, content clearing, pasting data saved to the clipboard and then re-locking it. This works very well on my PC but it won't work on anyone elses when I send it to them to test. My code is:
Sub Paste3()
Application.ScreenUpdating = False
Sheets("Paste").Select
ActiveSheet.Unprotect Password:="XXXX"
Range("B3:G100000").ClearContents
Range("B3").PasteSpecial
ActiveSheet.Protect Password:="XXXX"
Application.ScreenUpdating = True
Sheets("Results").Select
End Sub
On other PCs, it usually gets to the paste part which is where it doesn't like it.
Thanks in advance.