#1   Report Post  
Posted to microsoft.public.excel.programming
TWG TWG is offline
external usenet poster
 
Posts: 5
Default Excel 2007

Can anyone help me to hide the title-bar in a workbook by means of code in
Excel 2007?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel 2007


TWG;439436 Wrote:
Can anyone help me to hide the title-bar in a workbook by means of code
in
Excel 2007?

What is it you mean by "Title Bar"? do you mean the bar that displays
"Book1 - Microsoft Excel"?


--
Simon Lloyd

Regards,
Simon Lloyd
'Microsoft Office Help' (http://www.thecodecage.com)
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.thecodecage.com/forumz/member.php?userid=1
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=121919

  #3   Report Post  
Posted to microsoft.public.excel.programming
TWG TWG is offline
external usenet poster
 
Posts: 5
Default Excel 2007

Yes

Simon Lloyd skrev:


TWG;439436 Wrote:
Can anyone help me to hide the title-bar in a workbook by means of code
in
Excel 2007?

What is it you mean by "Title Bar"? do you mean the bar that displays
"Book1 - Microsoft Excel"?


--
Simon Lloyd

Regards,
Simon Lloyd
'Microsoft Office Help' (http://www.thecodecage.com)
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.thecodecage.com/forumz/member.php?userid=1
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=121919


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel 2007


The only way to do this is to use full screen:


Code:
--------------------
Private Sub Workbook_Activate()
Application.DisplayFullScreen = False
End Sub

Private Sub Workbook_Deactivate()
Application.DisplayFullScreen = True
End Sub

--------------------

*How to Save a Workbook Event Macro*
1. *Copy* the macro using *CTRL+C* keys.
2. Open your Workbook and *Right Click* on any *Worksheet's Name Tab*
3. *Left Click* on *View Code* in the pop up menu.
4. Press *ALT+F11* keys to open the *Visual Basic Editor.*
5. Press *CTRL+R* keys to shift the focus to the *Project Explorer
Window*
6. Press the *Down Arrow Key* until *ThisWorkbook* is highlighted in
blue.
7. *Press* the *Enter* key to move the cursor to the *Code Window*
8. *Paste* the macro code using *CTRL+V*
9. *Save* the macro in your Workbook using *CTRL+S*

TWG;440242 Wrote:
Yes

Simon Lloyd skrev:


TWG;439436 Wrote:
Can anyone help me to hide the title-bar in a workbook by means of

code
in
Excel 2007?

What is it you mean by "Title Bar"? do you mean the bar that displays
"Book1 - Microsoft Excel"?


--
Simon Lloyd

Regards,
Simon Lloyd
'Microsoft Office Help' ('http://www.thecodecage.com'

(http://www.thecodecage.com/))

------------------------------------------------------------------------
Simon Lloyd's Profile: 'The Code Cage Forums - View Profile: Simon

Lloyd' (http://www.thecodecage.com/forumz/member.php?userid=1)
View this thread: 'Excel 2007 - The Code Cage Forums'

(http://www.thecodecage.com/forumz/sh...d.php?t=121919)




--
Simon Lloyd

Regards,
Simon Lloyd
'Microsoft Office Help' (http://www.thecodecage.com)
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.thecodecage.com/forumz/member.php?userid=1
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=121919

  #5   Report Post  
Posted to microsoft.public.excel.programming
TWG TWG is offline
external usenet poster
 
Posts: 5
Default Excel 2007

As you can see, I already have this command in the workbooks AUTO_OPEN - thus:

Sub auto_open()
With ActiveWindow
.DisplayGridlines = False
.DisplayHeadings = False
.DisplayZeros = False
.DisplayHorizontalScrollBar = False
.DisplayVerticalScrollBar = False
.DisplayWorkbookTabs = False
End With
Application.DisplayFullScreen = True
End Sub

BUT - it does not make the title-bar invisuable


Simon Lloyd skrev:


The only way to do this is to use full screen:


Code:
--------------------
Private Sub Workbook_Activate()
Application.DisplayFullScreen = False
End Sub

Private Sub Workbook_Deactivate()
Application.DisplayFullScreen = True
End Sub

--------------------

*How to Save a Workbook Event Macro*
1. *Copy* the macro using *CTRL+C* keys.
2. Open your Workbook and *Right Click* on any *Worksheet's Name Tab*
3. *Left Click* on *View Code* in the pop up menu.
4. Press *ALT+F11* keys to open the *Visual Basic Editor.*
5. Press *CTRL+R* keys to shift the focus to the *Project Explorer
Window*
6. Press the *Down Arrow Key* until *ThisWorkbook* is highlighted in
blue.
7. *Press* the *Enter* key to move the cursor to the *Code Window*
8. *Paste* the macro code using *CTRL+V*
9. *Save* the macro in your Workbook using *CTRL+S*

TWG;440242 Wrote:
Yes

Simon Lloyd skrev:


TWG;439436 Wrote:
Can anyone help me to hide the title-bar in a workbook by means of

code
in
Excel 2007?
What is it you mean by "Title Bar"? do you mean the bar that displays
"Book1 - Microsoft Excel"?


--
Simon Lloyd

Regards,
Simon Lloyd
'Microsoft Office Help' ('http://www.thecodecage.com'

(http://www.thecodecage.com/))

------------------------------------------------------------------------
Simon Lloyd's Profile: 'The Code Cage Forums - View Profile: Simon

Lloyd' (http://www.thecodecage.com/forumz/member.php?userid=1)
View this thread: 'Excel 2007 - The Code Cage Forums'

(http://www.thecodecage.com/forumz/sh...d.php?t=121919)




--
Simon Lloyd

Regards,
Simon Lloyd
'Microsoft Office Help' (http://www.thecodecage.com)
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.thecodecage.com/forumz/member.php?userid=1
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=121919




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel 2007


Hmmm, you no longer need to use Auto_open since xl97 you can use Wthe
Workbook_Open event in the thisworkbook module, anyway did you at least
try it the way i supplied it?TWG;441276 Wrote:
As you can see, I already have this command in the workbooks AUTO_OPEN -
thus:

Sub auto_open()
With ActiveWindow
.DisplayGridlines = False
.DisplayHeadings = False
.DisplayZeros = False
.DisplayHorizontalScrollBar = False
.DisplayVerticalScrollBar = False
.DisplayWorkbookTabs = False
End With
Application.DisplayFullScreen = True
End Sub

BUT - it does not make the title-bar invisuable


Simon Lloyd skrev:


The only way to do this is to use full screen:


Code:
--------------------
Private Sub Workbook_Activate()
Application.DisplayFullScreen = False
End Sub

Private Sub Workbook_Deactivate()
Application.DisplayFullScreen = True
End Sub

--------------------

*How to Save a Workbook Event Macro*
1. *Copy* the macro using *CTRL+C* keys.
2. Open your Workbook and *Right Click* on any *Worksheet's Name Tab*
3. *Left Click* on *View Code* in the pop up menu.
4. Press *ALT+F11* keys to open the *Visual Basic Editor.*
5. Press *CTRL+R* keys to shift the focus to the *Project Explorer
Window*
6. Press the *Down Arrow Key* until *ThisWorkbook* is highlighted in
blue.
7. *Press* the *Enter* key to move the cursor to the *Code Window*
8. *Paste* the macro code using *CTRL+V*
9. *Save* the macro in your Workbook using *CTRL+S*

TWG;440242 Wrote:
Yes

Simon Lloyd skrev:


TWG;439436 Wrote:
Can anyone help me to hide the title-bar in a workbook by means

of
code
in
Excel 2007?
What is it you mean by "Title Bar"? do you mean the bar that

displays
"Book1 - Microsoft Excel"?


--
Simon Lloyd

Regards,
Simon Lloyd
'Microsoft Office Help' ('http://www.thecodecage.com'
('The Code Cage - Microsoft Office Help - Microsoft Office

Discussion' (http://www.thecodecage.com/)))


------------------------------------------------------------------------
Simon Lloyd's Profile: 'The Code Cage Forums - View Profile:

Simon
Lloyd' ('The Code Cage Forums - View Profile: Simon Lloyd'

(http://www.thecodecage.com/forumz/member.php?userid=1))
View this thread: 'Excel 2007 - The Code Cage Forums'
('Excel 2007 - The Code Cage Forums'

(http://www.thecodecage.com/forumz/sh....php?t=121919))




--
Simon Lloyd

Regards,
Simon Lloyd
'Microsoft Office Help' ('The Code Cage - Microsoft Office Help -

Microsoft Office Discussion' (http://www.thecodecage.com))

------------------------------------------------------------------------
Simon Lloyd's Profile: 'The Code Cage Forums - View Profile: Simon

Lloyd' (http://www.thecodecage.com/forumz/member.php?userid=1)
View this thread: 'Excel 2007 - The Code Cage Forums'

(http://www.thecodecage.com/forumz/sh...d.php?t=121919)




--
Simon Lloyd

Regards,
Simon Lloyd
'Microsoft Office Help' (http://www.thecodecage.com)
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.thecodecage.com/forumz/member.php?userid=1
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=121919

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Excel 2007

You are missing a few things.

Private Sub Auto_Open()
With ActiveWindow
.DisplayHeadings = False
.DisplayHorizontalScrollBar = False
.DisplayVerticalScrollBar = False
.DisplayWorkbookTabs = False
End With
With Application
.DisplayStatusBar = False
.CommandBars("Worksheet Menu Bar").Enabled = False
.DisplayFullScreen = True
.DisplayFormulaBar = False
End With
End Sub

Don't forget to code to change reset when the workbook is closed.

Or you can use Thisworkbook Activate and Deactivate events as Simon points
out.


Gord Dibben MS Excel MVP

On Tue, 4 Aug 2009 11:18:03 -0700, TWG
wrote:

As you can see, I already have this command in the workbooks AUTO_OPEN - thus:

Sub auto_open()
With ActiveWindow
.DisplayGridlines = False
.DisplayHeadings = False
.DisplayZeros = False
.DisplayHorizontalScrollBar = False
.DisplayVerticalScrollBar = False
.DisplayWorkbookTabs = False
End With
Application.DisplayFullScreen = True
End Sub

BUT - it does not make the title-bar invisuable


Simon Lloyd skrev:


The only way to do this is to use full screen:


Code:
--------------------
Private Sub Workbook_Activate()
Application.DisplayFullScreen = False
End Sub

Private Sub Workbook_Deactivate()
Application.DisplayFullScreen = True
End Sub

--------------------

*How to Save a Workbook Event Macro*
1. *Copy* the macro using *CTRL+C* keys.
2. Open your Workbook and *Right Click* on any *Worksheet's Name Tab*
3. *Left Click* on *View Code* in the pop up menu.
4. Press *ALT+F11* keys to open the *Visual Basic Editor.*
5. Press *CTRL+R* keys to shift the focus to the *Project Explorer
Window*
6. Press the *Down Arrow Key* until *ThisWorkbook* is highlighted in
blue.
7. *Press* the *Enter* key to move the cursor to the *Code Window*
8. *Paste* the macro code using *CTRL+V*
9. *Save* the macro in your Workbook using *CTRL+S*

TWG;440242 Wrote:
Yes

Simon Lloyd skrev:


TWG;439436 Wrote:
Can anyone help me to hide the title-bar in a workbook by means of
code
in
Excel 2007?
What is it you mean by "Title Bar"? do you mean the bar that displays
"Book1 - Microsoft Excel"?


--
Simon Lloyd

Regards,
Simon Lloyd
'Microsoft Office Help' ('http://www.thecodecage.com'
(http://www.thecodecage.com/))

------------------------------------------------------------------------
Simon Lloyd's Profile: 'The Code Cage Forums - View Profile: Simon
Lloyd' (http://www.thecodecage.com/forumz/member.php?userid=1)
View this thread: 'Excel 2007 - The Code Cage Forums'
(http://www.thecodecage.com/forumz/sh...d.php?t=121919)




--
Simon Lloyd

Regards,
Simon Lloyd
'Microsoft Office Help' (http://www.thecodecage.com)
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.thecodecage.com/forumz/member.php?userid=1
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=121919



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
Excel 2007 files not showing on screen when opened in Excel 2007 [email protected] Setting up and Configuration of Excel 1 January 8th 09 05:45 PM
Conflict in excel 2007 with Outlook 2007 attachment excel narnimar Excel Discussion (Misc queries) 0 December 17th 08 02:02 PM
Labels: Unable to import all records Excel 2007 to Word 2007 Mailm skelly Excel Discussion (Misc queries) 1 October 29th 08 11:22 PM
Excel 2007, I write macros in 2003 is 2007 similar for VBA? Pros andcons please Simon[_2_] Excel Programming 3 August 5th 08 03:48 PM
Excel 2007 Macro Help (Excel 2003 not working in 2007) Pman Excel Discussion (Misc queries) 4 May 29th 08 06:29 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"