Thread: [Solved] open hyperlink in new tab
View Single Post
 
Old 07-03-2012, 04:46 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,359
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You can use an InputBox, but you'll need to add code that validates whatever the user inputs.

StrHlink = InputBox("What is the URL to use?" & vbcr & _
"e.g: http://www.google.com","Navigation Input")
'validation code goe here
tabby.navigate StrHlink
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote