VBA code

sorin1985

New Member
Joined
Feb 26, 2021
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Hi guys

In the bellow excel , if I fill the row in Items received and then put a date in column P it will trigger and cut and move the entire row to sheet ITEMS Collected . I am using this code bellow the picture and everything works fine . What i would like is to have column K in Items Received as a trigger as well and cut and move everything to Remote Storage Unit . The trigger can be a number or text or what ever .

Is it possible to add another code to the same sheet1 in VBA ?

Hope it make sense .
Thank you

items.PNG



1614358220409.png
 
hi MART

Sorry i was blind . It is all good now . just a quick one ; at the moment it is trigger by date . Can you use a word or a number or anything else then date to trigger ?

You are a genius . Thank you
 
Upvote 0

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
sorry ,what is #8 ? i have tried to search in here but nothing relevant appears .
 
Upvote 0

Forum statistics

Threads
1,215,461
Messages
6,124,954
Members
449,198
Latest member
MhammadishaqKhan

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