Content Top
DAL Computer Help » Software Help » Desktop / Server Applications » Calling an excel macro in dos

Recommended Fix

Click here to fix Windows Errors and Optimize Windows Performance

Need Computer Help?
Register Now for FREE

Calling an excel macro in dos

Reply
Thread Tools
Desktop / Server Applications
  #1 (permalink)  
Old 14-08-2004, 01:09 AM
Newbie
D-A-L Newbie
 
Join Date: Aug 2004
Posts: 8
kathy32181 Is a beginner here at D-A-L
Calling an excel macro in dos

Hi, I'm kind of a newbie at dos, and i was wondering what the code was to run an excel macro from dos. Thanks!

Kate
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 16-08-2004, 06:30 AM
HippyWarlock's Avatar
Elite Member
Contributor
 
Join Date: Aug 2004
Posts: 430
HippyWarlock Is a beginner here at D-A-L
Re: Calling an excel macro in dos

Hmm? My first reaction would be can't do it.... But you can get EXCEL to recognize comma-separated files that DOS could output, but that wouldn't overly help

Maybe you could compile a macro and get DOS to call it??

What Ver of EXCEL and DOS are you using?

I think you're gonna need some VB tech-heads here.

Can I ask why you want to run an EXCEL macro from DOS?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 16-08-2004, 06:43 AM
HippyWarlock's Avatar
Elite Member
Contributor
 
Join Date: Aug 2004
Posts: 430
HippyWarlock Is a beginner here at D-A-L
Re: Calling an excel macro in dos

But I did find this snippet in my searchings:

DO NOT change to another diskette and then issue "R" when the message "Abort, Retry, Ignore?" is being displayed after attempting to modify a write-protected diskette.

Doing so will corrupt the entire FAT.

There's no such thing as useless information :-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 16-08-2004, 06:46 PM
Newbie
D-A-L Newbie
 
Join Date: Aug 2004
Posts: 8
kathy32181 Is a beginner here at D-A-L
Re: Calling an excel macro in dos

Hi Hippy, thanks for responding!

I'm using the windows 2000 version of excel and DOS. I am trying to automate a series of programs, most i can call through excel or excel macros, but a couple programs i have to call with DOS. I was thinking that the easiest (most efficient) way for me to program this would be entirely through DOS, but if it's not possible to call a macro through DOS, I can always just call a workbook with an 'auto_open' macro. otherwise, do you know if I can call the dos command file through an excel macro?
btw: thanks for the second post, i'll definitely keep that in mind

Thanks again,
Kate
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 16-08-2004, 06:54 PM
HippyWarlock's Avatar
Elite Member
Contributor
 
Join Date: Aug 2004
Posts: 430
HippyWarlock Is a beginner here at D-A-L
Re: Calling an excel macro in dos

Yes you could call DOS from 97 excel (not up to speed methinks) and DOS used to have a shell command which I can't find now.

maybe worth looking at the DOSKEY command that I just happened across.

If you can give me an example I could fiddle about with it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 17-08-2004, 11:03 PM
Newbie
D-A-L Newbie
 
Join Date: Aug 2004
Posts: 8
kathy32181 Is a beginner here at D-A-L
Re: Calling an excel macro in dos

Thanks for your help, Hippy! I've decided to just call the workbook and have an Auto-Open macro - it's easiest. Thanks again!

Kate
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
macro details in excel Monalisa Other Software 1 30-01-2009 01:55 AM
Calling all PC users S>O>S. steadyeddie Windows Vista Help 6 05-03-2008 05:10 PM
Calling all computer geniuses, I need some advice here. mr_film General Internet Issues and Questions 4 10-11-2005 02:55 AM
Calling all programmers Cache Desktop / Server Applications 11 05-09-2005 04:52 PM


All times are GMT +1. The time now is 04:34 PM.

Bottom Corner