PC Review


Reply
Thread Tools Rate Thread

Can you "very hide" a workbook?

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

You can "very hide" a sheet.

You can "hide" a workbook.

But, can you "very hide" an Excel workbook using VBA? Or, can you "very
hide" an instance of the application? If so, what would the VBA look like?

Thanks much in advance.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGZsdWdz?=
Guest
Posts: n/a
 
      26th Jul 2007
Yes. Very Hidden hides the worksheet and prohibits the user from unhiding it
through the Format -> Sheets -> Unhide menu.

Here's the code:

Sub veryHidden()
Worksheets("mySheet").Visible = xlVeryHidden
End Sub

HTH,
Pflugs

"XP" wrote:

> Using Office 2003 and Windows XP;
>
> You can "very hide" a sheet.
>
> You can "hide" a workbook.
>
> But, can you "very hide" an Excel workbook using VBA? Or, can you "very
> hide" an instance of the application? If so, what would the VBA look like?
>
> Thanks much in advance.

 
Reply With Quote
 
Peter T
Guest
Posts: n/a
 
      26th Jul 2007
There's nothing directly equivalent however, temporarily or even permanently
changing the workbook's IsAddin status achieves same. Ie no visible sheets
and not shown under Window > Unhide. The workbook's project remains visible
in the VBE, as does an xlSheetVveryHidden sheet.

Dim wb As Workbook
Set wb = Workbooks("VeryHiddenBook.xls")
wb.IsAddin = True

Concerning your second question, with automation you can choose whether to
make the Excel instance Visible.

Regards,
Peter T


"XP" <(E-Mail Removed)> wrote in message
news:05B23575-7E50-456E-9C1E-(E-Mail Removed)...
> Using Office 2003 and Windows XP;
>
> You can "very hide" a sheet.
>
> You can "hide" a workbook.
>
> But, can you "very hide" an Excel workbook using VBA? Or, can you "very
> hide" an instance of the application? If so, what would the VBA look like?
>
> Thanks much in advance.



 
Reply With Quote
 
=?Utf-8?B?WFA=?=
Guest
Posts: n/a
 
      26th Jul 2007

I'm asking about the WORKBOOK or the APPLICATION; not a sheet...

"Pflugs" wrote:

> Yes. Very Hidden hides the worksheet and prohibits the user from unhiding it
> through the Format -> Sheets -> Unhide menu.
>
> Here's the code:
>
> Sub veryHidden()
> Worksheets("mySheet").Visible = xlVeryHidden
> End Sub
>
> HTH,
> Pflugs
>
> "XP" wrote:
>
> > Using Office 2003 and Windows XP;
> >
> > You can "very hide" a sheet.
> >
> > You can "hide" a workbook.
> >
> > But, can you "very hide" an Excel workbook using VBA? Or, can you "very
> > hide" an instance of the application? If so, what would the VBA look like?
> >
> > Thanks much in advance.

 
Reply With Quote
 
=?Utf-8?B?UGZsdWdz?=
Guest
Posts: n/a
 
      26th Jul 2007
My mistake.

"XP" wrote:

>
> I'm asking about the WORKBOOK or the APPLICATION; not a sheet...
>
> "Pflugs" wrote:
>
> > Yes. Very Hidden hides the worksheet and prohibits the user from unhiding it
> > through the Format -> Sheets -> Unhide menu.
> >
> > Here's the code:
> >
> > Sub veryHidden()
> > Worksheets("mySheet").Visible = xlVeryHidden
> > End Sub
> >
> > HTH,
> > Pflugs
> >
> > "XP" wrote:
> >
> > > Using Office 2003 and Windows XP;
> > >
> > > You can "very hide" a sheet.
> > >
> > > You can "hide" a workbook.
> > >
> > > But, can you "very hide" an Excel workbook using VBA? Or, can you "very
> > > hide" an instance of the application? If so, what would the VBA look like?
> > >
> > > Thanks much in advance.

 
Reply With Quote
 
=?Utf-8?B?WFA=?=
Guest
Posts: n/a
 
      26th Jul 2007

No problem, thanks for the effort...

"Pflugs" wrote:

> My mistake.
>
> "XP" wrote:
>
> >
> > I'm asking about the WORKBOOK or the APPLICATION; not a sheet...
> >
> > "Pflugs" wrote:
> >
> > > Yes. Very Hidden hides the worksheet and prohibits the user from unhiding it
> > > through the Format -> Sheets -> Unhide menu.
> > >
> > > Here's the code:
> > >
> > > Sub veryHidden()
> > > Worksheets("mySheet").Visible = xlVeryHidden
> > > End Sub
> > >
> > > HTH,
> > > Pflugs
> > >
> > > "XP" wrote:
> > >
> > > > Using Office 2003 and Windows XP;
> > > >
> > > > You can "very hide" a sheet.
> > > >
> > > > You can "hide" a workbook.
> > > >
> > > > But, can you "very hide" an Excel workbook using VBA? Or, can you "very
> > > > hide" an instance of the application? If so, what would the VBA look like?
> > > >
> > > > Thanks much in advance.

 
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
Personal.xlsb counts as a workbook, can I "super" hide it? Brad E. Microsoft Excel Programming 6 9th Mar 2010 12:37 PM
How to hide workbook "title bar" =?Utf-8?B?R2xhdWNv?= Microsoft Excel Misc 0 15th Mar 2007 12:12 AM
Group Policy "Hide specified Control Panel applets" not working for "Network Connections" Arie Slob Windows XP Security 5 24th Aug 2005 12:35 PM
Hide "Record" "Closed Caption" "Parental Control" indicators while in full screen Jordan ATI Video Cards 0 18th Feb 2005 05:21 PM
How do I "hide" members of a "group" in my "outlook address book". =?Utf-8?B?ZGVlcHNlYTI5?= Microsoft Outlook Contacts 1 31st Jan 2005 12:40 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:38 AM.