+ Reply to Thread
Results 1 to 2 of 2

Error of Multiple Range in VBA

  1. #1
    Registered User
    Join Date
    08-16-2014
    Location
    Houston
    MS-Off Ver
    2007
    Posts
    0

    Exclamation Error of Multiple Range in VBA

    Hello , I have problem to select more 20 different range. For example. I have variable strR = "A1215:S1215,A1256:S1256,A1292:S1292,A1328:S1328,A1369:S1369,A1405:S1405,A1434:S1434,A1470:S1470,A1506:S1506,A1542:S1542,A1574:S1574,A1610:S1610,A1646:S1646,A1682:S1682,A1718:S1718,A1754:S1754,A1783:S1783,A1812:S1812,A1844:S1844,A1876:S1876,A1912:S1912,A1948:S1948" and I want to select all these range using range(strR).select but there is error. Actually on that string there are 22 different range, but if I select less then 20 different range there is no error. Please help to resolve the issue?

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166
    Hello bydeshmukh,

    Welcome to Excelforum. Be a part of large Excel community. Enjoy Learning.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. [SOLVED] Multiple Range in UserForm ComboBox Error
    By Faridwahidi in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-04-2014, 02:58 AM
  2. [SOLVED] Error when copying multiple union range
    By strud in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-12-2014, 07:41 AM
  3. [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
  4. Type Mismatch error when calculating a set of functions on a multiple range
    By AnnaDana in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-20-2013, 02:27 PM
  5. [SOLVED] In multiple sheet copy error subscript out of range ?? HELP
    By Eddy Stan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-22-2006, 01:00 AM

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