VBA Copy Paste Value From Certain Word

luke1438

Board Regular
Joined
Nov 1, 2004
Messages
156
I want to copy paste value to sheet 2 (a different sheet then where this table sits) everything in columns “R” through “U” from the word “Income” in Column “T” down to where there is a 0 (Zero) in Column “T”. Any suggestions would be helpful. My VBA experience is using the macro recorder and I cannot figure out how to use that because this data is always changing.

excel_screenshot.jpg


Thanks
Luke
 
Code is below with some minor tweaks:
I have changed the 'Mark as solution' to post 5. The option Explicit in that post was not a mistake and the poster was not to know that you would put the code in an existing module that already had such a statement. Also, although the code works for you without 'Public', it would also work with Public so again that was not a mistake in post 5. Essentially, post 5 provided the solution requested.
 
Upvote 0

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,215,129
Messages
6,123,217
Members
449,091
Latest member
jeremy_bp001

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