Hi,
I have created a task manager workbook that I now seem to have a problem with.
This is the first VBA scripted one I have created and everything worked well until I started to get a runtime error 1004: Pastespecial...
I have a feeling the problem lies with some code ahead of the actual pastespecial method.
Just a note: The workbook VBA has a protect workbook function with password but I never had an issue with the pasting funtion in a protected worksheet before.
Sub Button1_Click() ' ' Button1 Macro ' If Worksheets("Task Selector").Range("A1") = "Admin" Then Range("X11:AD11").Select Selection.Copy Sheets("Admin").Select Range("B3").Select NextRow = Range("B65536").End(xlUp).Row + 1 Range("B" & NextRow).Select Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False Sheets("Control Panel").Select End If End Sub
Your help will be greatly appreciated!
![]()
This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.
Thread Closed.
Quoting entire posts clutters the forum and makes threads hard to read !
If you are pleased with a member's answer then use the Star icon to rate it
Click here to see forum rules
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks