Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
SJC SJC is offline
external usenet poster
 
Posts: 22
Default Recording macro for multiple cells

Is it possible to record a macro that would perform various functions for
different initial and destination cells each time the macro is run??

I am having to produce reports for 300 facilities which trends out lab data.
The lab data comes from an Access query, of which I have transferred to an
excel spreadsheet. I then created a master report in another spreadsheet of
the same workbook which contains a table of the data and two charts which
trends out the data. I then copied this report format times 300 to create a
report for each facility. However, I am having to go through and link up the
data and reassign the source data for each facility, which is taking a very
long time. Obviously if I recorded a macro to do this, it would always select
data for the one facility--is it possible to assign the macro to choose
highlighted cells to place them in a different destination each time? Or is
there another way to perform this process that would automatically collect
my data from the query and assign the source data fields, etc.? Any help
would be greatly appreciated. Thanks.



  #2   Report Post  
Posted to microsoft.public.excel.programming
ben ben is offline
external usenet poster
 
Posts: 232
Default Recording macro for multiple cells

It seems like you need to start from scratch

http://www.oaltd.co.uk/Excel/Default.htm

http://j-walk.com/ss/excel/links/index.htm

--
When you lose your mind, you free your life.


"SJC" wrote:

Is it possible to record a macro that would perform various functions for
different initial and destination cells each time the macro is run??

I am having to produce reports for 300 facilities which trends out lab data.
The lab data comes from an Access query, of which I have transferred to an
excel spreadsheet. I then created a master report in another spreadsheet of
the same workbook which contains a table of the data and two charts which
trends out the data. I then copied this report format times 300 to create a
report for each facility. However, I am having to go through and link up the
data and reassign the source data for each facility, which is taking a very
long time. Obviously if I recorded a macro to do this, it would always select
data for the one facility--is it possible to assign the macro to choose
highlighted cells to place them in a different destination each time? Or is
there another way to perform this process that would automatically collect
my data from the query and assign the source data fields, etc.? Any help
would be greatly appreciated. Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.programming
SJC SJC is offline
external usenet poster
 
Posts: 22
Default Recording macro for multiple cells

Thanks--I took a look at the sites you posted.
If I were to start from scratch, what should I do different. I have an
access query to start from and need to produce 300 reports from it. Any
ideas on how to do this quickly?

"ben" wrote:

It seems like you need to start from scratch

http://www.oaltd.co.uk/Excel/Default.htm

http://j-walk.com/ss/excel/links/index.htm

--
When you lose your mind, you free your life.


"SJC" wrote:

Is it possible to record a macro that would perform various functions for
different initial and destination cells each time the macro is run??

I am having to produce reports for 300 facilities which trends out lab data.
The lab data comes from an Access query, of which I have transferred to an
excel spreadsheet. I then created a master report in another spreadsheet of
the same workbook which contains a table of the data and two charts which
trends out the data. I then copied this report format times 300 to create a
report for each facility. However, I am having to go through and link up the
data and reassign the source data for each facility, which is taking a very
long time. Obviously if I recorded a macro to do this, it would always select
data for the one facility--is it possible to assign the macro to choose
highlighted cells to place them in a different destination each time? Or is
there another way to perform this process that would automatically collect
my data from the query and assign the source data fields, etc.? Any help
would be greatly appreciated. Thanks.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recording Macro carrera Excel Discussion (Misc queries) 2 March 14th 08 02:07 PM
My excel macro recorder no longer shows up when recording macro jack Excel Discussion (Misc queries) 1 February 5th 07 09:31 PM
My excel macro recorder no longer shows up when recording macro jack Excel Discussion (Misc queries) 3 February 5th 07 08:22 PM
macro copy/paste data from multiple cells to multiple cells Diana Excel Discussion (Misc queries) 0 July 10th 06 09:24 PM
How do I have a macro format cells while recording? TD Excel Worksheet Functions 1 May 12th 05 04:32 PM


All times are GMT +1. The time now is 04:55 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"