Okay to get just the area code (I am using an Integer just in case if you do not want an Integer then drop the CInt and change AreaCode to String) from your character phone number string
Dim AreaCode As Integer
AreaCode = CInt(Mid(PhoneNumber, 2, 3))
Okay the rest of that appears to be...