Hi fellows,
I'm using Access2002.
In my first macro I use RunApp to open the WinZip32.exe to extract 2 text files (zmcr003s.txt and zmcr003m.txt) from the zipped file. The command is "C:\Program Files\WinZip\WINZIP32.exe"
In my 2nd macro I use TransferText to import the text file "zmcr003s" to Access Table called "AMSEA".
In my 3nd macro I use TransferText to import the text file "zmcr003m" to Access Table called "AMEA".
In my 4th macro I program the 1st, 2nd and 3rd macros to run in that sequence.
(1) Now, how should I code it such that the 2nd macro can only start to run when the active WinZip application is closed ?
(2) I wonder is there a code or other possible ways to program WinZip to open, automatically extract the text file "zmcr003s.txt" from "D:\inventory\zmcr003s12Oct2004.zip" to "G:\Scorecard\Inventory\zmcr003s.txt" ?
Thanks in advance.