If/Then Copy/Paste but If cell has date/Paste to a different cell

smhutch

New Member
Joined
Aug 13, 2009
Messages
18
I need help with a Copy/Paste but if cell has data then paste here code.

On my "Main" sheet I have data entry for account numbers and names and also product selections. When Data is entered onto the Main sheet I currently have it copied and pasted to a special (nice looking printer) Sheet named Print. When products are selected for accounts, the output data is also already copied/pasted to my Print sheet, and the selection of products also unhides hidden pages specific to the products.

On the pages I want to create a Command Button that does the following:
1. Searches Print A77 for product AR selected for Account 1, if AR is in A77, then Print C11 is copied and pasted to Sheet AR D11.
This next part is what I need help with:
2. Searches Print B77 for product AR selected for Account 2, if AR is in B77, then Print C12 is copied and pasted to Sheet AR D11 but if AR D11 already has data, then it needs to copy to AR H12.

I need to be able to always have the first "Paste" cell as the first option, but if it has data then specify a next cell, and either paste there or if it already has data then paste to another different cell.

Any suggestions/advice/help would be GREATLY appreciated.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,216,057
Messages
6,128,521
Members
449,456
Latest member
SammMcCandless

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