+ Reply to Thread
Results 1 to 3 of 3

Referencing workbooks

  1. #1
    Forum Contributor
    Join Date
    10-04-2004
    MS-Off Ver
    2013
    Posts
    148

    Referencing workbooks

    Hi!

    I'm trying to use a reference to a Workbook using the "Set" statement, as I normally do for a worksheet

    Example
    Please Login or Register  to view this content.
    My code is
    Please Login or Register  to view this content.
    I get a Subscript out of Range error here...

    Any suggestions?

    Thanks in advance!

  2. #2
    Registered User
    Join Date
    06-12-2008
    Location
    Newbury
    MS-Off Ver
    Office 365 ProPlus
    Posts
    92
    You've got "workbook" instead of "workbooks"

  3. #3
    Forum Contributor
    Join Date
    10-04-2004
    MS-Off Ver
    2013
    Posts
    148
    Yes, I noticed that too. That's not the problem.

    The problem is that the Set statement does not work with complete file paths or even with closed workbooks.

    Is there a way to bypass this?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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