Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Opening a webpage from a vba macro in excel

Hi Everyone,

Is it possible to open a website from within a macro in Excel....if so...how
would you do that?

And please...don't laugh.....:)





  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Opening a webpage from a vba macro in excel

I have been using the following routine for several months. The sub routine
was found on this newsgroup, and I do not know who deserves the credit.


Sub OpenMyChoiceWebSite()
ThisWorkbook.FollowHyperlink Address:="https://www.MyChoice.com/"
End Sub

Replace MyChoice with your choice.

Hope this helps.

John Eppley


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
Opening a Macro in Excel 2007 Ken Excel Discussion (Misc queries) 1 December 6th 07 08:00 PM
Opening an Excel file with macro Johan_vl2431 Excel Discussion (Misc queries) 0 May 1st 07 02:57 PM
restrictions in excel opening webpage ?? Andrew Excel Discussion (Misc queries) 0 October 1st 06 09:34 PM
A Macro that Copies from Excel & Pastes into a webpage Eric Excel Discussion (Misc queries) 1 July 14th 06 12:38 AM
opening webpage in excel Rod[_3_] Excel Programming 8 July 13th 03 04:20 PM


All times are GMT +1. The time now is 01:55 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"