Page 5 of 11 FirstFirst ... 34567 ... LastLast
Results 41 to 50 of 102

Thread: VBA Copy Rows From One Workbook To text csv File Based On Count In Different Workbook. Cross Posted Chaos

  1. #41
    Senior Member
    Join Date
    Jul 2019
    Posts
    382
    Rep Power
    0
    No Doubt Bro Obviously i am waiting for Alan Sir Only
    But i dont want to irritate Alan bcoz he has helped me alot
    So meanwhile i am thinking about the different ways to solve the same bcoz if Alan was unable to do the same then i will require a
    a different strategy to solve the same

  2. #42
    Sir Moderator sandy666's Avatar
    Join Date
    May 2018
    Posts
    240
    Rep Power
    7
    different way? post#33 - Power Query
    sandy
    I know you know but I forgot my Crystal Ball and don't know what you know also I may not remember what I did weeks, months or years ago so answer asap. Thinking doesn't hurt

  3. #43
    Senior Member
    Join Date
    Jul 2019
    Posts
    382
    Rep Power
    0
    No we will solve the Problem with 2 macros
    Bcoz we will break the process into 2 pieces one macro to count total no. of rows
    & second macro for copy paste to csv
    It will be easier to understand & easy to solve

  4. #44
    Fuhrer, Vierte Reich DocAElstein's Avatar
    Join Date
    Aug 2014
    Posts
    9,521
    Rep Power
    10
    Quote Originally Posted by fixer View Post
    ... i am waiting for Alan Sir Only
    But i dont want to irritate Alan bcoz he has helped me alot
    So meanwhile i am thinking about the different ways to solve the same bcoz if Alan was unable to do the same then i will require a
    a different strategy to solve the same
    I cannot solve a problem if I do not know what the problem is.
    I cannot answer a question if I do not know what the question is.
    The problem in helping you is always the same. It is not VBA Excel problem. Problem is you are not English. You do not understand English language. Problem is always you and English language.

    You ask Question A - We give Answer A
    You ask Question B - We give Answer B
    Usually, those are not the answers that you want...
    You want Answer F - But you cannot speak English. You cannot understand English. You cannot write English. You do not understand English language.
    You try to ask question F. But you fail. You ask any question. You ask always wrong question. You write mostly rubbish.

    We must keep trying to guess what you want




    If you want more help from me – Do all this:
    _1) Read this : https://excelfox.com/forum/showthrea...ll=1#post13222
    _2) Read this : https://excelfox.com/forum/showthrea...ll=1#post13208
    _3) Run macro Sub Step14_DogShit() https://excelfox.com/forum/showthrea...ll=1#post13217

    _4) Now tell me what that macro does for you? - What results do you get ?

    _.____

    You have the whole day , Today , to do this all. Take your time. Do it all. Read it all. Do it slowly. I will not answer any more here today. This is my last post here today.
    I will look again tomorrow
    .




    If you cannot understand what we write, and if you do not do what we ask, then only God can help you. God can see inside your head. God knows what is your question. We are not God. We cannot see inside your head.
    Last edited by DocAElstein; 05-06-2020 at 03:49 PM.

  5. #45
    Senior Member
    Join Date
    Jul 2019
    Posts
    382
    Rep Power
    0
    U haven't understood the problem
    but u have mentioned something plz see the sample pic of the same Doc Sir
    U can run the macro and u can see the output is this the same out put which u get after runing the macro which u mentioned in the pic
    No Probelm Doc Sir
    i am breaking the process in two parts
    1)first macro for counting the rows
    2)second macro for copy paste
    Attached Images Attached Images

  6. #46
    Sir Moderator sandy666's Avatar
    Join Date
    May 2018
    Posts
    240
    Rep Power
    7

    Cool

    the problem is because you trying open csv (result) by double click which is not a proper action
    you should import csv with defined delimiter (tab)
    with double click, Excel ignore tab as delimiter and you've all data in single column

    as i said this is a comma separated values type of file and if you define delimiter in your vba comma instead of tab it will work with dbl click or just import

    Alan did his job great with your requirement and you got csv with copied data, but what will you do with this csv (and problems with that) is on your side

    regards
    sandy
    I know you know but I forgot my Crystal Ball and don't know what you know also I may not remember what I did weeks, months or years ago so answer asap. Thinking doesn't hurt

  7. #47
    Senior Member
    Join Date
    Jul 2019
    Posts
    382
    Rep Power
    0
    sandy sir plz share the complete working code if u know
    Bro i am not that much smart in vba
    U r giving me the hint
    But i dont know much about vba
    I am not a Vba coder
    My dream is to become a Speculator
    & without u I can't create a system & if i am unable to create a system then i cant achieve my dream
    Last edited by fixer; 05-06-2020 at 07:12 PM.

  8. #48
    Sir Moderator sandy666's Avatar
    Join Date
    May 2018
    Posts
    240
    Rep Power
    7
    I think you got a vba code in the first few posts from Alan
    the code generate result with tab as delimiter but you trying to open this csv in Excel by double click not import with defined delimiter (tab)
    you got what you want but you didn't say what you want to do after vba generate csv file

    you should use this option if you want "open" csv with tab delimiter in Excel
    frmt.png
    Last edited by sandy666; 05-06-2020 at 07:30 PM.
    sandy
    I know you know but I forgot my Crystal Ball and don't know what you know also I may not remember what I did weeks, months or years ago so answer asap. Thinking doesn't hurt

  9. #49
    Senior Member
    Join Date
    Jul 2019
    Posts
    382
    Rep Power
    0
    No i want to make it automatic, vba code should do all the work
    I will not do any manual work

  10. #50
    Sir Moderator sandy666's Avatar
    Join Date
    May 2018
    Posts
    240
    Rep Power
    7
    so you don't need step(s) with csv
    just create vba to generate result directly in excel
    sandy
    I know you know but I forgot my Crystal Ball and don't know what you know also I may not remember what I did weeks, months or years ago so answer asap. Thinking doesn't hurt

Similar Threads

  1. Replies: 4
    Last Post: 04-10-2014, 10:58 PM
  2. Replies: 2
    Last Post: 09-18-2013, 12:30 AM
  3. TO convert Excel entire workbook in csv format
    By pritee in forum Excel Help
    Replies: 11
    Last Post: 08-16-2013, 11:28 AM
  4. Replies: 4
    Last Post: 06-20-2013, 04:25 PM
  5. Replies: 9
    Last Post: 09-09-2011, 02:30 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •