[mso] Re: Excel Macro Question
- From: "McDonald, Christine, Ms, DCAA" <Christine.McDonald@xxxxxxxx>
- To: <mso@xxxxxxxxxxxxx>
- Date: Wed, 27 Apr 2005 18:33:10 -0500
The office codes won't change, but not all office codes will be in every
report and the number of lines per office will vary. There are 14
offices in total, but again, not all offices will necessarily be in each
report. One idea I got was to filter the data for each office and copy
the filtered data to a new tab.
Thanks,
Christine McDonald, CPA
Technical Specialist
Regional Webmaster
Western Regional Office
Information Technology Division (RSA-4)
-----Original Message-----
From: Green [mailto:1z@xxxxxxxxxxxxxx]=20
Sent: Wednesday, April 27, 2005 12:37 PM
To: mso@xxxxxxxxxxxxx
Subject: [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=20
> divide the report into separate sheets, one for each office. I'm=20
> 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
*************************************************************
- Follow-Ups:
- [mso] Re: Excel Macro Question
- From: Green
Other related posts:
- » [mso] Excel Macro Question
- » [mso] Re: Excel Macro Question
- » [mso] Re: Excel Macro Question
- » [mso] Re: Excel Macro Question
- » [mso] Re: Excel Macro Question
- » [mso] Re: Excel Macro Question
- » [mso] Re: Excel Macro Question
- [mso] Re: Excel Macro Question
- From: Green