Hello,
I have this code to open a conversation with customers on WhatsApp through the WhatsApp application,
As you can see, I have the customer's number in the TextBox, But the number format in the control, like
But it must be like
This means that I just want to delete the parentheses and the space in the middle
Maybe VBA Regex will do the trick, But I don't know how to use it, or is there a better way to implement this thing?
Thanks in advance
I have this code to open a conversation with customers on WhatsApp through the WhatsApp application,
Code:
CreateObject("Shell.Application").Open "https://wa.me/" & Me.tbMobNum & "/?text=" & Me.tbWaMessage
As you can see, I have the customer's number in the TextBox, But the number format in the control, like
(+968)1111 1111
,But it must be like
+96811111111
to work with the code above,This means that I just want to delete the parentheses and the space in the middle
Maybe VBA Regex will do the trick, But I don't know how to use it, or is there a better way to implement this thing?
Thanks in advance