Hi there I am trying to use " as a character in my code, but VBA always auto corrects it as excess characters (like if I try """
). I tried to use the Char(34)
character code but it still doesn't work. I want to loop through cells and search for values within the cell such as "ActiveCell.Value
" but the code doesn't recognize " as a character. Here is the code:
Sub zero()
Do Until IsEmpty(ActiveCell.Value)
Shell ("C:\Program Files (x86)\Google\Chrome\Application\Chrome.exe -url https://www.google.co.uk/search?q=" & Chr(34) & ActiveCell.Value & Chr(34))
ActiveCell.Offset(1).Select
Loop
End Sub