gstylianou
Registered User.
- Local time
- Today, 21:39
- Joined
- Dec 16, 2013
- Messages
- 359
Dear friends,
I need your help in the following problem.
I have a text file (Slash.txt) which is stored in on C:\ ProgramData\Dash\Slash.txt. I'm using this file in order to store some numbers (usually max 15digits). I can do this using vba code (example attached).
What is the problem:
If the file exist on path C:\ ProgramData\Dash\Slash.txt i cannot update the data...because something going wrong.. If the file does not exist, everything its ok. Vba creates new folder into path as well as new text file into this.
So, i need help on how can i update the existing txt file with new data, but i need also a way using a command button to delete this text file if i wanted..
Your help is very important because i'm stacked several days ago...
Thanks
I need your help in the following problem.
I have a text file (Slash.txt) which is stored in on C:\ ProgramData\Dash\Slash.txt. I'm using this file in order to store some numbers (usually max 15digits). I can do this using vba code (example attached).
What is the problem:
If the file exist on path C:\ ProgramData\Dash\Slash.txt i cannot update the data...because something going wrong.. If the file does not exist, everything its ok. Vba creates new folder into path as well as new text file into this.
So, i need help on how can i update the existing txt file with new data, but i need also a way using a command button to delete this text file if i wanted..
Your help is very important because i'm stacked several days ago...
Thanks