473,386 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

want to activate hyperlink, but dont open ...

I dont know much about VBA, but maybe somebody can help me ;)
I have this kind of SUB ..
Expand|Select|Wrap|Line Numbers
  1. Sub kama2()
  2.     Worksheets("kama").Activate
  3.     Range("A51").Select
  4.     Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
  5.     Application.WindowState = xlNormal
  6.     Start_Timer
  7. End Sub
... and question ...
I need to activate hyperlink( to IE), but dont open new window. I use WebQuery and if the macro will run an hour, it maybe opens 100 new windows :D
... or how to write, that after opening the new window will close!
Sep 30 '08 #1
1 1987
puppydogbuddy
1,923 Expert 1GB
I believe that using the followhyperlink method with a workbook object defaults to the open window and does not open a new window:
Expand|Select|Wrap|Line Numbers
  1. ActiveWorkbook.FollowHyperlink "http://www.microsoft.com"
  2.  
Hope this helps.
Oct 2 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: deko | last post by:
I have a subform in my Access 2002 mdb that holds Hyperlinks to documents (.pdfs) that are associated with each record in the database. The datasheet subform is simply a list of Hyperlinks to...
0
by: Bill Thom | last post by:
I have a Microsoft Access 2000 (9.0.4402 SR-1) database that I am attempting to launch from a hyperlink using Internet Explorer (Version 6.0.2800.1106). If I attempt to launch the database from...
4
by: Tero Partanen | last post by:
Hello! I'm writing about a rather peculiar problem I'm having with Access2000. I have a table in which I have created one hyperlink-type field. I have given the field a default value which is...
2
by: Randy Harris | last post by:
I'm working with Access 2K and seem to be getting some behavior that contradicts the documentation. First, the help says: "Note The Activate event doesn't occur when a form receives focus back...
3
by: francois | last post by:
hi all, I have hyperlink controld in my aspx webpage. When i click on it it needs to open a new window, then i added the attribute target="_blank" But I would like to also give a size to the...
2
by: klynn | last post by:
I need to create a datagrid dynamically and add a hyperlink onto one of the columns. So the user sees that columns value and can click on it. But the hyperlink sends a value from another column...
9
by: dana lees | last post by:
Hello, I am using asp:HyperLink in a c# asp.net application to open a new window in the following way: <asp:HyperLink ID="lnkSiteName" runat="server" Text='<%# DataBinder.Eval(Container,...
15
by: dillneus | last post by:
Hello, I have a problem with hyperlink. I have a text box that contains link to the document. I enter the link by clicking on the button "add link". When I add link, the windows browser opens...
5
LAD
by: LAD | last post by:
Using Access 2003 on Windows 2000. My Skill Level: Med Low (Some VBA, okay with Access) Form: Single View - based on Query of single Table to sort by field. Application: Dealers email 'contract...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.