Dear all,
Dear all,
This is my first time working with macros in Excel. Please help!
I’m trying to build a macro that will split a worksheet with approx. 9500 rows into 28 separate worksheets based on relevant sections. My pseudo-code would be something like this:
‘Assuming that each section starts with a word, “Actual”, in column B.
Find the first cell with the name “Actual”. ActiveCell.
For each cell under the ActiveCell, copy and paste whole row into “Sheet b” ‘including blanks
‘Designate b as 1 for (sheet ‘one to start off with, then increment upon each loop)
Loop until next cell containing “Actual”
Increment b by 1 to copy the next section into a new worksheet.
Continue outer loop until b=28
Hmm…I know it would work logical like this, but I’m very unfamiliar with the syntax. Any help would be much appreciated.
Thanks in Advace,
Cccat
Dear all,
This is my first time working with macros in Excel. Please help!
I’m trying to build a macro that will split a worksheet with approx. 9500 rows into 28 separate worksheets based on relevant sections. My pseudo-code would be something like this:
‘Assuming that each section starts with a word, “Actual”, in column B.
Find the first cell with the name “Actual”. ActiveCell.
For each cell under the ActiveCell, copy and paste whole row into “Sheet b” ‘including blanks
‘Designate b as 1 for (sheet ‘one to start off with, then increment upon each loop)
Loop until next cell containing “Actual”
Increment b by 1 to copy the next section into a new worksheet.
Continue outer loop until b=28
Hmm…I know it would work logical like this, but I’m very unfamiliar with the syntax. Any help would be much appreciated.
Thanks in Advace,
Cccat