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
Shared a folder in Outlook 2007 now how i can see that from another machine.
Excel dependable Dropdowns
VS2008 C# DeskTop application Close form and open anther one problem
Outlook7 mail Icon
SQL Server 2005 Error, Ex_handle_except encountered exception C0000005 - Server terminating
Exchange 2010 After install when initialising it looks for the DC not the member server
MS Word 2007 :: Tables :: Prevent Page Break
Programatically create multiple paragraph to a Excel Cell
SQL SERVER 2005 - SELECT top 4 query
Wildcards in worksheet names/SUMPRODUCT range