Using a comand button to open an external software?
Solved/Closed
alfa_eng
Posts
5
Registration date
Thursday September 17, 2015
Status
Member
Last seen
September 30, 2015
-
Sep 17, 2015 at 05:30 AM
alfa_eng Posts 5 Registration date Thursday September 17, 2015 Status Member Last seen September 30, 2015 - Sep 22, 2015 at 04:41 AM
alfa_eng Posts 5 Registration date Thursday September 17, 2015 Status Member Last seen September 30, 2015 - Sep 22, 2015 at 04:41 AM
Related:
- Using a comand button to open an external software?
- Save as pdf software - Download - Other
- Kodak easyshare software - Download - Image viewing and management
- At button - Guide
- Blackberry desktop software - Download - File management
- Access software download - Download - Databases
1 response
Ambucias
Posts
47310
Registration date
Monday February 1, 2010
Status
Moderator
Last seen
February 15, 2023
11,164
Sep 17, 2015 at 05:53 AM
Sep 17, 2015 at 05:53 AM
Hello
Perhaps that this "How-to" will help you:
https://ccm.net/apps-sites/software/3649-adding-a-vba-command-button/
Perhaps that this "How-to" will help you:
https://ccm.net/apps-sites/software/3649-adding-a-vba-command-button/
Sep 17, 2015 at 08:08 AM
Thank you for your help.
Sep 17, 2015 at 04:25 PM
Sep 18, 2015 at 09:11 PM
In this example it will open Notepad.
You will need to supply the full path of the program you want to open in the Path string. e..g "c:\myprogram\exec\Profis Anchor from Hilti.exe" or whatever the software is you are trying to open.
Sep 21, 2015 at 05:32 AM
I tried the code above and I've 2 doubts:
1) when you say I need to suply the full path are you saying that I need to put:
path="c:\myprogram\exec\Profis Anchor from Hilti.exe" e.g
2)and when I run the macro it stops when I say that x="shell(path, vbNomralFocus)
What can I am doing wrong?
Thanks for your help.
Sep 21, 2015 at 10:42 AM
C:\Program Files\Microsoft Office\Office14\WINDORD.EXE
Setting the path with the above value will point to Word (on my PC, yours may be different)
I don't know where the software you are trying to open is installed or what the executable is called so I cannot give you the exact value.
2. This is most likely happening (a guess since you don't give an error) that the path setting is incorrect.