Results 1 to 4 of 4
  1. #1
    Arnold is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    May 2014
    Posts
    43

    How to extract value between asterics in the cell

    Hello


    My data has a url column [Url] that looks like this
    =HYPERLINK("http://www.amazon.com/Vornado-Replacement-AQS500-Purifier-filters/dp/B000YDJNQA", "http://www.amazon.com/Vornado-Replacement-AQS500-Purifier-filters/dp/B000YDJNQA")

    How would I write the formula in the query builder to extract only http://www.amazon.com/Vornado-Replacement-AQS500-Purifier-filters/dp/B000YDJNQA

    It would begin ItemUrl:

    Thanks

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    That is an expression using a custom function called Hyperlink. Where is that expression - in a textbox ControlSource property? Why does that expression have literal text (the URL address)?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Arnold is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    May 2014
    Posts
    43
    Thank you

    This comes a text form generated by a service that I use. I cant get them to generate it differently.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    I don't understand "from a text form generated by a service". A form where - web page? How do you capture the string? Is it imported into a table? What is the field name?

    Regarding your thread title - I don't see any asterisks.

    Maybe like:

    Mid([fieldname], InStr([fieldname],"http"), InStr([fieldname],",") - 2)
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 07-12-2013, 01:48 PM
  2. Replies: 12
    Last Post: 01-15-2013, 02:35 PM
  3. Replies: 2
    Last Post: 11-29-2011, 05:26 PM
  4. Extract data at end of cell
    By madsc1 in forum Access
    Replies: 2
    Last Post: 03-21-2011, 04:12 PM
  5. Can we post Access cell data to Excel cell properties?
    By Zethro in forum Import/Export Data
    Replies: 1
    Last Post: 12-13-2005, 08:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums