I have a macro that goes through each name that is stated in the sheet and does a bunch of calculations etc...
Now I would like to create a log that will save a line per name that was run. The only issue is that this macro is run by multiple users at the same time so I need a way to ensure that all lines are recorded.
I need to store only three things for each name it runs: name, username (computer name), date/time
the flat file will be ultimately used by another process done through the access database.
My biggest concern is if say two users are using the macro at the same time, how do i ensure that both macro's values are saved into the flat file? Also what would be the most efficient way to save these lines into a text file?
Please let me know if you need clarification. Thank you!