Sub GoogleFetchQuotes() ' Paul Beverley - Version 18.11.21 ' Launches selected text - with quotes - on Google mySite = "http://www.google.co.uk/search?q=" ' Or for Google Scholar ' mySite = "https://scholar.google.com/scholar?q=" ' USA ' mySite = "http://www.google.com/search?q=" ' Canada ' mySite = "http://www.google.ca/search?q=" ' India ' http://www.google.co.in/search?q= ' Netherlands ' mySite = "http://www.google.nl/search?q=" ' Germany ' mySite = "http://www.google.de/search?q=" ' India ' http://www.google.co.in/search?q= If Selection.Start = Selection.End Then Selection.Expand wdWord Do While InStr(ChrW(8217) & "' ", Right(Selection.Text, 1)) > 0 Selection.MoveEnd , -1 DoEvents Loop Else endNow = Selection.End Selection.MoveLeft wdWord, 1 startNow = Selection.Start Selection.End = endNow Selection.Expand wdWord Do While InStr(ChrW(8217) & "' ", Right(Selection.Text, 1)) > 0 Selection.MoveEnd , -1 DoEvents Loop Selection.Start = startNow End If mySubject = Trim(Selection) mySubject = Replace(mySubject, vbCr, "") mySubject = Replace(mySubject, " ", "+") mySubject = Replace(mySubject, "&", "%26") mySubject = "%22" & mySubject & "%22" ActiveDocument.FollowHyperlink Address:=mySite & mySubject Selection.Collapse wdCollapseEnd End Sub