+ Reply to Thread
Results 1 to 7 of 7

Help with Userform data placement into two sheets

  1. #1
    Valued Forum Contributor
    Join Date
    03-17-2007
    Location
    Michigan
    MS-Off Ver
    Excel 2016
    Posts
    951

    Help with Userform data placement into two sheets

    I am looking for assistance in having two fields in an existing userform of mine place data into two separate worksheets but in the same workbook. Currently the data in my userform places data in various columns on a sheet labeled "2010". I would like my userform field data for "assigned" and "status" to remain in the same place for the 2010 sheet, but to be also placed in another sheet labeled "Assignment"
    In the "Assignment" sheet the "assigned" data would begin in column C, and the "Status" data would be in column D. It would be preferred to have the data placed in these columns, but in the corresponding row number from the 2010 sheet. I hope this makes sense and is possible. Here is my existing code which is affiliated to my current user form, which places the data in the 2010 sheet only. Thanks in advance for any assistance and/or time looking at this!
    I've attached a sample workbook to hopefully help with understanding what I'm trying to do. Thanks again!

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by lilsnoop; 12-13-2011 at 06:27 PM. Reason: to add file

  2. #2
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Help with Userform data placement into two sheets

    hi
    try to add this piece of code to yr existing code and see if it helps you.

    Please Login or Register  to view this content.
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Help with Userform data placement into two sheets

    You don't need all thos with statements

    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Valued Forum Contributor
    Join Date
    03-17-2007
    Location
    Michigan
    MS-Off Ver
    Excel 2016
    Posts
    951

    Re: Help with Userform data placement into two sheets

    Sorry for my belated reply, but it was a hectic & long day at work today. I really appreciate both of your time looking into this for me. I've tried each of your code and neither has worked for me without errors developing. I'm sure it is something I'm doing when trying to import it in/replace my existing code. Any possibility you could put the code in my sample and re-attach it? That would help me figure out what I'm doing wrong. Thanks so much if this is possible!

  5. #5
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Help with Userform data placement into two sheets

    Roy, thank you!

    lilsnoop, see the file attached, hope it helps you!
    Attached Files Attached Files
    Last edited by john55; 12-13-2011 at 03:06 PM.

  6. #6
    Valued Forum Contributor
    Join Date
    03-17-2007
    Location
    Michigan
    MS-Off Ver
    Excel 2016
    Posts
    951

    Re: Help with Userform data placement into two sheets

    Thanks again to the both of you! Got my file working just like I needed it to due to the assistance of both of you!

  7. #7
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Help with Userform data placement into two sheets

    glad to be of help!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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