+ Reply to Thread
Results 1 to 4 of 4

End right Skip Blanks

  1. #1
    Registered User
    Join Date
    11-19-2008
    Location
    Oxford, UK
    MS-Off Ver
    2003 (Work) / 2007 (Home)
    Posts
    60

    End right Skip Blanks

    Hi,

    I have a range I would like to select but this includes blanks. I would like the VB to skip these blanks and find the last value / text in this row and then select that entire row.

    Here is part of the code I have:-
    Please Login or Register  to view this content.
    This only goes until the first blank......


    Help greatly appreciated

    Kind Regards
    Matthew
    Last edited by SystemsAccountant; 11-26-2008 at 07:04 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
    Remember you do not generally need to select ranges
    Please Login or Register  to view this content.
    Hope that helps.

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

    Free DataBaseForm example

  3. #3
    Valued Forum Contributor Richard Schollar's Avatar
    Join Date
    05-23-2006
    Location
    Hampshire UK
    MS-Off Ver
    Excel 2002
    Posts
    1,264
    Hi Matthew

    You can go in the reverse direction:

    Please Login or Register  to view this content.
    Richard
    Richard Schollar
    Microsoft MVP - Excel

  4. #4
    Registered User
    Join Date
    11-19-2008
    Location
    Oxford, UK
    MS-Off Ver
    2003 (Work) / 2007 (Home)
    Posts
    60
    Thanks Both.

    I opted to go with Richards solution as I understand that one more at the moment.

    Matt

+ 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