Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 396
Default Question on Application/Workbook

Hi all, I have created a recon tool with a lot of script in. I have a
problem in that, if my doc with the script is open and the user opens
another excel document it opens in my document, Is there anyway to make
my document exclusive so that when another document is opened it is in a
seperate workbook or window, i hope i have explained myself ok.

Your help will be greatly appreciated.

Les Stout

*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Question on Application/Workbook

I assume you have startup code running in your workbook. You should add
this line to that code:

Application.IgnoreRemoteRequests = True

Be sure to set this to False in your closing code or the user will not like
you.<g

--
Jim
"Les Stout" wrote in message
...
| Hi all, I have created a recon tool with a lot of script in. I have a
| problem in that, if my doc with the script is open and the user opens
| another excel document it opens in my document, Is there anyway to make
| my document exclusive so that when another document is opened it is in a
| seperate workbook or window, i hope i have explained myself ok.
|
| Your help will be greatly appreciated.
|
| Les Stout
|
| *** Sent via Developersdex http://www.developersdex.com ***


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 396
Default Question on Application/Workbook

Thanks Jim, could one make a button on the tool bar to activate it too ?

Les Stout

*** Sent via Developersdex http://www.developersdex.com ***
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Question on Application/Workbook

You certainly could. There is no control built into Excel for this exact
purpose so you'd have to use a custom button and assign your macro to it via
the button's OnAction property

--
Jim
"Les Stout" wrote in message
...
| Thanks Jim, could one make a button on the tool bar to activate it too ?
|
| Les Stout
|
| *** Sent via Developersdex http://www.developersdex.com ***


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 396
Default Question on Application/Workbook

Thanks for your help Jim. have a good evening

Les Stout

*** Sent via Developersdex http://www.developersdex.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
Application.UserName Question HROBERTSON Excel Discussion (Misc queries) 5 January 8th 07 05:01 PM
Application.ScreenUpdating function question Fleone Excel Worksheet Functions 2 May 12th 05 01:36 AM
Question on application.screenupdating augustus Excel Programming 2 December 18th 04 01:35 AM
Application.Inputbox Question ndp Excel Programming 3 December 8th 03 06:12 PM
Application.Run question Bura Tino Excel Programming 0 July 10th 03 05:07 PM


All times are GMT +1. The time now is 11:30 AM.

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"