Newbies PedroAlex Posted March 28, 2017 Newbies Posted March 28, 2017 (edited) Good afternoon everyone. I need to open a .xlsx file by pressing a button I have tried with a script, where I establish a variable$ filename = e: \ Works \ Josram \ Presup \ AAVSA \ slopes 345 7 Apr 14.xlsx And using the command "Send DDE Execute" The service name = "c: \ Program Files \ Microsoft Office \ Office16 \ Excel.exe" But when you run it, it just does nothing Can someone tell me that I'm doing wrong? I don't need to import o export a file. I only need, when i click a button Excel runs and open the .xlsx file Thanks in advance regards Pedro Edited March 28, 2017 by PedroAlex Solved
Newbies PedroAlex Posted March 28, 2017 Author Newbies Posted March 28, 2017 (edited) Ready I establish a variables: $ program="c: \ Program Files \ Microsoft Office \ Office16 \ Excel.exe" $ filename = Contracts::PreesupExcel And using the command "Send event" $program/$filename Regards Pedro Edited March 28, 2017 by PedroAlex
Recommended Posts
This topic is 3138 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now