+ Reply to Thread
Results 1 to 13 of 13

Insert Object through Hyperlink

  1. #1
    Forum Contributor
    Join Date
    05-25-2020
    Location
    Madurai
    MS-Off Ver
    Excel 2010
    Posts
    136

    Post Insert Object through Hyperlink

    Seeking some on help.

    I have hypherlinks in my active workbook Say column F.

    I am using the below code to insert multiple objects in my active work book. This code will browse for select files to insert object. Instead of browse, the code need to open each hypherlink and then need to insert. (Instead browse for path, the code need to use Hypherlink available in active worksheet)

    seeking some one help to modify the code.

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: Instert Object through Hypherlink

    Just to be clear,
    you have a hyperlink that contains a picture file name and you want to insert this picture into the worksheet?

  3. #3
    Forum Contributor
    Join Date
    05-25-2020
    Location
    Madurai
    MS-Off Ver
    Excel 2010
    Posts
    136

    Re: Instert Object through Hypherlink

    Hi DaveExcel

    I have hyperlink of all file type. outlook message files, excel file, picture and pdf

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: Instert Object through Hypherlink

    Still unsure what you are asking.

  5. #5
    Forum Contributor
    Join Date
    05-25-2020
    Location
    Madurai
    MS-Off Ver
    Excel 2010
    Posts
    136

    Re: Instert Object through Hypherlink

    Hi

    In my excel workbook, column F I have hyperlink
    Ex In row 1 to 50 ( F1 to F50) each hyperlink having different file types but all files are in C drive

    I need macro to open one by one link and save some temporary folder then each files to be inserted as object in next column ex H1 to H50

    In other words, hyperlink files to be inserted as object on the same workbook

  6. #6
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: Instert Object through Hypherlink

    You may have to supply a sample workbook showing the results you are looking for.

  7. #7
    Forum Contributor
    Join Date
    05-25-2020
    Location
    Madurai
    MS-Off Ver
    Excel 2010
    Posts
    136

    Re: Instert Object through Hypherlink

    Hi davesexcel

    Sample Work Book attached for your reference
    Attached Files Attached Files

  8. #8
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: Instert Object through Hypherlink

    I don't think you can do what you are trying to do.
    You can't embed files onto a spreadsheet.

  9. #9
    Forum Contributor
    Join Date
    05-25-2020
    Location
    Madurai
    MS-Off Ver
    Excel 2010
    Posts
    136

    Re: Instert Object through Hypherlink

    Hi

    The below code i am using embed files on spread sheet. The code is working fine.

    My current requirement is that, the code is browse folder to select the embed files, instead of that i am expecting to use the hypherlink path (WHICH IS AVAILABLE IN MY WORKSHEET)for each row to embed the files on spread sheet. I am expecting someone help to modify the code accordingly. Particularly on the highlighted line of the code



    Please Login or Register  to view this content.
    Attached Files Attached Files

  10. #10
    Forum Contributor
    Join Date
    05-25-2020
    Location
    Madurai
    MS-Off Ver
    Excel 2010
    Posts
    136

    Re: Instert Object through Hypherlink

    Hi anyone please help me

  11. #11
    Forum Contributor Dante Amor's Avatar
    Join Date
    07-24-2020
    Location
    MEXICO
    MS-Off Ver
    Excel 2013
    Posts
    212

    Re: Instert Object through Hypherlink

    Try this:

    Please Login or Register  to view this content.

  12. #12
    Forum Contributor
    Join Date
    05-25-2020
    Location
    Madurai
    MS-Off Ver
    Excel 2010
    Posts
    136

    Re: Insert Object through Hyperlink

    Hi Dante Amor

    Thank you so much for your help. Code is working perfectly as expected

  13. #13
    Forum Contributor Dante Amor's Avatar
    Join Date
    07-24-2020
    Location
    MEXICO
    MS-Off Ver
    Excel 2013
    Posts
    212

    Re: Insert Object through Hyperlink

    I'm glad to help you. Thanks for the feedback.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Error message "Cannot insert object" When trying to use shockwave flash object
    By Greeggorian in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-02-2018, 03:37 PM
  2. How Do I Change this code to not insert object and just do a hyperlink?
    By taylorsm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-30-2016, 11:51 AM
  3. Insert word docments into Excel spreadsheet - "Can not insert object" error
    By GerryPeterson in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 11-25-2015, 07:37 PM
  4. Existing ActiveX Controls not working; "Cannot Insert Object" error when insert new one
    By PCilliterateEngineer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-13-2014, 02:09 AM
  5. Replies: 0
    Last Post: 06-19-2014, 02:09 PM
  6. Object as a hyperlink , can't fit in cell
    By Mahesh1587 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-19-2014, 12:52 AM
  7. Hyperlink for Object
    By jolly7404 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-04-2010, 08:20 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1