473,396 Members | 2,013 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,396 software developers and data experts.

FollowHyperlink

Hi,

Hi, please take a look at the code below, I am having a problem, because
Me.Tracking Number has a space between 'tracking' and 'number', I am getting
error.. 'Expected: End of Statement', There is no way that I can change it
to one word because of the structure of the data that is imported, can I use
some sort of charactor to act as a space?

Thanks.....

Dim Website As String

Website = "http://afis.postoffice.co.uk/RoyalMail/RMGTT?ITEMIN=" &
Me.TRACKING NUMBER

Application.FollowHyperlink Website, , True
Exit Sub

--
Kind Regards
Blue Bell Trading

+++ WHEN REPLYING PLEASE DO NOT DELETE ANY OF THE TEXT AS WE NEED IT FOR
REFERENCE +++

Blue Bell Trading
Nov 13 '05 #1
1 3063
On Fri, 04 Mar 2005 21:19:07 GMT, Nick J wrote:
Hi,

Hi, please take a look at the code below, I am having a problem, because
Me.Tracking Number has a space between 'tracking' and 'number', I am getting
error.. 'Expected: End of Statement', There is no way that I can change it
to one word because of the structure of the data that is imported, can I use
some sort of charactor to act as a space?

Thanks.....

Dim Website As String

Website = "http://afis.postoffice.co.uk/RoyalMail/RMGTT?ITEMIN=" &
Me.TRACKING NUMBER

Application.FollowHyperlink Website, , True
Exit Sub


'Tracking Number' is a control on a form, so:

Website = "http://afis.postoffice.co.uk/RoyalMail/RMGTT?ITEMIN=" &
Me.[TRACKING NUMBER]
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Lauren Quantrell | last post by:
I'm using the following code in Access 2000 to open a new MS Internet Explorer window with whatever URL value I pass to myURL: Application.FollowHyperlink myURL, , True (the True opens MS Internet...
2
by: Colleyville Alan | last post by:
I could not find this in the help file, so here goes... I have some code that opens a word doc which is then set to a variable called Target. Then a FollowHyperlink opens another word doc that...
0
by: James Edey | last post by:
I am attempting to use FollowHyperlink from a button in Excel to initiate a web page that has a large set of parameters. I get a run time error if the number of characters in the link gets to...
2
by: bobdydd | last post by:
Hi Everybody Access 2000, Windows XP Is there any method by which I can pass a value from an Access 2000 form to a web page. I am using Application.FollowHyperlink to open a web page but I...
2
by: AlastairHardwick | last post by:
Hi, Wonder if you can help? I have an Image Management Database which holds various information relating to Ghost Images and Testing. I am using a textbox with a hyperlink to display the path...
3
by: df | last post by:
In the old days of Visual Basic for Applications, I successfully opened a file (of any file type: .dwg .pdf .doc etc) in its own application using: ActiveWorkbook.FollowHyperlink...
0
by: mpfohl | last post by:
How do I use the FollowHyperlink method to go to a .asp website and automatically enter in the parameters to run a search and go to the search results page? E.g., if the site is a driving...
7
by: fpesante | last post by:
Hi, I I'm trying to create a form on database that user can choose and adress from a list box then click on a command button and they will be able to open the site. I am not able to retreive the...
5
by: Ruben | last post by:
Hello, I am using the "Application.FollowHyperlink strFilePath, , True" line of code from within access forms to launch any file type I want (e.g., xls, doc, pdf, etc.). The files open up okay,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...

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.