I am updating some access 2003 databases to 2007. I have been using the following code to remove the blank line at the end of an exported text file:
stAppName = "c:\windows\notepad.exe t:\user\ach\export.txt"
returnvalue = Shell(stAppName, 1)
AppActivate returnvalue
SendKeys "^{END}"
SendKeys "{backspace}"
SendKeys "%{F4}", True
SendKeys "{ENTER}"
Is there a better way of doing this - i'd like to eliminate the sendkeys....
stAppName = "c:\windows\notepad.exe t:\user\ach\export.txt"
returnvalue = Shell(stAppName, 1)
AppActivate returnvalue
SendKeys "^{END}"
SendKeys "{backspace}"
SendKeys "%{F4}", True
SendKeys "{ENTER}"
Is there a better way of doing this - i'd like to eliminate the sendkeys....