Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VBA: how to force another instance of VB to run

I'm currently using a vb as front end and excel as backend for a
timekeeping program. For the sake of time-efficiency, i do not save
data into the excel file per login/time in (button click) and close the
instance, since i've learned in the first implementation that this
takes a few seconds depending on the specs of the localhost.

The problem comes in when excel is opened by a user to view a
non-related excel document, and the timekeeper excel sheet is VISIBLE
because excel did not run another instance for the other document. This
leaves the timekeeper document open to tampering. Is there a way i can
force Excel to open another instance if a non-related excel document is
clicked?



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default how to force another instance of VB to run

Try using

Application.IgnoreRemoteRequests = True

--
Regards,
Tom Ogilvy

hBear wrote in message
...
I'm currently using a vb as front end and excel as backend for a
timekeeping program. For the sake of time-efficiency, i do not save
data into the excel file per login/time in (button click) and close the
instance, since i've learned in the first implementation that this
takes a few seconds depending on the specs of the localhost.

The problem comes in when excel is opened by a user to view a
non-related excel document, and the timekeeper excel sheet is VISIBLE
because excel did not run another instance for the other document. This
leaves the timekeeper document open to tampering. Is there a way i can
force Excel to open another instance if a non-related excel document is
clicked?



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/



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
Force excel to start new instance when I double-click a workbook [email protected][_2_] Excel Discussion (Misc queries) 0 April 30th 09 01:35 PM
How does one name, for instance, A1 as 'last name?' Rev. Benny New Users to Excel 2 October 14th 08 01:58 PM
count instance Brad Excel Worksheet Functions 3 August 29th 08 04:02 PM
First Instance Howard Excel Discussion (Misc queries) 8 March 17th 07 03:05 PM
How do I get rid of a 2nd instance (xls:2)? greenwellies Excel Discussion (Misc queries) 4 April 24th 06 04:44 AM


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