I have written a little Excel VBA report tool for my iPhone App sales.
To make it easier to use I would like to use the Autoingestion tool from Apple.
The Autoingestion tool from Apple gets activated like this (it’s a Java class) from the command line
java Autoingestion john@xyz.com letmein 80012345 Sales Daily Summary 20100204
How can I run this from within an VBA macro which would have to basically do this
cd - iPhone <- this I dont know how to do correctly, since it always takes the "-" as a command, the directory name is "- iPhone"
java Autoingestion john@xyz.com letmein 80012345 Sales Daily Summary 20100204
There are basically two questions:
1. how to change into a directory called “- iPhone”?
2. how to launch a Java class command from inside Excel VBA
ps. I am using a MAC to do all this.
ps. I also tried cd “- iPhone” in the terminal, but this does not work either
Many thanks!
To answer your question:
cd -- "- iPhone", the double-dash tellscdthat it’s options end there, and directory names follow.shell(command [, windowStyle])call from the VBA API.Shell("cd -\ iPhone && java AutoIngest ...")is probably around what you’d be looking for. If it doesn’t work this way, try wrapping that in ash -c "commands..."for theShellcall.