Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Need VB code for workbook open to open a link

What would the VisualBasic code for workbook open look like to cause an
external web page or document to open when the workbook opens?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Need VB code for workbook open to open a link


Shell "C:\program files\internet explorer\iexplore.exe" & " " &
"HTTP://WWW.GOOGLE.COM", vbNormalFocus


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=572860

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Need VB code for workbook open to open a link

Works like a champ, thank you!

"Bearacade" wrote:


Shell "C:\program files\internet explorer\iexplore.exe" & " " &
"HTTP://WWW.GOOGLE.COM", vbNormalFocus


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=572860


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i open excel as an xls document from a web link instead of. Yep Excel Discussion (Misc queries) 1 June 29th 06 08:39 PM
macro or code to open multiple workbooks Duane Reynolds Excel Discussion (Misc queries) 1 March 14th 06 08:18 AM
VBA code to open dropdown box(s) in XL, permit a choice, then resu Dennis Excel Discussion (Misc queries) 0 February 26th 06 06:15 PM
Open link in excel rather than explorer AeS Excel Discussion (Misc queries) 1 November 21st 05 02:45 PM
Need VBA code for "Open Dialogue" box Brent E Excel Discussion (Misc queries) 2 February 8th 05 04:23 AM


All times are GMT +1. The time now is 06:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"