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

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
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,214,979
Messages
6,122,552
Members
449,088
Latest member
davidcom

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