Selective Cut and Paste VBA and Variable Length Sum

brad7989

New Member
Joined
Aug 1, 2011
Messages
45
Thanks for coming to this thread - I appreciate it.

I have been working on a macro to automatically prepare a report from some data that is almost in the correct format. I have two issues that are holding me back from finishing the macro (and saving a lot of time).

1) I would like my macro to cut and paste entire rows (different amounts of these rows depending on the data file) from the body to below a created summary chart at the bottom. I need to have it search for a specific key word in a particular column that may have something in front of it. My macro will then need to select the entire row. If you know how to do this for data with variable amounts of these rows, I'd appreciate it.

2) I need the created summary row to sum entire columns from row 6 to just above the summary row. I have struggled to get this to work for variable length data-sets I import. If you know how to do this, I'd appreciate your help.

Thanks!
 

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.
Also, if someone knows how to pull data into excel when it comes from a pop-up of a website. I've tried pulling data from the internet from the ribbon button, but the excel browser doesn't open the popup - it goes to internet explorer.

Thanks!
 
Upvote 0
Can we see a sample of your data? How do you know which rows to cut? and how do you know where to paste them?
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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