Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Kurt S
 
Posts: n/a
Default batch file to open multiple worksheets

I would like to run a batch file to open multiple Excel worksheets but if I
put the path to both sheets, it only opens the first one. What am I doing
wrong?

I'm using Excel 2003 SP-1
  #2   Report Post  
Posted to microsoft.public.excel.misc
Kurt S
 
Posts: n/a
Default batch file to open multiple worksheets

I should also add that once I close Excel, then the second worksheet opens.

"Kurt S" wrote:

I would like to run a batch file to open multiple Excel worksheets but if I
put the path to both sheets, it only opens the first one. What am I doing
wrong?

I'm using Excel 2003 SP-1

  #3   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default batch file to open multiple worksheets

Use start rather than just running them:


c:
cd\
start poly.xls
start qwerty.xls
exit


If you just run them, the bat file hangs until you finish the first
application and then runs the second application. "starting" something
allows no waiting
--
Gary's Student


"Kurt S" wrote:

I should also add that once I close Excel, then the second worksheet opens.

"Kurt S" wrote:

I would like to run a batch file to open multiple Excel worksheets but if I
put the path to both sheets, it only opens the first one. What am I doing
wrong?

I'm using Excel 2003 SP-1

  #4   Report Post  
Posted to microsoft.public.excel.misc
Kurt S
 
Posts: n/a
Default batch file to open multiple worksheets

That did the trick. Thank you Gary.

"Gary''s Student" wrote:

Use start rather than just running them:


c:
cd\
start poly.xls
start qwerty.xls
exit


If you just run them, the bat file hangs until you finish the first
application and then runs the second application. "starting" something
allows no waiting
--
Gary's Student


"Kurt S" wrote:

I should also add that once I close Excel, then the second worksheet opens.

"Kurt S" wrote:

I would like to run a batch file to open multiple Excel worksheets but if I
put the path to both sheets, it only opens the first one. What am I doing
wrong?

I'm using Excel 2003 SP-1

  #5   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default batch file to open multiple worksheets

You are very welcome.

b.t.w. if you do a lot of bat files, you should checkout Windows Scripting
Host. It's just as much fun as DOS 6.22
--
Gary's Student


"Kurt S" wrote:

That did the trick. Thank you Gary.

"Gary''s Student" wrote:

Use start rather than just running them:


c:
cd\
start poly.xls
start qwerty.xls
exit


If you just run them, the bat file hangs until you finish the first
application and then runs the second application. "starting" something
allows no waiting
--
Gary's Student


"Kurt S" wrote:

I should also add that once I close Excel, then the second worksheet opens.

"Kurt S" wrote:

I would like to run a batch file to open multiple Excel worksheets but if I
put the path to both sheets, it only opens the first one. What am I doing
wrong?

I'm using Excel 2003 SP-1

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
Saved *.csv file gives SYLK file type warning upon Excel 2003 open Tom Excel Discussion (Misc queries) 5 March 19th 08 03:15 PM
Trying to open file, may have renamed it sirsoto Excel Discussion (Misc queries) 4 August 12th 05 12:54 PM
Excel startup switches Randy Excel Discussion (Misc queries) 9 June 14th 05 10:27 PM
hidden rows & columns slow file open Simon Shaw Excel Discussion (Misc queries) 0 April 5th 05 12:21 AM
Sumif Linking to Another Workbook error #VALUE! Tunde Excel Discussion (Misc queries) 16 March 4th 05 03:02 AM


All times are GMT +1. The time now is 11:40 PM.

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"