Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default VB Code for hyperlink

Morning
I have been linking cells to webpages in a round about way. It works but I
know there has to be a better way in VB without all the extra columns and
formulas. currently I have a base address that I then CONCATENATE with a
permit number and tab #. I end up using 3 columns to create my hyperlink.
The formulas look like this

'http://web1.seattle.gov/DPD/permitstatus/Project.aspx?id=
'=CONCATENATE(aphttp,E12,"&t=2")
'http://web1.seattle.gov/DPD/permitstatus/Project.aspx?id=6178468&t=2
'=HYPERLINK(C13,E13)

I would like to run a macro that loops thru the column with permit numbers
and convert into hyperlinks to the permit status page.
Thanks
Duane Reynolds


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default VB Code for hyperlink clarification


"Duane Reynolds" wrote in message
...
Morning
I have been linking cells to webpages in a round about way. It works but I
know there has to be a better way in VB without all the extra columns and
formulas. currently I have a base address that I then CONCATENATE with a
permit number and tab #. I end up using 3 columns to create my hyperlink.
The formulas look like this


' This is stored as named range "aphttp"
http://web1.seattle.gov/DPD/permitst...oject.aspx?id=
'=CONCATENATE(aphttp,E12,"&t=2") returns
'http://web1.seattle.gov/DPD/permitstatus/Project.aspx?id=6178468&t=2
'Which I then use with =HYPERLINK(C13,E13) to create friendly name using
the permit number

I would like to run a macro that loops thru the column with permit numbers
and convert into hyperlinks to the permit status page.
Thanks
Duane Reynolds



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
Hyperlink to run code Martin Excel Discussion (Misc queries) 7 October 22nd 08 06:01 PM
Need to add hyperlink using VBA code Bev Kaufman Excel Programming 2 October 22nd 08 02:39 PM
Hyperlink Code oberon.black[_103_] Excel Programming 2 September 29th 05 10:45 PM
Using Hyperlink via code mick Excel Programming 0 March 3rd 05 09:57 PM
Hyperlink via code Mick[_8_] Excel Programming 0 March 3rd 05 07:51 PM


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