+ Reply to Thread
Results 1 to 8 of 8

Need Help in finding the exact part of column in whole column using Macro

  1. #1
    Registered User
    Join Date
    03-21-2014
    Location
    Germany
    MS-Off Ver
    Excel 2010
    Posts
    80

    Question Need Help in finding the exact part of column in whole column using Macro

    Please Login or Register  to view this content.
    This code searches first 10 rows for the word Time in it and copies the whole column and paste it to another sheet named Sheet 1 ( Time column may start from the mid and it can have some other values above it)..What I want is that it should just start copying from Title "time" until the last entry of this column time and pastes it in another sheet ....
    Need Modification Guys !!!

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Need Help in finding the exact part of column in whole column using Macro

    Maybe:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-21-2014
    Location
    Germany
    MS-Off Ver
    Excel 2010
    Posts
    80

    Re: Need Help in finding the exact part of column in whole column using Macro

    Bro its not working!!!

    For example in excel attached file there is a time column...above this column there are some values which i want to avoid...and want to copy only time portion to next sheet named Sheet 1
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Need Help in finding the exact part of column in whole column using Macro

    There was another character in the cell. Try:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    03-21-2014
    Location
    Germany
    MS-Off Ver
    Excel 2010
    Posts
    80

    Re: Need Help in finding the exact part of column in whole column using Macro

    You missed only one part...I Have solved it with your help Thanks
    This is the code
    Please Login or Register  to view this content.
    Last edited by Haidar123; 03-25-2014 at 07:41 AM.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    47,995

    Re: Need Help in finding the exact part of column in whole column using Macro

    Alternatively, try this:

    Please Login or Register  to view this content.

    Note that UsedRange can be unreliable and return a higher value than is current.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  7. #7
    Registered User
    Join Date
    03-21-2014
    Location
    Germany
    MS-Off Ver
    Excel 2010
    Posts
    80

    Re: Need Help in finding the exact part of column in whole column using Macro

    Thanks to All it solved My problem

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    47,995

    Re: Need Help in finding the exact part of column in whole column using Macro

    You're welcome. Thanks for the rep.

+ 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] Need to Fix a Macro that Should Find an exact number in a Column then Transfer data
    By sliesneekr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-14-2014, 02:11 PM
  2. [SOLVED] Finding a match in part of a column
    By j_Southern in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-10-2013, 07:42 AM
  3. Replies: 4
    Last Post: 02-19-2013, 02:19 PM
  4. Replies: 2
    Last Post: 02-27-2011, 11:59 AM
  5. Replies: 3
    Last Post: 05-20-2010, 09:54 AM

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