I am trying to feed a table with 3 information entered from the execution of a Userform and, at the end, make a direct hyperlink in the cell with the information entered. The information is as follows:
What I basically did to get this was this:
Cells(LRow, 1).Formula = "=Hyperlink(""H:\backup\test\"")"
Cells(LRow, 2).Value = UCase(Left(Me.Cbx_State.Value, 2))
Cells(LRow, 3).Value = Format(Now, "_yyyymmdd_hhmmss")
Cells(LRow, 1) = Cells(LRow, 1) & Cells(LRow, 2) & Cells(LRow, 3)
When I run the first line, the link works perfectly for the folder, however, when I run the fourth one (where I concatenate the two other information, the link stops working.)
I was hoping to get a link like this, for example:
H:\backup\test\CT-20170322_162111
I do not understand the problem. Any idea?