+ Reply to Thread
Results 1 to 3 of 3

VBA code to specify the Hyperlink base box

  1. #1
    Registered User
    Join Date
    09-27-2014
    Location
    New York City
    MS-Off Ver
    2010
    Posts
    32

    VBA code to specify the Hyperlink base box

    By default, unspecified paths to hyperlink destination files are in relation to the location of the active workbook. Use the following procedure when you want to set a different default path. Each time that you create a hyperlink to a file in that location, you have to specify only the file name, not the path, in the Insert Hyperlink dialog box.
    1. Click File > Info.
    2. Click the Properties arrow, and then click Advanced Properties.
    3. Click the Summary tab.
    In the Hyperlink base box, type the path that you want to use.

    The above description documents a manual procedure; I'm hoping that someone can tell me how to accomplish the same task in VBA macro code.

    Thanks in advance for the support and assistance.

  2. #2
    Registered User
    Join Date
    09-27-2014
    Location
    New York City
    MS-Off Ver
    2010
    Posts
    32

    Re: VBA code to specify the Hyperlink base box

    Thanks for any attention paid to this Post.
    Have since found some info (it took a while...).
    The property that I was after can be found in WORKBOOK BUILTINDOCUMENTPROPERTIES.

    Here is VBA list


    Please Login or Register  to view this content.
    VBA to set the property to "G:/":

    Please Login or Register  to view this content.
    Thanks

  3. #3
    Registered User
    Join Date
    09-27-2014
    Location
    New York City
    MS-Off Ver
    2010
    Posts
    32

    Re: VBA code to specify the Hyperlink base box

    That dis not work and neither did this:

    1. Select the File tab and then select Options.
    2. In the Excel Options dialog, select Proofing and then select AutoCorrect Options.
    3. In the AutoCorrect dialog, select the AutoFormat As You Type tab.
    4. Clear the check box for Internet and network paths with hyperlinks.
    5. Select OK to close the AutoCorrect dialog.
    6. Select OK to close the Excel Options dialog.

    It seems that on any network shared drive Excel spreadsheets formats hyperlinks in absolute format instead of relative format (despite all of the above). Does anyone have any idea what the cause is and what can be done to force relative format ? Thanks again.

+ 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. HYPERLINK forumla with hyperlink base
    By qwicker in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-08-2013, 11:55 AM
  2. Excel base hyperlink question
    By Spa69 in forum Excel General
    Replies: 1
    Last Post: 04-19-2012, 01:32 PM
  3. hyperlink base not saved
    By Patricia Shannon in forum Excel General
    Replies: 0
    Last Post: 02-15-2006, 02:40 PM
  4. hyperlink base not saved
    By Patricia Shannon in forum Excel General
    Replies: 0
    Last Post: 02-14-2006, 08:55 PM
  5. Excel Hyperlink Base Directory
    By Chris Ince in forum Excel General
    Replies: 2
    Last Post: 11-07-2005, 04:55 PM
  6. [SOLVED] hyperlink base address
    By RWS in forum Excel General
    Replies: 6
    Last Post: 11-06-2005, 01:20 AM
  7. Hyperlink base - sharing problem
    By tirades in forum Excel General
    Replies: 1
    Last Post: 01-06-2005, 05:22 AM

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