VBA code Copy, Paste, then Delete from 3rd

Scoti

New Member
Joined
Nov 8, 2020
Messages
39
Office Version
  1. 2010
Platform
  1. Windows
I am having trouble getting a code to work where on the click of a command button it will copy a list of values, paste them in a range on one sheet and then remove them from another sheet. The pasted data should be in sheet "Completed" and the date I want removed should be from sheet "Received". Attached is the code that successfully copies and pastes but does not delete. Can anyone help me out with this? I get an error message of "Invalid or unqualified reference".
 

Attachments

  • 20201108_183122.jpg
    20201108_183122.jpg
    206.5 KB · Views: 11

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
You are using .Find with no WITH statement before it. That is the unqualified bit it speaks about.
 
Upvote 0
I can't seem to figure out the easiest way to handle this. Basically it is showing that an item moved through a process from pending to finished. The 1st worksheet lists the items, the second worksheet shows the items as received, and the 3rd shows the items as being completed. So I need to remove the completed items from the second worksheet to prevent it from becoming increasingly larger with items that are no longer being processed. Any ideas?
 
Upvote 0

Forum statistics

Threads
1,214,790
Messages
6,121,607
Members
449,037
Latest member
Arbind kumar

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