Years ago, before I started working for my current employer, an Excel VBA app was written that writes a text file to the user's C:\ . When I hired on, this was one of many apps for which I assumed responsibility. The program has worked with little in the way of work from me for years, until recently. I just found out that IT Security has changed the security settings on the user's PCs to prevent them from saving files to their C drives, and they didn't bother to tell me or anyone else.
Here is the piece of code that is currently being used:
My question is two part. 1)How would I get this to go to the My Documents path on the user's PC, and 2)Would the answer to part 1 be affected by whether the user was using XP or Windows 7?
TIA
MMund
Here is the piece of code that is currently being used:
Code:
OpenTextFile("c:\ge.TXT", 8, True)
My question is two part. 1)How would I get this to go to the My Documents path on the user's PC, and 2)Would the answer to part 1 be affected by whether the user was using XP or Windows 7?
TIA
MMund