Vilas Desai
New Member
- Joined
- Jan 28, 2011
- Messages
- 4
I have a macro that picks up 'samenamed.csv' file from 40 IP addresses and saves these in 40 sheets of a file (loggedfiles.xlsm) at a remote location. The macro is a worksheet macro in the loggedfiles.xlsm, what I would like to do is to run this macro repeatedly after every 1 hour and stop running the macro after the last file is logged. for ex, if I run the macro at 1pm and the last logged file (corresponding to the 40th IP address) is at 1.35pm, then the macro has to stop running at 1.35 pm. and again start at 2.00pm.