LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How to convert imported Access Hyperlinks to Excel and KEEP the li

Ok, after much head beating, I have figured this out..

I have an excel spreadsheet where I have a data connection to an ACCESS
Database, one of the tables is hyperlinks. The hyperlink comes across as text
only in this format:

Mary Joe #

or

APWD15E#http://www.frigidaire.com/product.aspx?productid=2235#


The Hash "#" shows the URL and the front is the "Friendly Display Name" of
it.. I had to break this apart in order to put it into the =Hyperlink()

The First version will insert the word NONE into the cell if there are no
hashes, which would mean no hyperlink, the second one will simply leave the
cell blank. Just examples of how you would handle a cell that either does not
have any data in it or if you want to make sure that people know that there
is NO hyperlink related to that particular record.

=IF(ISERROR(FIND("#",A1)),"NONE",(HYPERLINK(SUBSTI TUTE(MID(A1,FIND("#",A1,1)+1,99),"#",""),MID(A1,1, FIND("#",A1,1)-1))))

=IF(ISERROR(FIND("#",A1)),"",(HYPERLINK(SUBSTITUTE (MID(A1,FIND("#",A1,1)+1,99),"#",""),MID(A1,1,FIND ("#",A1,1)-1))))

Change the A1 to whatever cell your imported or table from access is that
has the hyperlink info.

This particular examples will show up as the friendly name underlined:

Mary Joe Cleaver

APWD15E

Enjoy!
Bob R.
 
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
Rename imported MS Access field names Ron Excel Discussion (Misc queries) 1 May 7th 09 05:17 PM
How to test for imported Access table null cell? G Lykos Excel Worksheet Functions 3 October 6th 08 02:54 PM
Activate email hyperlinks in imported data 02driver Excel Discussion (Misc queries) 1 February 22nd 08 05:21 PM
My formulas can't 'see' numbers imported from Access in Excel, even when the format is the same. Chrism Excel Discussion (Misc queries) 4 April 12th 05 03:10 PM
How to convert Excel imported numbers from text to numbers? Alden Excel Discussion (Misc queries) 9 April 1st 05 09:51 PM


All times are GMT +1. The time now is 08:52 AM.

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

About Us

"It's about Microsoft Excel"