Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default IF wokkbook1 is open, open workbook2 Loop

This is a little odd, but I would like to run a loop until a workbook i
free to write to it ...

I would like multiple users to write to a book - it doesn't matte
which one ... but I don't want them to get any 'wait' 'free to writ
to' share messages if it's active ...

If I have my book (active) , book1 (closed) and book2 (closed) ..
I would like to run a loop until either book1 or book2 are closed the
open the book, write to it, close the book ...

Currently I have -

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default IF wokkbook1 is open, open workbook2 Loop


http://support.microsoft.com?kbid=138621
XL: Macro Code to Check Whether a File Is Already Open

http://support.microsoft.com?kbid=291295
XL2002: Macro Code to Check Whether a File Is Already Open

http://support.microsoft.com?kbid=213383
XL2000: Macro Code to Check Whether a File Is Already Open

http://support.microsoft.com?kbid=184982
WD97: VBA Function to Check If File or Document Is Open

--
Regards,
Tom Ogilvy



"Fio " wrote in message
...
This is a little odd, but I would like to run a loop until a workbook is
free to write to it ...

I would like multiple users to write to a book - it doesn't matter
which one ... but I don't want them to get any 'wait' 'free to write
to' share messages if it's active ...

If I have my book (active) , book1 (closed) and book2 (closed) ..
I would like to run a loop until either book1 or book2 are closed then
open the book, write to it, close the book ...

Currently I have -



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
Opening Excel, Book1 opens, remains open with other workbook open DanieB Excel Discussion (Misc queries) 0 September 3rd 09 08:23 AM
VBA loop slow if another workbook open George[_8_] Excel Discussion (Misc queries) 3 September 29th 08 01:30 PM
file won't open, endless loop, autorecover lindalou Excel Discussion (Misc queries) 1 January 20th 08 01:26 AM
open files in loop with date order [email protected] Excel Discussion (Misc queries) 5 September 24th 07 01:10 AM
Can I have a loop to open a set of workbooks get some data, close it one a time. wellie Excel Programming 2 July 9th 03 04:58 AM


All times are GMT +1. The time now is 03:26 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"