LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default How to if excel is running in a web browser


it cannot be placed in the activation event directly.
you'll need to delay it until activation has completed.

In the workbook_activate event include an application.ontime
to call the "containertest" with a 1 second delay.

--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


stockbuildingsupply wrote :

thanks for your response. can you show me some code to do this.
when i try to run the code with Application.ActiveWorkbook.Container
an error is generated. can this code be placed in the
Workbook_Activate event?

thanks

"keepITcool" wrote:

look at the workbooks' container property

but be carefull you cannot do it in any open event
as the container is only available when the book is
fully loaded.

--
keepITcool
www.XLsupport.com | keepITcool chello nl | amsterdam



stockbuildingsupply wrote :

i have a web application that streams an excel workbook to the
client. i want to prevent the user from saving the workbook
locally. the user should only be able to work with the workbook
through the web browser. is there a way to tell if excel is
being run in a web browser?


 
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
excel can not open on some IE browser Faiz Excel Discussion (Misc queries) 3 July 20th 06 01:29 PM
Open browser from excel nivek Excel Programming 2 January 21st 05 03:54 PM
Excel in web browser Zahi Savion Excel Programming 0 October 20th 04 06:10 PM
Excel and web browser Marcin Kwa¶niewski Excel Programming 6 April 13th 04 11:36 AM
Running macro in a browser window Ted Theodoropoulos Excel Programming 1 August 4th 03 08:24 PM


All times are GMT +1. The time now is 09:10 AM.

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"