Convert Mins to HH:MM format
Mins/1440
Would give the required output.. just format the cell to HH:MM
1440 = 24hrs * 60 mins
Welcome to this blog... here you get some excellent short cuts for some difficult excel VBA programming logic.
ActiveSheet.Unprotect Password:="Password1234$$".
..
your coding goes here. .
....... at the end of your program
ActiveSheet.Protect Password:="Password1234$$"
Application.Wait Now + TimeValue("0:00:30") likewise if you would like to delay the process by 90 seconds... thenApplication.Wait Now + TimeValue("0:01:30") Have a great day :-)