VBA- Cut and Paste based on cell value

GeorgeYYC

New Member
Joined
Sep 21, 2018
Messages
3
Friends,

Need a bit of help. I'm a newbie to VBA..

If the value in column A is = Vendor ID, I would like to move the data in the row (A:H) over to column I , but up one row.

Also this will need to loop throughout the workbook.

Thank you,
George
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
In which row in column A does your data start? By "loop throughout the workbook" do you mean loop through the entire single sheet or loop through all the sheets? I assume you are looking for the string "Vendor ID" in column A. Is this correct?
 
Upvote 0
In which row in column A does your data start? By "loop throughout the workbook" do you mean loop through the entire single sheet or loop through all the sheets? I assume you are looking for the string "Vendor ID" in column A. Is this correct?

Hello,


- My data will start in A(
- It can loop through just the sheet
- Yes I am looking for the string Vendor ID:

Thank you! :)
 
Upvote 0
What does A( mean? If your data starts in row 2, does row 1 have headers?
 
Last edited:
Upvote 0
Does cell A7 have any data in it? Do you want to move or copy A:H?
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,876
Members
452,363
Latest member
merico17

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