G
Guest
I have a workbook that provides a sales summary. On a regular basis I need
to import the new data and format it correctly (I have this programmed in
already). Once the data is ready I need a macro that will automatically take
each account and copy it's new sales data to another sheet depending on
geographic area. There may be 5-15 sheets that need to be looked at to find
the correct place to paste the data.
The full sales data sheet looks like (sheet name is "Raw Sales Data"):
Data start in row 3
Column A has account number (there will be approximately 100 accounts)
Columns E-H each have a numerical value. These are the values that need to
be copied to the other sheets with the matching account number.
Geographical area sheets have their respective accounts starting in cell
BA101. Formating and layout is the same on both sheets for this data. There
will be a variable number of geographica sheets with inconsistent names.
Each account will only be associated with one geographical sheet.
I would like to automate this so that when the macro is run, each account's
sales data is copied (Columns E-H) from "Raw Sales Data", the account is then
found on a different sheet and the sales data is pasted over the previous
month's figures (Columns BE-BH).
I hope this is clear. Does anyone have any ideas on how I can set up a
macro to search several sheets for a specific account number and paste the
correct information.
Thanks in advace,
BradK
to import the new data and format it correctly (I have this programmed in
already). Once the data is ready I need a macro that will automatically take
each account and copy it's new sales data to another sheet depending on
geographic area. There may be 5-15 sheets that need to be looked at to find
the correct place to paste the data.
The full sales data sheet looks like (sheet name is "Raw Sales Data"):
Data start in row 3
Column A has account number (there will be approximately 100 accounts)
Columns E-H each have a numerical value. These are the values that need to
be copied to the other sheets with the matching account number.
Geographical area sheets have their respective accounts starting in cell
BA101. Formating and layout is the same on both sheets for this data. There
will be a variable number of geographica sheets with inconsistent names.
Each account will only be associated with one geographical sheet.
I would like to automate this so that when the macro is run, each account's
sales data is copied (Columns E-H) from "Raw Sales Data", the account is then
found on a different sheet and the sales data is pasted over the previous
month's figures (Columns BE-BH).
I hope this is clear. Does anyone have any ideas on how I can set up a
macro to search several sheets for a specific account number and paste the
correct information.
Thanks in advace,
BradK