I am not good at VBA but usually fumble my way through.
Trying to translate this which works if I simply paste it into a Cell
=FLOOR(D11*3,1)&" Days and "&TEXT(SUM(D11,-TIME(8,0,0)*FLOOR(D11*3,1))," h") & " Hours " & MINUTE(A1) & " Minutes "& SECOND(D11) & " Seconds"
Into This for my VBA - & below & is basically the next cell down after counting all rows in range D. i.e D14 is last entry then below=D15 (total)
Range("C" & lastrow + 1).Formula = "=FLOOR(D" & below & "*3,1)& "" Days and"" &TEXT(SUM(D" & below & ",-TIME(8,0,0)*FLOOR(D" & below & "*3,1))," h")"
Trying to translate this which works if I simply paste it into a Cell
=FLOOR(D11*3,1)&" Days and "&TEXT(SUM(D11,-TIME(8,0,0)*FLOOR(D11*3,1))," h") & " Hours " & MINUTE(A1) & " Minutes "& SECOND(D11) & " Seconds"
Into This for my VBA - & below & is basically the next cell down after counting all rows in range D. i.e D14 is last entry then below=D15 (total)
Range("C" & lastrow + 1).Formula = "=FLOOR(D" & below & "*3,1)& "" Days and"" &TEXT(SUM(D" & below & ",-TIME(8,0,0)*FLOOR(D" & below & "*3,1))," h")"