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: 161
Default Alternative to writing to a closed spreadsheet

I read online that ADO is unable to write to a closed spreadsheet.
I don't know if this is true or not, but if so, I'm considering an
alternative method.

I figure I can use VBA to open, update, and close a spreadsheet,
while turning off screen updating. The update is a quick operation
that only writes a number into one specific cell. This will work okay.

But....suppose the target spreadsheet is open by another user.
Would it be a good idea put my VBA script on a short timer that
constantly checks if the spreadsheet is open by someone else? Then,
once the spreadsheet is closed, my script can do its own update
operation, and then close the spreadsheet for other users.

This is basically a situation where multiple users will be attempting to
write to a single spreadsheet in a first-come, first-served basis. I'd
appreciate any tips on how to make this function smoothly.
Thanx guys & gals!!!



 
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
Indirect to a closed spreadsheet MarkS Excel Programming 5 October 8th 08 02:31 PM
Alternative to SUMif when linking to closed workbooks A Taxed Mind Excel Discussion (Misc queries) 8 February 10th 08 12:36 PM
Excel spreadsheet is closed Anders Excel Programming 5 January 23rd 05 01:34 PM
Writing to a closed workbook agarwaldvk[_21_] Excel Programming 7 September 1st 04 10:26 PM
Writing to a closed workbook Todd Huttenstine Excel Programming 0 April 30th 04 04:44 PM


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