+ Reply to Thread
Results 1 to 4 of 4

runtime error 9 Subscript Out of Range

  1. #1
    Forum Contributor
    Join Date
    02-27-2020
    Location
    Rotterdam, The Netherlands
    MS-Off Ver
    2013
    Posts
    425

    runtime error 9 Subscript Out of Range

    Hi,

    I created a macro but when i run it i get the error 9 Subscript Out of Range.
    The name of the file is the same as in the script of my macro.
    What am i doing wrong here?

    Please Login or Register  to view this content.
    Best regards
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: runtime error 9 Subscript Out of Range

    Please Login or Register  to view this content.

  3. #3
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: runtime error 9 Subscript Out of Range

    Try this code
    Please Login or Register  to view this content.
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  4. #4
    Forum Contributor
    Join Date
    02-27-2020
    Location
    Rotterdam, The Netherlands
    MS-Off Ver
    2013
    Posts
    425

    Re: runtime error 9 Subscript Out of Range

    Thanks Jindon, that fixed the problem!

+ 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. Runtime error 9 Subscript out of range
    By ricklou in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-12-2019, 12:17 PM
  2. Runtime 9 Error - Subscript Out of Range
    By Dal123 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-02-2017, 10:35 AM
  3. runtime error 9 subscript out of range
    By Sanjibghosh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-29-2016, 06:22 AM
  4. [SOLVED] runtime error 9 subscript out of range
    By Ted871 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-21-2013, 06:33 AM
  5. [SOLVED] runtime error 9 - subscript out of range
    By Blake 7 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-10-2012, 12:20 PM
  6. [SOLVED] Runtime Error '9' Subscript out of range HELP
    By Brandon Johnson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-02-2006, 01:50 PM
  7. Runtime Error 9 Subscript out of Range
    By TQO23 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-02-2005, 09:42 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