Need to create worksheet based on data in another worksheet

landman08

New Member
Joined
Oct 2, 2008
Messages
1
I need to create an ownership report that reports data from another worksheet. The first thing that needs to happen is that the macro needs to ask which worksheet to read from, then it needs to ask which worksheet to place the data into. Once that is established, the macro would read the worksheet from which the data is recorded from. It would read data on row 9 starting in column G through cell CE9. When the number is greater than 0 it would insert the name found below the number in row 11 into the ownership worksheet. It would also insert the fraction found in row 3 in the same column as the number and name onto the ownership worksheet. So on the ownership it would display the name from row 11, number from row 3, number from row 9, each within a separate cell (but on the same row). The other issue is that it needs to delete the data on the ownership report when the macro is run again because the ownership is continually changing. I hope this makes sense. Sorry it so long and wordy. I am brand new to VBA so please be very specific in the instructions. Thank you for your time!
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,221,310
Messages
6,159,173
Members
451,543
Latest member
cesymcox

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