+ Reply to Thread
Results 1 to 6 of 6

Help with sort out only numbers and copy to next sheet

  1. #1
    Registered User
    Join Date
    03-22-2012
    Location
    Bangalore, IND
    MS-Off Ver
    EXCEL 2010, 2007
    Posts
    90

    Help with sort out only numbers and copy to next sheet

    Hi All,
    *
    Firstly let me thanks to the admin and all the members for
    their wonderful job which they are contributing in this great forum. I have
    learnt a lot from all of you.

    Please see below specific points for what I have and what I need, apologies in advance if I this is not very clear

    I am stucked with up a sheet which have a data and I want some specific columns to be copied to be a workbook where I run this macro.. I am attaching the workbook .. so u will be more clear.. ssss.xlsx
    Last edited by vpnvipin; 12-09-2012 at 04:16 AM.
    Vipin Oceans

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Help with sort out only numbers and copy to next sheet

    hi vpnvipin, i didnt see the sorting part. but this might be something you can use:

    Please Login or Register  to view this content.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    03-22-2012
    Location
    Bangalore, IND
    MS-Off Ver
    EXCEL 2010, 2007
    Posts
    90

    Re: Help with sort out only numbers and copy to next sheet

    tnx a lot benishiryo

    Repped!!!

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Help with sort out only numbers and copy to next sheet

    @benishiryo

    I folow this tread to learn of it myself.

    I get an failure (yellow mark) with this line.

    It is the line which will copies the amounts.

    I'm using Excel 2007.

    Please Login or Register  to view this content.
    I don't see what had to be changed.

    Thanks for the PM.

    Here is my workbook.

    It gives the message
    failure 13, type don't match (in dutch)

    Can the issue be, that there is a . (dot) in the amount instead of a , (komma) which is normaly in my Dutch version?
    Attached Files Attached Files
    Last edited by oeldere; 12-09-2012 at 04:44 AM.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  5. #5
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Help with sort out only numbers and copy to next sheet

    @oeldere. i tried to run your file & it worked indeed. so i tried to change my control panel settings to Dutch (Netherlands) formatting. it had the same error message as yours. i'm really not familiar with such settings issues but i discovered something; the reason why i had to add "0" to the codes is because in sheet "jam", column S, U & W are texts. what seems weird is that the Dutch settings recognised only column S as text. you should be able to see the green triangles on the top left of the cells for column S. those can help you convert to numbers. but this is not existent in column U & W. if i changed it to:
    12.00
    and
    5.56
    it works. so i dont think it's the dot & comma problem. or if you remove the "+ 0" from my codes, it would also work but not convert them to numbers. sorry, this is all i could find out.

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Help with sort out only numbers and copy to next sheet

    @benishiryo
    Please Login or Register  to view this content.
    Please don't apologize, you did a tremendous job.

    Please Login or Register  to view this content.
    I have (earlier) found code to convert text to numbers I could use to solve that problem.

    Thanks again, for this clear explaination.

    I'm realy glad with it.

+ 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.6.0 RC 1