+ Reply to Thread
Results 1 to 2 of 2

Thread: how to copy each row last value in vba

  1. #1
    Registered User
    Join Date
    04-04-2011
    Location
    Pakistan
    MS-Off Ver
    Excel2010
    Posts
    1

    Unhappy how to copy each row last value in vba

    Dear All,

    Your help will be highly regarded.

    I have a sheet in which the data is in rows and my task is to

    Find last non blank (last value) of each row
    compare it with a value , lets say X.

    if
    matched copy whole row
    else

    move to the next row

    I need your cooperation to close my first project in vba. I am searching from last 2 days but still in vain. Hope you guys help me I am new here.
    Last edited by mohsinhafeez; 04-04-2011 at 05:51 AM. Reason: New to forum rules

  2. #2
    Forum Guru pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2010
    Posts
    5,155

    Re: how to copy each row last value in vba

    Hi mohsinhafeez
    Welcome to the forum
    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.
    regards pike

    If the solution helped please donate
    here to the RSPCA

    Sites worth visiting;

    J&R Solutions - royUK

    AJP Excel Information - Andy Pope

    Spreadsheet Toolbox

    VBA for smarties - snb

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0