PC Review


Reply
 
 
Slim Slender
Guest
Posts: n/a
 
      14th Aug 2010
I am using Excel 2007 on Windows XP with dual monitors. I have a work
book that is to be shared that has a form that I built. The form is
not modal but I am unable to switch to another workbook in Excel when
the form is displayed. I figured out that I can switch back and forth
between two workbooks when the second one is in a separate instance of
Excel. So I am wondering if I can have Excel and one workbook open
then open a second wb and force it to open a second instance of Excel.
 
Reply With Quote
 
 
 
 
Alan
Guest
Posts: n/a
 
      16th Aug 2010
On 14 Aug, 00:18, Slim Slender <slimslen...@gmail.com> wrote:
> I am using Excel 2007 on Windows XP with dual monitors. I have a work
> book that is to be shared that has a form that I built. The form is
> not modal but I am unable to switch to another workbook in Excel when
> the form is displayed. I figured out that I can switch back and forth
> between two workbooks when the second one is in a separate instance of
> Excel. So I am wondering if I can have Excel and one workbook open
> then open a second wb and force it to open a second instance of Excel.


Could I just ask, why do you need to have your form open whilst you
are trying to switch to the 2nd workbook?
 
Reply With Quote
 
Slim Slender
Guest
Posts: n/a
 
      18th Aug 2010
> Could I just ask, why do you need to have your form open whilst you
> are trying to switch to the 2nd workbook?


Turns out it isn't necessary to open another instance of Excel.
What I do need is a way of preventing a user from using Alt+F8 and Alt
+F11 and seeing or using macros except for one macro.
 
Reply With Quote
 
Alan
Guest
Posts: n/a
 
      27th Aug 2010
On 18 Aug, 01:18, Slim Slender <slimslen...@gmail.com> wrote:
> > Could I just ask, why do you need to have your form open whilst you
> > are trying to switch to the 2nd workbook?

>
> Turns out it isn't necessary to open another instance of Excel.
> What I do need is a way of preventing a user from using Alt+F8 and Alt
> +F11 and seeing or using macros except for one macro.


There are at least three ways of hiding a macro.

1. define the macro(s) as Private
2. place the macro(s) in an addin
3. define the macro to be hidden with a dummy variable e.g.

Sub HiddenMacro(byval dummy as integer)

... code as normal ...

End Sub

Then call this from your master sub

Sub Master

... code as normal ...

Call HiddenMacro(1)
' (the 1 is a dummy variable and has no use other than hidding the
above macro)

.... code as normal ...

End Sub
 
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
Emailing a contact vCard with custom form loses all custom info =?Utf-8?B?S2lt?= Microsoft Outlook Contacts 7 27th Apr 2006 12:21 AM
Outlook 2003: TreeView with custom Tooltips on custom post form Urs Ruefenacht Microsoft Outlook Form Programming 0 26th Jan 2005 01:10 PM
Forward item custom form and pooling custom transport provider Tomislav Petrovic Microsoft Outlook Program Addins 0 19th Aug 2004 09:55 AM
custom message form recieved without custom fields - outlook 2000 motiv8d Microsoft Outlook Form Programming 1 5th Mar 2004 12:35 PM
Mini Problem: A custom mail-form create a custom task-form Christoph Sbach Microsoft Outlook Form Programming 4 5th Nov 2003 04:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:19 PM.