Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Capturing Excel Opening

I'm planning to put Excel on a few users' machines, but I want to set it up
in such a way that Excel won't open if they haven't met some external
conditions.

So they do the usual choice of things to fire up Excel.exe, but if the
conditions aren't met, eg. outside office hours, then they get a message
saying "XYZ Condition not met, etc. Try again later".

I can see how to do this simply using a workbook containing VBa in XLStart,
or perhaps using startup switch on Excel to open such workbook, but my wiley
users would soon find this and delete it.

Is there any way of doing something more robust, such as modifying a dll
that would trigger my test (eg. a little exe file "conditionsmet.exe"), that
if the condition wasn't met Excel would not open?

Any ideas greatly appreciated,
TIA,

Dranz


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Capturing Excel Opening

perhaps rename excel.exe to something else,

then set up a BAT file or other executable named excel.exe that would do
what you want (including start excel if appropriate).

--
Regards,
Tom Ogilvy

"Dransfield" wrote in message
...
I'm planning to put Excel on a few users' machines, but I want to set it

up
in such a way that Excel won't open if they haven't met some external
conditions.

So they do the usual choice of things to fire up Excel.exe, but if the
conditions aren't met, eg. outside office hours, then they get a message
saying "XYZ Condition not met, etc. Try again later".

I can see how to do this simply using a workbook containing VBa in

XLStart,
or perhaps using startup switch on Excel to open such workbook, but my

wiley
users would soon find this and delete it.

Is there any way of doing something more robust, such as modifying a dll
that would trigger my test (eg. a little exe file "conditionsmet.exe"),

that
if the condition wasn't met Excel would not open?

Any ideas greatly appreciated,
TIA,

Dranz




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Capturing Excel Opening

That's a good idea - do you know how I can stop the renamed Excel.exe having
the Excel icon, and make the new BAT file have the Excel icon?

"Tom Ogilvy" wrote in message
...
perhaps rename excel.exe to something else,

then set up a BAT file or other executable named excel.exe that would do
what you want (including start excel if appropriate).

--
Regards,
Tom Ogilvy

"Dransfield" wrote in message
...
I'm planning to put Excel on a few users' machines, but I want to set it

up
in such a way that Excel won't open if they haven't met some external
conditions.

So they do the usual choice of things to fire up Excel.exe, but if the
conditions aren't met, eg. outside office hours, then they get a message
saying "XYZ Condition not met, etc. Try again later".

I can see how to do this simply using a workbook containing VBa in

XLStart,
or perhaps using startup switch on Excel to open such workbook, but my

wiley
users would soon find this and delete it.

Is there any way of doing something more robust, such as modifying a dll
that would trigger my test (eg. a little exe file "conditionsmet.exe"),

that
if the condition wasn't met Excel would not open?

Any ideas greatly appreciated,
TIA,

Dranz






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Capturing Excel Opening

I don't. Maybe someone else does.

--
Regards,
Tom Ogilvy

"Dransfield" wrote in message
...
That's a good idea - do you know how I can stop the renamed Excel.exe

having
the Excel icon, and make the new BAT file have the Excel icon?

"Tom Ogilvy" wrote in message
...
perhaps rename excel.exe to something else,

then set up a BAT file or other executable named excel.exe that would do
what you want (including start excel if appropriate).

--
Regards,
Tom Ogilvy

"Dransfield" wrote in message
...
I'm planning to put Excel on a few users' machines, but I want to set

it
up
in such a way that Excel won't open if they haven't met some external
conditions.

So they do the usual choice of things to fire up Excel.exe, but if the
conditions aren't met, eg. outside office hours, then they get a

message
saying "XYZ Condition not met, etc. Try again later".

I can see how to do this simply using a workbook containing VBa in

XLStart,
or perhaps using startup switch on Excel to open such workbook, but my

wiley
users would soon find this and delete it.

Is there any way of doing something more robust, such as modifying a

dll
that would trigger my test (eg. a little exe file

"conditionsmet.exe"),
that
if the condition wasn't met Excel would not open?

Any ideas greatly appreciated,
TIA,

Dranz








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
Capturing excel insert/delete events. Gaurav Nanda[_2_] Excel Worksheet Functions 1 July 10th 09 11:09 PM
Capturing Insert/Delete Events in Excel Sheet using c# Gaurav Nanda[_2_] Excel Worksheet Functions 0 July 10th 09 06:14 AM
Capturing excel screenshots vsoler Excel Discussion (Misc queries) 8 June 17th 07 06:06 AM
REF errors when opening excel in xp. works fine when opening wor. br Excel Discussion (Misc queries) 6 September 13th 05 11:41 AM
Capturing text in active cell to clipborad (Excel 95) sth Excel Programming 8 May 5th 04 04:57 AM


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