vick Posted May 29, 2018 Posted May 29, 2018 Hi, I have created script and this script reads data from excel file. now i want to create exe file such a way it has excel data in it. i do not want to send excel with exe file. just exe file so user click on exe it creates excel with same data. if i use fileinstall , it is not compiling and giving error like Error adding file: i am using this line of code: FileInstall("C:\Order.xlsx",@ScriptDir&"\Order.xlsx",1) any suggestion?
Subz Posted May 29, 2018 Posted May 29, 2018 Works fine for me, have you made sure the file is not open in Excel at the time of compiling? Otherwise you will get an error.
Trong Posted May 29, 2018 Posted May 29, 2018 13 minutes ago, vick said: FileInstall("C:\Order.xlsx",@ScriptDir&"\Order.xlsx",1) When compiling the script, this file needs to exist: "C:\Order.xlsx" Enjoy my work? Buy me a 🍻 or tip via ❤️ PayPal
Recommended Posts
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