+ Reply to Thread
Results 1 to 4 of 4

selecting multiple rows with for next loop?

  1. #1
    Registered User
    Join Date
    06-26-2010
    Location
    Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    12

    selecting multiple rows with for next loop?

    I'm new to VBA and i'm trying to make a macro which selects 1 in every 4 rows. Actually to be more precise cell (x, 2) till (x, 36) but selecting multiple rows is hard enough.

    Please Login or Register  to view this content.
    This macro only selects the row of the last step. How do i have it perform a multiple selection?
    Last edited by Cerberus; 06-28-2010 at 10:12 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: selecting multiple rows with for next loop?

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: selecting multiple rows with for next loop?

    I've added Tags this time

    Try
    Please Login or Register  to view this content.
    Although you should not need to select the range

  4. #4
    Registered User
    Join Date
    06-26-2010
    Location
    Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: selecting multiple rows with for next loop?

    Thanks Roy, your anwser worked perfectly

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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