PC Review


Reply
Thread Tools Rate Thread

Control how an Excel file is opened

 
 
=?Utf-8?B?WFA=?=
Guest
Posts: n/a
 
      25th Jul 2007
Using Office 2003 and Windows XP;

Suppose I have a form designed in Excel that the user can save locally (e.g.
on their own hard drive or personal network location).

Is there any way at all to keep users from opening their saved form directly
rather than by using a custom VBScript file that opens the file for them?

For example, would it be possible to code an Auto Open in the Excel form
files that just closes the file again unless it was opened in a certain
manner or by a certain program. Could I code the VBScript loading file to
alter something in the Excel file to control this behaviour?

Reason being that there are certain things you can do with a VBScript file
that cannot be done inside Excel itself.

Thanks much for any suggetions/comments/input on this concept. Your help is
greatly appreciated.
 
Reply With Quote
 
 
 
 
NickHK
Guest
Posts: n/a
 
      26th Jul 2007
If you explained these "certain things", maybe someone can do it in Excel.

NickHK

"XP" <(E-Mail Removed)> wrote in message
news12A445E-90FF-47D6-93FB-(E-Mail Removed)...
> Using Office 2003 and Windows XP;
>
> Suppose I have a form designed in Excel that the user can save locally

(e.g.
> on their own hard drive or personal network location).
>
> Is there any way at all to keep users from opening their saved form

directly
> rather than by using a custom VBScript file that opens the file for them?
>
> For example, would it be possible to code an Auto Open in the Excel form
> files that just closes the file again unless it was opened in a certain
> manner or by a certain program. Could I code the VBScript loading file to
> alter something in the Excel file to control this behaviour?
>
> Reason being that there are certain things you can do with a VBScript file
> that cannot be done inside Excel itself.
>
> Thanks much for any suggetions/comments/input on this concept. Your help

is
> greatly appreciated.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
code to check file size everytime an Excel file is opened Kaiser Microsoft Excel Programming 2 30th Jul 2006 05:46 PM
control toolbox appears when one speciifc file opened =?Utf-8?B?TWljaGFlbDMx?= Microsoft Word Document Management 2 4th Dec 2005 03:17 PM
stop excel file opened as read only if already opened by another u =?Utf-8?B?Ym9ibQ==?= Microsoft Excel Programming 3 5th Aug 2005 04:11 PM
VB .net: How to control an Excel doc after it is opened by WebBrow =?Utf-8?B?amVsbGlteQ==?= Microsoft Dot NET 0 7th Jul 2004 05:11 AM
Transparent Child window of opened Excel file in Excel 2002 Martin Microsoft Excel Discussion 0 15th Jul 2003 10:40 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:18 PM.