PC Review


Reply
Thread Tools Rate Thread

Batch Processing macro for excel

 
 
=?Utf-8?B?QnJpYW4=?=
Guest
Posts: n/a
 
      26th Oct 2006
I am developing a report in excel and it pulls from multiple excel sheets. I
have developed a macro to run it, but I'd like to develop a macro to run them
all at once (actually re-running my macro) and saving them in between. Any
thoughts.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?QnJpYW4=?=
Guest
Posts: n/a
 
      26th Oct 2006
In addition, can I get the files to save based on a account name in a column
in the excel sheet. ie I have a column called account and I'd like that to
be the name of the excel sheet.

"Brian" wrote:

> I am developing a report in excel and it pulls from multiple excel sheets. I
> have developed a macro to run it, but I'd like to develop a macro to run them
> all at once (actually re-running my macro) and saving them in between. Any
> thoughts.

 
Reply With Quote
 
=?Utf-8?B?SkxHV2hpeg==?=
Guest
Posts: n/a
 
      26th Oct 2006
It seems to me that if you already have a macro to do one sheet, then you
have a macro to do all the sheets. Simply put the sheets in an array and use
the array to call the sheets in turn. All you have to do then is make sure
there is a save routine in the loop.

"Brian" wrote:

> I am developing a report in excel and it pulls from multiple excel sheets. I
> have developed a macro to run it, but I'd like to develop a macro to run them
> all at once (actually re-running my macro) and saving them in between. Any
> thoughts.

 
Reply With Quote
 
=?Utf-8?B?QnJpYW4=?=
Guest
Posts: n/a
 
      26th Oct 2006
How do I go about it if there multiple excel files?

"JLGWhiz" wrote:

> It seems to me that if you already have a macro to do one sheet, then you
> have a macro to do all the sheets. Simply put the sheets in an array and use
> the array to call the sheets in turn. All you have to do then is make sure
> there is a save routine in the loop.
>
> "Brian" wrote:
>
> > I am developing a report in excel and it pulls from multiple excel sheets. I
> > have developed a macro to run it, but I'd like to develop a macro to run them
> > all at once (actually re-running my macro) and saving them in between. Any
> > thoughts.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Batch Processing Macro ryguy7272 Microsoft Excel Programming 9 7th May 2008 03:20 PM
macro for processing one excel file and saving it to other shwetaparekh Microsoft Excel Programming 1 30th Sep 2005 11:41 PM
excel batch processing anwarbham Microsoft Excel Programming 0 18th Feb 2005 04:09 PM
how to batch processing excel worksheet modifications? neptune Microsoft Excel Discussion 3 13th Jan 2005 08:21 PM
Macro to Run Table after batch processing Allison Microsoft Access Macros 1 27th Apr 2004 11:00 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:23 PM.