Hello
I have worked with Word and Outlook, but am new to Excel VBA and am wondering if someone can get me started with this. I have a query tool that loads in Excel, from SAP. The data may look like this:
RC Proj Amount
ABCDEF AA $25.00
ABCDER AA $25.00
ABCDYT AA $25.00
ABDFGE BB $25.00
ABDGTY BB $25.00
ABDCSA CC $25.00
HGFTYR DD $25.00
HGFBHY DD $25.00
I would like to write a macro that cuts RC off to 3 characters (actually any amount, but will handle that once I get this down for just one case) and then summarizes the data..So the result would be:
RC Proj Amount
ABC AA $75.00
ABD BB $50.00
ABD CC $25.00
HGF DD $50.00
I need to be able to do this under the following condidtion: The only thing that is certain is that RC is the first field. By that I mean the numeric fields to be summarized could be anywhere, there could be 3 to 50 columns, and there could be 10 to 60,000 rows.
Could someone get me started?
Thanks
I have worked with Word and Outlook, but am new to Excel VBA and am wondering if someone can get me started with this. I have a query tool that loads in Excel, from SAP. The data may look like this:
RC Proj Amount
ABCDEF AA $25.00
ABCDER AA $25.00
ABCDYT AA $25.00
ABDFGE BB $25.00
ABDGTY BB $25.00
ABDCSA CC $25.00
HGFTYR DD $25.00
HGFBHY DD $25.00
I would like to write a macro that cuts RC off to 3 characters (actually any amount, but will handle that once I get this down for just one case) and then summarizes the data..So the result would be:
RC Proj Amount
ABC AA $75.00
ABD BB $50.00
ABD CC $25.00
HGF DD $50.00
I need to be able to do this under the following condidtion: The only thing that is certain is that RC is the first field. By that I mean the numeric fields to be summarized could be anywhere, there could be 3 to 50 columns, and there could be 10 to 60,000 rows.
Could someone get me started?
Thanks