473,467 Members | 2,005 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to create a hyperlink?

6 New Member
Hi.
I had a quick look for this question on the site, but couldn't find what I was after.

I have a Form where there are two fields [Taddress] and [Tsuburb]. (if need be there is also a [TGeocode] field

I would like to assist our old analyst by joining the fields [Googlelink] so that they are clickable and will open into google maps. i.e.

="https://www.google.com/maps/place".... [Taddress].... [TSuburb]

Ive seen a few sites where they are having to go into and "build" the hyperlink from a table .

Is there another way of doing it as the form stores about a 1000 addresses? Ive got it to a stage that it will just cut and paste into a browser but figured there must be a way to just click from the link.

Any suggestions and as always thanks for any assistance provided .
Jul 14 '19 #1
7 1866
NeoPa
32,556 Recognized Expert Moderator MVP
Hi Geoff.

Check out Error 7980: HyperlinkAddress or HyperlinkSubAddress read-only for Hyperlink. If it doesn't solve your problem let us know. It should have everything you need. Good luck.
Jul 14 '19 #2
ADezii
8,834 Recognized Expert Expert
  1. Here is some very simple Code that will Open Google Maps to a specific Address & City. It can easily be adapted to include State, Zip Code, and Country if need be.
    Expand|Select|Wrap|Line Numbers
    1. Public Sub FindOnGoogleMaps(strAddress As String, strCity As String)
    2. Dim strURL As String
    3.  
    4. strURL = "http://maps.google.com/maps?q=" & strAddress & ",+" & strCity
    5.  
    6. Application.FollowHyperlink strURL
    7. End Sub
  2. Sample Call:
    Expand|Select|Wrap|Line Numbers
    1. Call FindOnGoogleMaps("2927 South 15th Street", "Philadelphia")
Jul 18 '19 #3
NeoPa
32,556 Recognized Expert Moderator MVP
Hi ADezii.

I believe you may have got the wrong end of the stick on this one. Rather than linking directly, I believe the OP wants to formulate a hyperlink so that it can be clicked on normally from the displayed text.

Always good to see you post anyway of course :-)
Jul 18 '19 #4
ADezii
8,834 Recognized Expert Expert
As you can see, I'm still getting things backwards (sdrawkcab). Good to see you!
Jul 18 '19 #5
NeoPa
32,556 Recognized Expert Moderator MVP
: - )
Jul 18 '19 #6
10geoff732
6 New Member
Hi and thanks for the input. Im hoping to have a look at this on the weekend and will let know you how it goes (or if I stuff it up lol)

Thanks again for the advice
Jul 19 '19 #7
NeoPa
32,556 Recognized Expert Moderator MVP
All good :-)

Let us know how you get on with it.
Jul 19 '19 #8

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

Similar topics

5
by: Jon D | last post by:
I have a form where a user enters their name, date etc. i also want them to be able to click on a browse button and select a file which will then appear in a textbox. when they press submit i want...
3
by: The Dana's | last post by:
I need to create a static HTML file that runs only on the local client PC. On the page (say PageA.htm), I would like for a hypelink to another page (Page B) to appear ONLY if the target file the...
2
by: SaT | last post by:
Does anyone know how to create hyperlink labels within a datagrid, on the fly? Thanks SaT
7
by: Beefminator | last post by:
Hello, How can you create a hyperlink in the HTML body of CDOsys email? Line 7 is a link for yahoo.com, but the asp page does not work. Set objMessage = CreateObject("CDO.Message")...
2
by: jagguy | last post by:
I have a column on a grid view I read in froma DB. The field has 2 values true or false. Now if i click on the field i want the gridview and the DB updated to the new value. I click on true on a row...
5
by: theine | last post by:
How do I create Hyperlink based of a specific field in the same row? In Excel it done like this: =HYPERLINK("", A273) where the anything inside the " " is the value it's looking for in that...
10
by: juan503 | last post by:
I am trying to setup a MS Access DB in server side, users can attach (hyperlink) his/her local files to DB that all users can see files, so it should upload selected user's file from his/her computer...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.