LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 86
Default Calling Excel macro remotely?

I have a task I would like to automate. It only takes a few minutes to run,
but it has to run on one particular machine on our network (hardware key),
and babysitting it through the process takes longer than the process itself.
The data generated is then used on a different machine, so there's some
walking back and forth.

What I would like to do is simply call the macro from the main spreadsheet
on my machine. Is there any way to do this? I suppose I could use an autoexec
macro in the spreadsheet, but that seems a little less than perfect (it would
be nice to be able to call one of n different versions of the macro, some
only update a few items from the whole set). I don't see a "run this macro"
command-line switch though.

Also, what is the best way to spool it? I have seen code that will run a
file on the command line, but it seems that it returns before the file has
completed running. Since I'm waiting on the data being generated before I can
continue, I'd need to pause until it completed.
 
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
calling excel macro TommyBoy Excel Programming 0 August 12th 04 10:25 PM
calling macro in excel from VB program Fung Excel Programming 1 July 21st 04 01:54 PM
Calling Excel Macro From Vc++ via DDE hari Excel Programming 0 July 6th 04 12:50 PM
Opening Excel remotely ibeetb Excel Programming 1 April 15th 04 03:04 PM
calling a dll from excel macro Stefan[_4_] Excel Programming 1 December 12th 03 12:16 AM


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

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

About Us

"It's about Microsoft Excel"