Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 171
Default Create a floating tool bar.

I am very much new to write vba.
1.I am having a macro,results of which should refelect in a toolbar list( or
in a fully opened combo box toolbar).How to create a floating
toolbar(commandBar),and display it whenever my w/book opens and closes
everytime imy w/book closes.
2.Alternately,if the said macro results can be dispalyed in a
msg.box,whenever w/book opens?
If both are possible ,kindly give me Vba code and other set up details to do
the above 2 tasks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Create a floating tool bar.

TUNGANA KURMA RAJU,

In the codemodule of the Thisworkbook object, use code like

Private Sub Workbook_Open()
Dim strResult
'Calculate result
strResult = Format(Worksheets(1).Range("A1").Value, "000.000")
MsgBox "The result is " & strResult
End Sub

HTH,
Bernie
MS Excel MVP


"TUNGANA KURMA RAJU" wrote in message
...
I am very much new to write vba.
1.I am having a macro,results of which should refelect in a toolbar list( or
in a fully opened combo box toolbar).How to create a floating
toolbar(commandBar),and display it whenever my w/book opens and closes
everytime imy w/book closes.
2.Alternately,if the said macro results can be dispalyed in a
msg.box,whenever w/book opens?
If both are possible ,kindly give me Vba code and other set up details to do
the above 2 tasks.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Create a floating tool bar.

For additions to the worksheet menu bar, I really like the way John Walkenbach
does it in his menumaker workbook:
http://j-walk.com/ss/excel/tips/tip53.htm

Here's how I do it when I want a toolbar:
http://www.contextures.com/xlToolbar02.html
(from Debra Dalgleish's site)

And if you use xl2007:

If you want to learn about modifying the ribbon, you can start at Ron de Bruin's
site:
http://www.rondebruin.nl/ribbon.htm
http://www.rondebruin.nl/qat.htm -- For macros for all workbooks (saved as an
addin)
or
http://www.rondebruin.nl/2007addin.htm

In xl2007, those toolbars and menu modifications will show up under the addins.

TUNGANA KURMA RAJU wrote:

I am very much new to write vba.
1.I am having a macro,results of which should refelect in a toolbar list( or
in a fully opened combo box toolbar).How to create a floating
toolbar(commandBar),and display it whenever my w/book opens and closes
everytime imy w/book closes.
2.Alternately,if the said macro results can be dispalyed in a
msg.box,whenever w/book opens?
If both are possible ,kindly give me Vba code and other set up details to do
the above 2 tasks.


--

Dave Peterson
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
How do I create a floating column? Selda Excel Worksheet Functions 3 October 31st 11 01:53 PM
Create a floating calender Joel Excel Programming 1 March 19th 08 09:35 PM
how do you create a floating row? Jeff Excel Worksheet Functions 1 March 16th 07 02:50 AM
UserForm as a tool bar/ floating options for excel sheet [email protected] Excel Programming 1 June 26th 06 04:51 PM
How can I create a Floating Command Button Karoo News Excel Programming 1 August 19th 05 11:19 AM


All times are GMT +1. The time now is 11:57 PM.

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"