+ Reply to Thread
Results 1 to 26 of 26

Finding a column in one sheet and pasting in another sheet- ones I found dont work

  1. #1
    Registered User
    Join Date
    12-20-2013
    Location
    austin
    MS-Off Ver
    Excel 2010
    Posts
    18

    Exclamation Finding a column in one sheet and pasting in another sheet- ones I found dont work

    Hi Everyone,
    I hope to get a reply soon this is my first time on here although I have been here for a while, sorry.

    My goal is to find a column header name "Current" which could be ANYWHERE in a worksheet (worksheet name-- >"00-1820080") and paste it to another sheet (worksheet name ---> "Upload") on column I.
    I have the following formulas but they failed to solve my problem, they keep posting Column I from (worksheet name-- >"00-1820080") to Column I on (worksheet name ---> "Upload") ... I don't want that:

    Please Login or Register  to view this content.

    AND I have tried this following formula as well .. bother don't work .. first one was working fine for a while and not it doesn't work :S

    Please Login or Register  to view this content.
    Last edited by FDibbins; 06-04-2015 at 06:15 PM.

  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: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    Maybe:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    12-20-2013
    Location
    austin
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    Good Morning John,

    Thank you so much for your reply, I just tried the formula and it still doesn't seem to work... it seems to skip over that code.
    I can attach the file..
    the form tab has the button to run the macro. and that code is located in the "createupload" module it is located in the top after the "headings"
    ... well not im trying to attach the file and its not letting me attach it, keeps loading.

  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: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    Can you attach a sample with some dummy data. To attach a file click on Go Advanced, scroll down to the Manage Attachments button, browse to the required file, and then push the Upload button then hit done.

  5. #5
    Registered User
    Join Date
    12-20-2013
    Location
    austin
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    I tried that and since then it is still "uploading" and nothing is being uploaded.

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

    Re: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    You don't have too upload your original file. The size may be too large. Just create a sample with a little data, enough to show what the problem is. Then we can take a look at it.

  7. #7
    Registered User
    Join Date
    12-20-2013
    Location
    austin
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    Trying a 600kb file now and its still "uploading"

  8. #8
    Registered User
    Join Date
    12-20-2013
    Location
    austin
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    Can anyone help?

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    Reduce your sample workbook to just what you need to show what you have, and what you want. Remove anything that does not directly relate to your question, then try the upload again
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  10. #10
    Registered User
    Join Date
    12-20-2013
    Location
    austin
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    I have done that over and over again to the point where my workbook was 600kb and it still didn't work.

    I can paste all my code below...
    Please Login or Register  to view this content.
    Last edited by FDibbins; 06-04-2015 at 06:14 PM.

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    You need to use code tags when posting code, see point 1 of my signature.

    I will add them for you - this time

    edit: OK, I see that you did try to use code tags, you didnt close them

  12. #12
    Registered User
    Join Date
    12-20-2013
    Location
    austin
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    here is the code for newother_

    Please Login or Register  to view this content.

  13. #13
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    The / goes before the CODE, not after

  14. #14
    Registered User
    Join Date
    12-20-2013
    Location
    austin
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    Oh I see! Ill be keen to do that next time...

  15. #15
    Registered User
    Join Date
    12-20-2013
    Location
    austin
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    So whats happening is that im trying to find a column with the heading "current" which could be anywhere on sheet 00-1820080 and paste it on column "I" on sheet "Upload"...
    instead of doing that the code picks up column I and posts to column on the other sheet.

  16. #16
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    Hi Ali,

    Try John's program with this adjustment:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  17. #17
    Registered User
    Join Date
    12-20-2013
    Location
    austin
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    I will definitely try and let you know, just left work... thank you so much!

  18. #18
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    You're welcome - hope it works

  19. #19
    Registered User
    Join Date
    12-20-2013
    Location
    austin
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    That didn't work either, the whole formula was ignored. so weird! I mean this isn't the most technical thing. I wish I could email the file since its not uploading.

  20. #20
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    Hi Ali,

    Try this - it will search the first 5 rows:

    Please Login or Register  to view this content.

  21. #21
    Registered User
    Join Date
    12-20-2013
    Location
    austin
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    It works! :D
    Thank you so so so much!
    Been trying to figure this our for several days now!
    I appreciate the help from you guys!

  22. #22
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    You're welcome and thanks for the rep!

    *Your header probably had trailing space(s).

  23. #23
    Registered User
    Join Date
    12-20-2013
    Location
    austin
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    It works! :D
    Thank you so so so much!
    Been trying to figure this our for several days now!
    I appreciate the help from you guys!

  24. #24
    Registered User
    Join Date
    12-20-2013
    Location
    austin
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    sorry It sent the same message twice.. what did you mean by "trailing spaces"?

  25. #25
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Finding a column in one sheet and pasting in another sheet- ones I found dont work

    Hi Ali,

    Instead of the header reading "Current" it probably reads "Current " and as such wouldn't be seen as a match.

  26. #26
    Registered User
    Join Date
    12-20-2013
    Location
    austin
    MS-Off Ver
    Excel 2010
    Posts
    18
    Quote Originally Posted by xladept View Post
    Hi Ali,

    Instead of the header reading "Current" it probably reads "Current " and as such wouldn't be seen as a match.
    Oh, I see! That could very well be it! Thanks so much!

+ 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] Copy row from one sheet and paste to another if a key word is found in 1 column of sheet 1
    By killdozer in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 04-17-2014, 02:27 PM
  2. Macro for finding cell value and pasting entire column in new sheet
    By rexer231 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-15-2013, 07:20 AM
  3. Replies: 16
    Last Post: 01-20-2013, 09:40 AM
  4. VBA Codes dont work when sheet is protected
    By SARC777 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 08-18-2010, 10:32 AM
  5. [SOLVED] when I protect my sheet enter tab, & arrow keys dont work...
    By greg in forum Excel General
    Replies: 0
    Last Post: 05-25-2005, 11:06 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