VBA: Copy left characters of a cell into a new sheet , Do until

Dubbelman

New Member
Joined
Jan 24, 2017
Messages
1
Hello,

I need some help to complete a macro. I have been googling around to see if I could figure it out myself but with no success.

In Sheet1 I have data that contains a list of accounts and the amounts on these accounts. In Sheet1 in Column C, Cell C11 is the first line, "101300 Issued Share Capital". I want to copy only the account number into Sheet2 cell A2. I want this to be done until a cell with the text "* Accounts" appears in the same column. Next I want to copy only the characters after the account number, eg the name of the account to Sheet2 Cell B2. After that I want to copy the amounts starting from column E, C11 until a cell with the text "* Accounts" appears in column C. Sheet1 should be left intact with no changes.

Many thanks for your contributions!
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

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