![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Location: OKC
Posts: 98
|
Can the windows calculator be opened with a macro in excel?
|
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Sydney, Australia
Posts: 2,908
|
It certainly can. You can use the Shell function to open another executable. The help file has an example which opens the calculator :-
Sub test() Dim RetVal RetVal = Shell("C:WINDOWSCALC.EXE", 3) End Sub HTH, Dan |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Location: OKC
Posts: 98
|
thanks..... i figured out that this works too....
application.activatemicrosoftapp index:=0 |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|