+ Reply to Thread
Results 1 to 4 of 4

Loop thru non-contiguous selection of cells

  1. #1
    Registered User
    Join Date
    02-20-2012
    Location
    Chicago, Illinois
    MS-Off Ver
    Excel 2010
    Posts
    25

    Loop thru non-contiguous selection of cells

    Hello,

    I've been away from Excel VBA 2010 for nine months, and I need to be completely retrained! [sigh] Well, honestly, I probably couldn't have figured this out nine months ago either! And I'm having a heck of a time finding the answers in this forum!

    My user would be on the MySheet worksheet. Let's say they select a cell in three non-contiguous rows: row 2, 5, 7.

    My macro would then get initiated, and I want to loop through each of the three rows in turn, and take some actions based on values from each row.

    Could someone get me pointed in the right direction please?

    Thank you very kindly

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Loop thru non-contiguous selection of cells

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    02-20-2012
    Location
    Chicago, Illinois
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: Loop thru non-contiguous selection of cells

    Ya' don't mess with shg Texas! Just what I needed to thaw out my brain-freeze! Thanks so much!

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Loop thru non-contiguous selection of cells

    You're welcome.

+ 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] copy and paste from contiguous cells to non-contiguous cells using the = function
    By shameus in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-05-2013, 06:48 PM
  2. [SOLVED] How to sum non-contiguous columns applied as a formula on contiguous cells
    By figo12 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-09-2013, 01:07 PM
  3. Copy Cells from non-contiguous selection
    By amartino44 in forum Excel General
    Replies: 4
    Last Post: 09-13-2013, 02:54 PM
  4. Non contiguous cells selection in a Range in Excel for Emailing with Outlook 2007
    By nuttycongo123 in forum Outlook Programming / VBA / Macros
    Replies: 11
    Last Post: 03-02-2011, 08:44 PM
  5. deselect from a non-contiguous selection?
    By me in forum Excel General
    Replies: 4
    Last Post: 11-15-2005, 03:30 PM

Tags for this Thread

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