Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Activate a web page

Hello ,
How can I activate a Link ( http://www.yahoo.com/ )
using VBA code in my Macro1 for example .
Thanks and Regards Gill


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 41
Default Activate a web page

record macro clicking this llink in excel
you will get the code statements. modify to generalise.


"mihai" wrote in message
...
Hello ,
How can I activate a Link ( http://www.yahoo.com/ )
using VBA code in my Macro1 for example .
Thanks and Regards Gill



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Activate a web page

Thanks, R..VENKATARAMAN !
OK- I know that :
================================================== ==
Sub Macro1()
Sheets("AA").Select
Range("A1").Select
ActiveCell.FormulaR1C1 = "http://www.yahoo.com"
Range("A1").Select
Selection.Hyperlinks.Delete
ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:= _
"http://www.yahoo.com/", TextToDisplay:="Gill"
Range("A1").Select
Selection.Hyperlinks(1).Follow NewWindow:=True, AddHistory:=True
Range("A1").Select
Selection.ClearContents
End Sub
================================================== ======


But:
I 'd like to launch a web page from macro-code without using a sheet as
support .

Thanks! Gill


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
Can't activate an add-ins Ivan Setting up and Configuration of Excel 0 June 5th 08 09:33 AM
activate a page of a Multipage in Userform Jeff Excel Discussion (Misc queries) 1 February 8th 08 06:16 PM
When to Activate? Antonio Excel Discussion (Misc queries) 5 June 8th 06 12:26 AM
Workbook.Activate / Window.Activate problem Tim[_44_] Excel Programming 3 February 3rd 06 11:38 PM
excel fit to 1 page shows 1 page but not all data is on that page Jans Excel Programming 1 September 2nd 04 01:49 AM


All times are GMT +1. The time now is 04:34 AM.

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

About Us

"It's about Microsoft Excel"