Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Create a macro to launch notepad while in Excel.
I'd like to create a macro to launch notepad while in Excel. The macro
should then return to the opened spreadsheet in Excel. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Create a macro to launch notepad while in Excel.
Hi
Shell "NOTEPAD.EXE" AppActivate "Microsoft Excel" (tested on Win Xp Pro + Excel 2003) HTH Cordially Pascal "cheryljohnson" a écrit dans le message de ... I'd like to create a macro to launch notepad while in Excel. The macro should then return to the opened spreadsheet in Excel. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Create a macro to launch notepad while in Excel.
Sub OpenNotepad()
Dim RetVal As Variant RetVal = Shell("C:\Windows\Notepad.exe", 4) MsgBox "Notepad is open." End Sub -- HTH Jason Atlanta, GA -----Original Message----- I'd like to create a macro to launch notepad while in Excel. The macro should then return to the opened spreadsheet in Excel. . |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Create a macro to launch notepad while in Excel.
Just to add to this, if you have a specific file in mind, you can add it to
the command line e.g. shell "notepad c:\myfile.txt" Gareth "papou" wrote in message ... Hi Shell "NOTEPAD.EXE" AppActivate "Microsoft Excel" (tested on Win Xp Pro + Excel 2003) HTH Cordially Pascal "cheryljohnson" a écrit dans le message de ... I'd like to create a macro to launch notepad while in Excel. The macro should then return to the opened spreadsheet in Excel. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro launch - Button vs Manual launch , has different results. | Excel Programming | |||
Launch Excel vba macro from Access? | Excel Programming | |||
launch any file type from excel macro | Excel Programming | |||
Can you use an IF statement to launch a macro? | Excel Programming | |||
Launch Macro in Access via Macro running in Excel??? | Excel Programming |