Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default DisplayFormulaBar = True

I put a command in the Workbook_Open event to make
DisplayFormulaBar = false, no problems.
But, in the Workbook_BeforeClose event, DisplayFormulaBar
= True, does not work. I have no errors, but the
DisplayFormulaBar continue False.
Why does not work ?

Regargs,
GL...
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default DisplayFormulaBar = True

Excel needs to be sure what you mean to apply it to; this property applies
to the Application object, so this code works:

Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.DisplayFormulaBar = True
End Sub

When you remove the object qualifier, it doesn't work.
--
HTH -

-Frank
Microsoft Excel MVP
Dolphin Technology Corp.
http://vbapro.com



"Silverio" wrote in message
...
I put a command in the Workbook_Open event to make
DisplayFormulaBar = false, no problems.
But, in the Workbook_BeforeClose event, DisplayFormulaBar
= True, does not work. I have no errors, but the
DisplayFormulaBar continue False.
Why does not work ?

Regargs,
GL...



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
if any of 3 conditions is true, then answer is true inthestands Excel Worksheet Functions 5 November 16th 06 12:02 AM
Search for 2 true arguments and return true or false David Excel Discussion (Misc queries) 3 July 15th 06 10:18 AM
Function to return True/False if all are validated as True by ISNU Tetsuya Oguma Excel Worksheet Functions 2 March 15th 06 10:28 AM
How do I stop Excel from changing the word true to TRUE? Schmyerlou Excel Discussion (Misc queries) 1 November 23rd 05 08:54 PM
Reverse false and combine with true true value Emmie99 Excel Worksheet Functions 5 August 17th 05 04:38 PM


All times are GMT +1. The time now is 10:05 AM.

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"