Results 1 to 2 of 2
  1. #1
    johnseito is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    419

    Workbooks Activate - script out of range error

    Seems like if we open a workbooks from a path, close it, open it again, and use code workbooks(wb_variable).activate is giving a script out of range error.
    How do we resolve this ?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    wb_variable cannot be > than the # workbooks.
    What does wb_variable equal? did it change?

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Web Browser Google Maps Error, Script Error
    By trini46petes in forum Access
    Replies: 2
    Last Post: 03-03-2015, 06:36 AM
  2. Script out of range
    By Ianw in forum Access
    Replies: 6
    Last Post: 02-18-2015, 10:11 PM
  3. Replies: 1
    Last Post: 10-14-2014, 11:26 AM
  4. Replies: 1
    Last Post: 01-09-2013, 04:11 PM
  5. Replies: 4
    Last Post: 12-14-2012, 09:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums