Reply
 
Thread Tools Display Modes
  #1   Report Post  
Traduc
 
Posts: n/a
Default How can I put a calculator icon on my toolbar?

Rather than going through start, etc. - is there any way that the calculator
icon can be put on a toolbar?
  #2   Report Post  
tjtjjtjt
 
Posts: n/a
Default

You'll need to write a macro that runs the calc.exe file. Then, you can
create a Toolbar Button for the macro.

I came up with this for the macro:

Sub WinCalculator()
Dim RetVal As Long
RetVal = Shell("C:\WINDOWS\System32\calc.exe", vbNormalFocus)
End Sub

You may have to alter the filepath to match where calc.exe is located on
your machine. You can right-click on the calculator icon, click properties to
find this info.

Then, in Word create a macro stored in Normal.dot . You can do this with
Tools | Macro. Then, type a new macro name (no spaces in macro names), and
click create. Paste this in the middle of the macro:

Dim RetVal As Long
RetVal = Shell("C:\WINDOWS\System32\calc.exe", vbNormalFocus)


Finally, Tools | Customize | Commands.
Find the macro category and drag a button for your macro to the Toolbar of
your choice. You use Modify command on the same dialog box to alter the
buttons image as necessary.

tj


"Traduc" wrote:

Rather than going through start, etc. - is there any way that the calculator
icon can be put on a toolbar?

  #3   Report Post  
tjtjjtjt
 
Posts: n/a
Default

I have to admit that I'm curious as to why you just don't add a Shortcut to
the Calculator to the Quick Launch Bar on the Windows Task Bar. Or, put the
shortcut closer to the beginning of the Start menu.

tj

"Traduc" wrote:

Rather than going through start, etc. - is there any way that the calculator
icon can be put on a toolbar?

  #4   Report Post  
Allan Skyner
 
Posts: n/a
Default

1. Right-Click your toolbar and click Customize.
2. The customize toolbar dialog appears. Click the Commands tab.
3. Drag *any command* to your toolbar and position it where you want it.
4. With the dialog still open, right-click your new button and click
Properties
5. You get a properties dialog that lets you customize everything about the
button
6. Specifically, in the On Action, put this: = Shell("Calc.exe")



"Traduc" wrote:

Rather than going through start, etc. - is there any way that the calculator
icon can be put on a toolbar?

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Toolbar - Default Unit of Measure tsteepy Microsoft Word Help 2 June 8th 22 11:28 AM
custom toolbar turns off Lesa Microsoft Word Help 1 December 16th 04 04:16 AM
Tools disappeared from my Toolbar. How do I get it back? Serenity2u Microsoft Word Help 1 December 7th 04 02:17 AM
Toolbar problem CarolineJ Microsoft Word Help 1 November 28th 04 01:17 AM
Can you put more than one Macros on your toolbar in Word? Gibbie Microsoft Word Help 1 November 24th 04 10:41 PM


All times are GMT +1. The time now is 03:32 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"