Thank you so much, that has worked perfectly! Now I have a new dilemma. One of the cells I am referencing in my VBA is a MIN or a MAX formula [=MIN(Res!A:A)]. This returns a time value in Military Time. The cell value is variable based on the results of another macro that runs. I need the contents of this cell to paste into the email function and not change the formatting. I think this is done with a format VBA code but I can't seem to get it right.
The line that needs the formatting wrap is : During the " & sheets("Macros").range("S28").value & " -" & sheets("Macros").range("S29").value & " interval (s), "
The S28 and S29 cell values appear as a military time stamp however the is resulting from the Min & Max functions.
The full .HTMLBody code is below
Thank you for your help!
Bookmarks