Microsoft
Software
Hardware
Network
Question : What is the VBA to do this in Access?
Hi Experts,
I have a VB script that runs a data extraction routine. Once the extraction is complete a text file will be created.
The VB script is executed using
Shell "CScript ""C:\Documents and Settings\rng\My Documents\LCL\NDW_Data_Ext
ractor_Usi
ng_GoldLoa
d\Gold_Loa
d_Export_S
cripts\Exp
ort.vbs"""
, vbHide
I want to create a VBA to detect if the text file has been created or not. If created then the VB script will run again.
How can this be done?
Thanks
Answer : What is the VBA to do this in Access?
place this codes below your shell line
if dir(FilePath)<>"" then
msgbox "File was created"
else
end if
Random Solutions
vb.net color palette
daily average of the last 200 data
Special characters in combo boxes
Selected collating sequence not supported
Can I install SQL 2005 32-bit on Windows Server 2003 64-bit?
Installing Access 2003 using Access 2007 key
While trying to logon to a remote server using Remote Desktop, I get the message "The local policy of this system does not permit you to logon interatively"
remote shutdown dos how to trace
Offline files sync problem
SP2 Install for SCCM