Hi guys
I have a macro that manipulates data from an imported txt file. The macro runs great but I'd like to go one step further and semi-automate the importing of the data.
Ideally the macro should
1. Create a new workbook
2. Run the data>import external data>import data routine
3. Navigate to the F:\test directory
4. Allow the user to click on the correct file in the 'Select Data Source' box
5. Select the 'delimited', 'comma delimiter' and put data into cell A1 options
I can do some of the code but don't know what to do at step 4 - any help much appreciated
Cheers
Jim
I have a macro that manipulates data from an imported txt file. The macro runs great but I'd like to go one step further and semi-automate the importing of the data.
Ideally the macro should
1. Create a new workbook
2. Run the data>import external data>import data routine
3. Navigate to the F:\test directory
4. Allow the user to click on the correct file in the 'Select Data Source' box
5. Select the 'delimited', 'comma delimiter' and put data into cell A1 options
I can do some of the code but don't know what to do at step 4 - any help much appreciated
Cheers
Jim