Results 1 to 15 of 15

Hyperlink to workbook will not open when run as part of macro

Threaded View

  1. #1
    Registered User
    Join Date
    12-08-2015
    Location
    Cincinnati
    MS-Off Ver
    365
    Posts
    26

    Hyperlink to workbook will not open when run as part of macro

    Hello.

    I have a hyperlink to a workbook set to open as part of a macro. When I run the macro the file never opens. Excel just pauses and shows the hourglass and then it goes away. If I click the hyperlink, the linked workbook opens just fine.

    If I set the hyperlink to open a word doc and then run the macro it opens the word doc just fine.

    Could this be an excel setting?

    It has been very frustrating, any help would be appreciated.

    The code I used to open the hyperlink is:

    Sub Macro1()
    '
    ' Macro1 Macro
    '
    
    '
        Range("C18").Select
        Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
    End Sub
    Last edited by jdutle; 12-15-2015 at 06:18 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. macro to open files and copy specific sheet into new workbook (have open files part)
    By dangerdavedsp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-04-2015, 02:23 PM
  2. Copy Data from Closed workbook (bbb.xls) to Open workbook (aaa.xls) (Part 2)
    By alexnkc in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-23-2013, 02:06 AM
  3. hyperlink to open workbook read only
    By shanermuls in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-10-2013, 06:35 AM
  4. Macro to replace part of hyperlink (New Request)
    By SeanPratt in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-07-2013, 10:31 AM
  5. hyperlink wants to reopen already open workbook
    By nigelog in forum Excel General
    Replies: 1
    Last Post: 07-31-2009, 04:40 AM
  6. Macro to replace part of hyperlink
    By snoteborn in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-26-2007, 02:08 PM
  7. Hyperlink To Open Workbook and Particular Tab (Sheet)..Possible?
    By Mhz in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-14-2007, 09:26 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