Is it possible to edit an existing text file from VBA??
We receive a file daily from a vendor that contains informaiton that we pull into our database and then pass the file onto another company which uses it for processing. The problem is that occassionally, there is data missing from the text file that must be there before we pass it on.
Currently, when the file is imported, I test to see if the data is in the correct position of the text file and if not, give the user enough details about the record that they can go into the file and fix it manually.
Well, not I have to automate that. I have it prompt the user for the missing information, and set the value of the input box equal to a string variable.
But once that is done, is there any way to write that information back to the text file and save the changes to the file??
Thanks for your help.
Mark
We receive a file daily from a vendor that contains informaiton that we pull into our database and then pass the file onto another company which uses it for processing. The problem is that occassionally, there is data missing from the text file that must be there before we pass it on.
Currently, when the file is imported, I test to see if the data is in the correct position of the text file and if not, give the user enough details about the record that they can go into the file and fix it manually.
Well, not I have to automate that. I have it prompt the user for the missing information, and set the value of the input box equal to a string variable.
But once that is done, is there any way to write that information back to the text file and save the changes to the file??
Thanks for your help.
Mark