macro error 1004 paste method of worksheet failed

mrxwanttobe

New Member
Joined
Apr 27, 2018
Messages
23
Office Version
  1. 2007
Platform
  1. Windows
Hello all. I have a worksheet that I need to make changes to daily so I wanted to record a macro. I open the worksheet, delete about 5 columns, then insert 3 columns B,C,and D. I put formulas in these columns and after completed I copy and paste special and pick values. So far all is good. I save the workbook under another name and all is fine. The problem is if I open the origonal file and run my macro it is fine up until it creates my B,C and D and then I get the above error. all three columns are blank. I don't understand as I save the three columns as values. Whys does it work fine the first time I run the macro but never again.
Thanks in advance
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
I suggest you post your current code so that that we have a chance of diagnosing the problem.
 
Upvote 0

Forum statistics

Threads
1,214,792
Messages
6,121,612
Members
449,038
Latest member
apwr

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top