I need help updating a Macro that opens a txt file, copies information from the txt file, and then pastes information into the excel spreadsheet that is open. The macro works fine now because I know where the txt file is located. The problem I have is that about 100 users will be using the excel file and will need to access a txt file that is exported to their own personal desktop on a daily basis. Is there anything I can do with the code that opens the file.
If the txt file is on "mike's desktop" the code to open is "C:\Documents and Settings\Mike\Desktop\trade_summary.txt"
If the txt file is on "Mary's desktop" the code to open is "C:\Documents and Settings\Mary\Desktop\trade_summary.txt",
In other words, the code would need to change as it relates to each user's desktop.
Bookmarks