PC Review


Reply
Thread Tools Rate Thread

Automating Excel Macros

 
 
Alok
Guest
Posts: n/a
 
      26th Sep 2007
Dear Excel Gurus,

I need help.

I have written an Excel Application that processes data (extracts
information from other excel workbooks) and writes to a csv fie). This
processing can be done interactively using a button but the users want
to automate the process - and this process has to run just once a
week.

One choice is to use Application.OnTime. However, this will mean that
the computer that runs the process will have to run Excel continuously
for a job which hardly takes 5 minutes. Is there another approach?

Thanks.

Alok

 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWlrZQ==?=
Guest
Posts: n/a
 
      26th Sep 2007
Try Control Panel > Scheduled Tasks

"Alok" wrote:

> Dear Excel Gurus,
>
> I need help.
>
> I have written an Excel Application that processes data (extracts
> information from other excel workbooks) and writes to a csv fie). This
> processing can be done interactively using a button but the users want
> to automate the process - and this process has to run just once a
> week.
>
> One choice is to use Application.OnTime. However, this will mean that
> the computer that runs the process will have to run Excel continuously
> for a job which hardly takes 5 minutes. Is there another approach?
>
> Thanks.
>
> Alok
>
>

 
Reply With Quote
 
Alok
Guest
Posts: n/a
 
      26th Sep 2007
Hi Mike,
One can start a program e.g. and probably even invoke a specific
workbook using a parameter (though I have never tried it) but can one
get it to execute one of the many macros.?
Alok

On Sep 25, 7:46 pm, Mike <M...@discussions.microsoft.com> wrote:
> Try Control Panel > Scheduled Tasks
>
>
>
> "Alok" wrote:
> > Dear Excel Gurus,

>
> > I need help.

>
> > I have written an Excel Application that processes data (extracts
> > information from other excel workbooks) and writes to a csv fie). This
> > processing can be done interactively using a button but the users want
> > to automate the process - and this process has to run just once a
> > week.

>
> > One choice is to use Application.OnTime. However, this will mean that
> > the computer that runs the process will have to run Excel continuously
> > for a job which hardly takes 5 minutes. Is there another approach?

>
> > Thanks.

>
> > Alok- Hide quoted text -

>
> - Show quoted text -



 
Reply With Quote
 
Tim Williams
Guest
Posts: n/a
 
      26th Sep 2007
Make your macro an Auto_Open and it will run when the workbook opens.

Tim

"Alok" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Mike,
> One can start a program e.g. and probably even invoke a specific
> workbook using a parameter (though I have never tried it) but can one
> get it to execute one of the many macros.?
> Alok
>
> On Sep 25, 7:46 pm, Mike <M...@discussions.microsoft.com> wrote:
>> Try Control Panel > Scheduled Tasks
>>
>>
>>
>> "Alok" wrote:
>> > Dear Excel Gurus,

>>
>> > I need help.

>>
>> > I have written an Excel Application that processes data (extracts
>> > information from other excel workbooks) and writes to a csv fie). This
>> > processing can be done interactively using a button but the users want
>> > to automate the process - and this process has to run just once a
>> > week.

>>
>> > One choice is to use Application.OnTime. However, this will mean that
>> > the computer that runs the process will have to run Excel continuously
>> > for a job which hardly takes 5 minutes. Is there another approach?

>>
>> > Thanks.

>>
>> > Alok- Hide quoted text -

>>
>> - Show quoted text -

>
>



 
Reply With Quote
 
Alok
Guest
Posts: n/a
 
      27th Sep 2007
Many thanks Tim.
Your suggestion will definately work.
Alok

 
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
Automating Excel (Macros) =?Utf-8?B?T3V0bG9vayBDb252ZXJ0?= Microsoft Excel New Users 5 11th Jun 2007 10:13 PM
Automating with Macros =?Utf-8?B?QnVua3k=?= Microsoft Access 1 17th May 2007 10:52 PM
automating a set of macros =?Utf-8?B?Um9iYjI3?= Microsoft Access Macros 2 16th Dec 2006 03:04 AM
Automating Macros for CSV files =?Utf-8?B?Z3JpZmZpbl81MzM4?= Microsoft Excel Programming 1 21st Sep 2006 04:49 PM
Automating swnding mails using macros on Excel. Brinda Microsoft Excel Worksheet Functions 1 13th Mar 2006 03:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:36 PM.