My current code looks like this:
Cell 29 on the worksheet will always have a "-" (single dash) in it (always until when, and if, it is to be replaced with a hyperlink address, that is.)
What I am left with after running the code to update the worksheet via my userform is a hyperlink that looks like this: " - "
But what I need is it to show is what the code shown above is telling it to... so in the cell it should end up looking like this:
J:\QMS_General Facility\INCIDENT LOGS\Incident_Pictures\22-1150.jpg
Where the "22-1150" represents a number from the userform ("Me.txtIncidentID1") that is specific for that record.
Thoughts? Suggestions? Thanks everyone.
VBA Code:
Sheets("Seatex Incident Log").Hyperlinks.Add Sheets("Seatex Incident Log").Cells(RecordRow, 29), "J:\QMS_General Facility\INCIDENT LOGS\Incident_Pictures\" & Me.txtIncidentID1.Text & ".jpg"
Cell 29 on the worksheet will always have a "-" (single dash) in it (always until when, and if, it is to be replaced with a hyperlink address, that is.)
What I am left with after running the code to update the worksheet via my userform is a hyperlink that looks like this: " - "
But what I need is it to show is what the code shown above is telling it to... so in the cell it should end up looking like this:
J:\QMS_General Facility\INCIDENT LOGS\Incident_Pictures\22-1150.jpg
Where the "22-1150" represents a number from the userform ("Me.txtIncidentID1") that is specific for that record.
Thoughts? Suggestions? Thanks everyone.