PC Review


Reply
Thread Tools Rate Thread

Create a floating tool bar.

 
 
TUNGANA KURMA RAJU
Guest
Posts: n/a
 
      28th May 2008
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.
 
Reply With Quote
 
 
 
 
Bernie Deitrick
Guest
Posts: n/a
 
      28th May 2008
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" <(E-Mail Removed)> wrote in message
news:8941C64B-514C-4EF3-9829-(E-Mail Removed)...
>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.



 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      28th May 2008
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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
customize as floating tool bar in Outlook 2007 =?Utf-8?B?SG8gU2hhbg==?= Microsoft Outlook Discussion 1 13th Nov 2007 09:44 AM
How to do a floating tool bar in slide Steven Microsoft Powerpoint 3 4th Aug 2006 01:09 PM
UserForm as a tool bar/ floating options for excel sheet Abraham.Olson@gmail.com Microsoft Excel Programming 1 26th Jun 2006 04:51 PM
Floating Tool Bar Program Bill Bradshaw Freeware 10 18th Jan 2006 10:51 AM
ctrl tab on floating tool window dmsy@yahoo.com Microsoft Dot NET Framework Forms 0 11th Feb 2005 02:06 AM


Features
 

Advertising
 

Newsgroups
 


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