[mso] Re: Excel Macro Question

Hi Christine,

Are the office codes "fixed"? Will they ever change? How many offices
are there?

Lisa


> Hi all,
>
> I have reports exported to Excel.  They have hundreds of
> rows of data.
> The first column of each row contains the office code.  I
> need to divide
> the report into separate sheets, one for each office.  I'm trying to
> figure out a way to write a macro to do this, but I'm
> stumped on how to
> start.  I need to have it review the data in column A and
> copy all the
> rows that have the same office code to a new sheet, and do
> this until
> all the data has been divided by office.  I thought about
> copying the
> whole worksheet, and deleting rows, but again, I'm just stumped on
> whether or not I can even do this, and where to start.
>
> Thanks,
>
> Christine McDonald, CPA


*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: