KenMillard
Board Regular
- Joined
- Apr 25, 2007
- Messages
- 151
I want to set up an action (run) in windows explorer (tools-folder options - file types - advanced) so that I can open certain text files with Excel and automatically trigger scripts to parse the data.
The scripts are stored in a file that may or may not be open. Is there a dde command that can be used to tell excel to open the file with the scripts and execute a macro that will accept the filepath of the file launched in windows explorer?
When I use %1 for the dde message i get the filepath in the current cell. It will open excel if it's not open but I'm having trouble getting it to open the script file and send the filepath.
If I could get it to open the script file and input the the filepath in the active cell, I could proably work with that.
The scripts are stored in a file that may or may not be open. Is there a dde command that can be used to tell excel to open the file with the scripts and execute a macro that will accept the filepath of the file launched in windows explorer?
When I use %1 for the dde message i get the filepath in the current cell. It will open excel if it's not open but I'm having trouble getting it to open the script file and send the filepath.
If I could get it to open the script file and input the the filepath in the active cell, I could proably work with that.