+ Reply to Thread
Results 1 to 2 of 2

How to select multiple ranges in VBA?

  1. #1
    Registered User
    Join Date
    12-31-2012
    Location
    Poland
    MS-Off Ver
    2016
    Posts
    58

    How to select multiple ranges in VBA?

    I want to have three groups of cells checked
    Please Login or Register  to view this content.
    and cleared
    Please Login or Register  to view this content.
    With that range though, a compile error appears. How to define the columns in question so that VBA code recongnizes them?

  2. #2
    Registered User
    Join Date
    07-28-2015
    Location
    Pruszków, Poland
    MS-Off Ver
    365 Business
    Posts
    58

    Re: How to select multiple ranges in VBA?

    Hey, Try to do it without quotation marks:
    Please Login or Register  to view this content.

+ 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. Select Multiple Ranges for PDF Output
    By rob_h in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-26-2017, 04:06 AM
  2. [SOLVED] Select multiple sheets and ranges to run code
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-14-2016, 09:56 AM
  3. [SOLVED] How to Deselect Multiple Ranges on Multiple Sheets After Select & Clear
    By catnam in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-20-2014, 02:12 PM
  4. Excel 2008 : Select multiple ranges with VBA
    By Demon4231 in forum Excel General
    Replies: 2
    Last Post: 11-06-2010, 08:12 AM
  5. How to loop with union() / select multiple ranges at ones
    By furiousfox in forum Excel General
    Replies: 6
    Last Post: 06-02-2010, 08:02 AM
  6. Select Multiple Ranges
    By JimmyA in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-09-2009, 08:06 AM
  7. How to select multiple ranges in Excel with vbs
    By Stefan Mueller in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-04-2005, 12:06 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