+ Reply to Thread
Results 1 to 9 of 9

Need help using data from UserForm

  1. #1
    Registered User
    Join Date
    04-12-2022
    Location
    Newark, DE
    MS-Off Ver
    365
    Posts
    4

    Need help using data from UserForm

    Hi all, multi part question. I have a UserForm, where the user selects 1 or more of 52 fields and i need those fields pasted as headers on another file. Originally i accomplished this with the code below, but i fee like there is a better way.

    Please Login or Register  to view this content.
    Secondly, i need to perform a vlookup to another dataset based on the fields they select. Currently i cannot think of a way to dynamically have it identify which field was selected and perform the vlookup from there. My only thought is to do something like this. But again i feel like there is a better way since field BA could be any of the available 52 fields. ( i only included 7 of the 52 fields below as an example).
    Please Login or Register  to view this content.
    Xpost
    on Mr.Excel
    Not sure how much activity either sites get
    Last edited by joshhud; 04-13-2022 at 08:05 AM.

  2. #2
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,781

    Re: Need help using data from UserForm

    I was going to have a look how far they got on the MrExcel post but There is no hyperlink to it.
    Last edited by jolivanes; 04-12-2022 at 05:55 PM.

  3. #3
    Registered User
    Join Date
    04-12-2022
    Location
    Newark, DE
    MS-Off Ver
    365
    Posts
    4
    Quote Originally Posted by jolivanes View Post
    I was going to have a look how far they got on the MrExcel post but There is no hyperlink to it. Too bad
    Not allowed to post links because I'm new, but it's also a new post. No progress.

  4. #4
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,781

    Re: Need help using data from UserForm

    Re: "Not allowed to post links because I'm new"
    Sorry about that. I was not aware of that because in the Forum Rules (#3) it mentions to add a hyperlink.
    Have you read the "Forum Rules"? There is more interesting stuff in there.

  5. #5
    Registered User
    Join Date
    04-12-2022
    Location
    Newark, DE
    MS-Off Ver
    365
    Posts
    4

    Re: Need help using data from UserForm

    Yeah i thought that was interesting too, but alas i cant post links.

  6. #6
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,411

    Re: Need help using data from UserForm

    see big yellow banner - upload your workbook.
    far easier then to give you a case specific solution.
    Torachan,

    Mission statement; Promote the use of Tables, Outlaw the use of 'merged cells' and 'RowSource'.

  7. #7
    Registered User
    Join Date
    04-12-2022
    Location
    Newark, DE
    MS-Off Ver
    365
    Posts
    4

    Re: Need help using data from UserForm

    Quote Originally Posted by torachan View Post
    see big yellow banner - upload your workbook.
    far easier then to give you a case specific solution.
    This is, hands down, the least helpful forum. Yes i see the BIG yellow banner. I am not able to do so due to security implimentations on my work computer.

  8. #8
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: Need help using data from UserForm


    As guessing can't be coding so the help is at the level of the initial post …

  9. #9
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    O365 V2408
    Posts
    15,228

    Re: Need help using data from UserForm

    This is, hands down, the least helpful forum.
    Hundreds of thousands of others will disagree...Mind Readers...We are Not...
    AFAIK...No coder can look at your specified code supplied and supply a solution without seeing your actual data layout...
    I am not able to do so due to security implimentations on my work computer.
    Solution...Make use of your private PC...
    Good Luck...
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

+ 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] Save data from UserForm into Sheet (how to resolve runtime errors in UserForm tutorial)
    By eighty6 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-14-2015, 07:41 PM
  2. Userform, Search, copy an paste data from a userform database to another sheet.
    By masro in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-15-2015, 02:42 PM
  3. Replies: 0
    Last Post: 02-27-2014, 04:43 PM
  4. combining chart userform and data transfer userform into 1 userform
    By H_Kennedy in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-04-2014, 07:11 AM
  5. combining chart userform and data transfer userform into 1 userform
    By H_Kennedy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-03-2014, 12:28 PM
  6. Replies: 4
    Last Post: 11-28-2012, 06:09 PM
  7. [SOLVED] Copy Data loaded via Userform to a worksheet named in 1 field of the Userform
    By audax48 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-15-2012, 01:44 PM

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