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
Uploading image cropping area settings to server side aspx
How do I take a totals query and update a column in another table?
Delete Function for single record in ADO has one line returns error
Install, boot Vista errors
HKLM\ RunOnce does not run until login
import a data from text file(with repeated column names)
AxShockwaveFlash transparency problem
Moving SID History
Is there a way for a Windows 7 Service to display a window in another user's session?
Export Windows installed updates to text format for comparison?