+ Reply to Thread
Results 1 to 2 of 2

Run-time Error '9'; Script Out of Range Error.

  1. #1
    Registered User
    Join Date
    01-02-2021
    Location
    Mississauga
    MS-Off Ver
    Office 360
    Posts
    6

    Run-time Error '9'; Script Out of Range Error.

    I am getting the above error, when running my code.

    I have opened all of the Workbooks being referred to, so the code should be able to refer to it and run smoothly. But I"m getting an error code.

    As an example, for "
    Please Login or Register  to view this content.
    ,
    it says 'wbSouceVarCBFulfil=Nothing'

    It is the same errors and notification for the other Workbooks being referred to, too, for some reason.




    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Run-time Error '9'; Script Out of Range Error.

    Did you open the workbooks in the same instance of Excel as the workbook that has the code?
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ 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. VBA script error help: Run-time error'9': Subscript out of range.
    By TrinhNgocAnh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-20-2018, 05:34 AM
  2. Help with script that result in Run-time error
    By excelnabb in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-08-2018, 02:02 PM
  3. [SOLVED] Getting Run Time Error 9: Sub script out of Range.
    By navbains in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-02-2015, 03:24 PM
  4. run time error 9: script out of range?
    By sanjayrshn.hzb in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 08-04-2014, 05:38 PM
  5. [SOLVED] Run-time error '9': subscript out of range - error occurs on multiple computers except one
    By BrettE in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-06-2014, 11:19 PM
  6. [SOLVED] Run Time Error 9 " Script out of range
    By vaibhav2312 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-10-2013, 08:10 AM
  7. Course Bookings Run-time error '9': Script out of range
    By tomsmart@smart- in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-18-2008, 10:45 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