Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with code

Status
Not open for further replies.

amal1973

Technical User
Jul 31, 2001
131
US
I have a process that when it finishes save the file on the web server with the same name. I always get a message telling me that this file exists.
I want in VBA code to tell it (yes replace it or overwrite on it )
Thanks
 
Perhaps for a AIDR() check. If it is there, perform a Kill on that item.

For example,
Kill lcBase_Path & oFileLdb.Name 'Delete the ldb file on basepath location.
DelayTime 10 'Slight delay to insure file action completed. little function to insure file has time to fully delete. Steve Medvid
"IT Consultant & Web Master"
e-Mail: Stephen_Medvid@GMACM.com

Chester County, PA Residents
Please Show Your Support...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top