I have a client that uses the Click to Call very regularly. They have a table with a hyperlink field. In the past they have been able to right click and go to Edit Hyperlink and put in sip:9999999999. But I have had to disable their shortcut menus and they
don't have that option any longer. I've tried putting in visual basic code after they enter the phone number (phone number doesn't have any "-" or "()") but it isn't working. Here's what I'm doing:
Dim m1, m2, m3, m As Variant
If IsNull(Me.Cell_Phone.Value) = False Then
m1 = Left(Me.Cell_Phone.Value, 3)
m2 = mid$(Me.Cell_Phone.Value, 4, 3)
m3 = Right(Me.Cell_Phone.Value, 4)
m = m1 & "-" & m2 & "-" & m3
Me.Click_To_Call = m & "#" & "sip:" & Me.Cell_Phone.Value & "#"
The hyperlink appears as 999-999-9999
It looks like it should but when you click on it, it just goes to a url
When it puts the data in the field and I go to manually edit the table it puts in http://999-999-9999
Thanks