+ Reply to Thread
Results 1 to 5 of 5

Multiple range based on a particular column

  1. #1
    Spammer
    Join Date
    06-27-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    183

    Multiple range based on a particular column

    Hi,

    Kindly help to correct the below code. I need to select Column M,N, R,Y and Z to the row limit of column "A".


    Please Login or Register  to view this content.
    Regards,

    Prabhu
    Last edited by zbor; 07-10-2014 at 05:05 AM.

  2. #2
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: ***Multiple range based on a particular column***

    Try:
    Please Login or Register  to view this content.
    Cheers, berlan

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: ***Multiple range based on a particular column***

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: ***Multiple range based on a particular column***

    Hi,

    Use a variable. i.e.

    Please Login or Register  to view this content.
    Incidentally you probably don't need to select the range. If you want to copy itg or delete it or do something else with it just use the appropriate instruction, e.g. replace .Select with .Copy

    Selecting stuff just slows things down. It's one of the disadvantages of never modifying code that's captured by the macro recorder which is almost always beneficial.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Spammer
    Join Date
    06-27-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    183

    Re: ***Multiple range based on a particular column***

    Thanks All !!

+ 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. Replies: 4
    Last Post: 07-19-2013, 04:35 AM
  2. [SOLVED] dynamic range specification (based on column header) in sumproduct multiple condition
    By anand_erin in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-28-2012, 10:16 PM
  3. Replies: 6
    Last Post: 10-18-2012, 03:10 PM
  4. Summing multiple sheet range based on column and offset row lookup
    By SKAh in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-08-2011, 04:52 PM
  5. Macro to Sum Multiple Times in Column Based on Variable Range
    By kareni in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 03-22-2011, 08:15 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