#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 147
Default Toolbars

Hi All,

I have a program that hides all the toolbars and when it is shut-down it un
hides them so the for other excel workbooks it would be fine, however on some
computers it dosen't retain the toolbars. Is there a way to make this process
work all the time every time?

Thanks in advance,

Jason Zischke
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Toolbars

It depends on the code you are using to determine what toolbars
were visible then hidden, and the code you use to restore the
toolbars. If you are storing this information in a public
(global) variable, it is quite possible that the global variable
is getting reset, as a result of editing code, an unhandled
error, or an 'End' statement.

More details would be helpful.

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Jason Zischke" wrote in
message
...
Hi All,

I have a program that hides all the toolbars and when it is
shut-down it un
hides them so the for other excel workbooks it would be fine,
however on some
computers it dosen't retain the toolbars. Is there a way to
make this process
work all the time every time?

Thanks in advance,

Jason Zischke



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 147
Default Toolbars

Chip,

My code to turn the toolbars on is as follows :

Sub TurnToolbarsOn()
Application.DisplayFormulaBar = True
x = 13
Do Until x = 35
If Workbooks("Esti-log-0002.etilog").Sheets("Saving").Cells(x, 1).Value
= "" Then
Else

Application.CommandBars(Workbooks("Esti-log-0002.etilog").Sheets("Saving").Cells(x, 1).Value).Enabled = True
End If
x = x + 1
Loop
End Sub

then the code just saves and closes.


"Chip Pearson" wrote:

It depends on the code you are using to determine what toolbars
were visible then hidden, and the code you use to restore the
toolbars. If you are storing this information in a public
(global) variable, it is quite possible that the global variable
is getting reset, as a result of editing code, an unhandled
error, or an 'End' statement.

More details would be helpful.

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Jason Zischke" wrote in
message
...
Hi All,

I have a program that hides all the toolbars and when it is
shut-down it un
hides them so the for other excel workbooks it would be fine,
however on some
computers it dosen't retain the toolbars. Is there a way to
make this process
work all the time every time?

Thanks in advance,

Jason Zischke




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
Toolbars rob Excel Discussion (Misc queries) 2 April 10th 06 07:30 PM
toolbars robert Excel Discussion (Misc queries) 3 December 13th 05 04:03 PM
Toolbars Wheels Excel Programming 3 September 14th 05 08:48 AM
Toolbars TK Excel Programming 20 March 5th 05 12:17 AM
Please Help, No Toolbars in my view-toolbars! [email protected] Excel Programming 2 February 19th 05 09:15 PM


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