LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 175
Default How do I create a Formula bar toggle button

I would like to create a button on my custom "standard" toolbar that would
toggle the formula bar on and off. I can't seem to get to that specific
feature by using "add or remove buttons"; Perhaps is there a way to
sendkeys"Alt T,O,F" ?

I would prefer to not have to make a macro for this so security
settings/enabling macros would not be required...

If I have to make the button call this macro...

Sub toggleFormulabar()
If Application.DisplayFormulaBar = False Then
Application.DisplayFormulaBar = True
Else
Application.DisplayFormulaBar = False
End If
End Sub

1) Where do I put this so that any spread sheet I open will have this
feature (just like they have my custom toolbars pre-loaded).
2) Can I make it so that any machine that opens one of my spreadsheets from
a network drive will have this feature? Will they have to lower their
security setting? (barring digital signatures and trusting me as a source)

--
Regards,
John
 
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
VBA Code to Create a Toggle Button Brandt Excel Programming 2 November 19th 06 01:31 AM
Toggle Button Dave_2k5[_7_] Excel Programming 4 September 1st 05 10:55 AM
Adding .xla button for Toggle Calculation Button Mike Excel Programming 5 August 19th 05 01:55 PM
How to create a toggle button on the menu? OKLover Excel Programming 4 July 10th 05 03:51 PM
Toggle Button Ben E[_2_] Excel Programming 1 October 29th 03 04:42 PM


All times are GMT +1. The time now is 12:18 PM.

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"