Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Group.
A downloaded new application.mde must check for an existing application.mde with the same name, and import its data into the downloaded one, and delete the existing version. Any code samples, suggestions. Thanks. Karpagam Elangovan |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I think this is what you are looking for. The "C:\temp\Test.xls" is just an
example, but this is where you put the file path and name to be deleted. Dim objFSO As Object Dim strpath As String Set objFSO = CreateObject("Scripting.FileSystemObject") strpath = "C:\Temp\test.xls" If objFSO.FileExists(strpath) Then objFSO.DeleteFile strpath, True End If "கற்பகம்" wrote: Hi Group. A downloaded new application.mde must check for an existing application.mde with the same name, and import its data into the downloaded one, and delete the existing version. Any code samples, suggestions. Thanks. Karpagam Elangovan |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Almost..
But here is the exact problem. For example I have TEST3.3.mde (New version). And the user is working with TEST3.2.mde. When I download TEST3.3.mde, it must automatically import data into TEST3.3 from TEST3.2, and delete TEST3.2.mde. Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
User replaces existing file with blank during file open | Excel Discussion (Misc queries) | |||
Despite data existing in Excel 2002 spreadsheet Find doesn't find | Excel Discussion (Misc queries) | |||
Importing text file, only option to edit existing file | Excel Discussion (Misc queries) | |||
can i save an existing .xls file as a .csv file using command line | Excel Discussion (Misc queries) | |||
get path - save new file - same sub-directory as existing file | Excel Programming |