What kind of external file are you trying to execute?<br>
<br>
this is an example of how to open a say Word, and then a certain file in Word. <br>
<br>
Dim WordPath, DocPath As String<br>
Dim Retval As Variant<br>
WordPath = "C:\Program Files\Microsoft Office\Office\WinWord.exe"<br>
DocPath = "c:\My Documents\file1.doc"<br>
Retval = Shell(WordPath & " " & DocPath, vbMinimizedFocus)<br>
<br>
if you give more specifics i may be able to help customize this statement for you.<br>
<br>
And then you can put a statement such as this in the same VBA (so you only need one button) to import the data.<br>
<br>
<br>
Dim Tablpath As String<br>
Dim DocPath2 As String<br>
Dim FileDef As String<br>
<br>
Tablpath = "the table to get the data"<br>
DocPath2 = "the file that was just created"<br>
FileDef = "the specs for the file"<br>
'you have to create and save these through the import wizard<br>
DoCmd.TransferText acImportFixed, FileDef, TablPath, DocPath2, 0<br>
<br>
all of this is dependant on what kind of executable you want to do, and what you want to import, but your theory is very possible.<br>
<br>
<p>Brian Famous<br><a href=mailto:bfamous@ncdoi.net>bfamous@ncdoi.net</a><br><a href= > </a><br>