+ Reply to Thread
Results 1 to 2 of 2

VBA Code to link macro-enabled workbook

  1. #1
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,273

    VBA Code to link macro-enabled workbook

    Hi All

    Me again. I have the following code which links my invoice No in Column a with a pdf of the same name. How can I add to the code which will allow for me to link a SheetName in column B with the macro enabled Sheet with the same name.

    Sheet name is "Steven1" and Column B Cell value = "Steven1"
    Public FoundIt As Boolean, Inv As Range

    Please Login or Register  to view this content.

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,273

    Re: VBA Code to link macro-enabled workbook

    Sorry, got it. So simple.
    Changed
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    And added extra line of code to include xlsm.doc
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

+ 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. track changes in a macro enabled workbook
    By bqheng in forum Excel General
    Replies: 1
    Last Post: 04-16-2015, 04:19 AM
  2. [SOLVED] Saving workbook as 2003 xls then reopen macro enabled workbook
    By JPalms in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-14-2013, 01:24 PM
  3. Importing XLS workbook (3 worksheets) into Macro enabled workbook
    By c878923 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-22-2013, 09:47 PM
  4. [SOLVED] VBA to save macro enabled workbook to regular workbook
    By Jiptastic in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-15-2013, 09:41 PM
  5. [SOLVED] Need Help With this Macro Enabled Workbook
    By Bootkie2 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-14-2012, 09:37 PM
  6. [SOLVED] Open a macro-enabled workbook from another workbook
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-14-2011, 11:39 AM
  7. macro enabled workbook problems
    By devonkay in forum Excel General
    Replies: 1
    Last Post: 03-30-2009, 11:28 PM

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