+ Reply to Thread
Results 1 to 5 of 5

Input 6 values, transpose to bottom of a column

  1. #1
    Registered User
    Join Date
    08-18-2009
    Location
    Cincinnati
    MS-Off Ver
    Excel 2007
    Posts
    96

    Input 6 values, transpose to bottom of a column

    Perhaps this is a programming question (I will delete from "General").

    Is it possible to ask user to input 6 values in 6 cells, after he hits enter for the last cell, all 6 cells are copied to the bottom of a column and values reset to blanks-ready for next 6 values?

    I thought something like Forms could be used, but cannot get anything to work well.

    The attached file is simplified, but these 6 inputs would be used to figure out production by week, or by machine, or by shift, etc...

    Thank you for any help you can offer.
    Attached Files Attached Files
    Last edited by bluerog; 10-29-2010 at 04:40 PM.

  2. #2
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: Input 6 values, transpose to bottom of a column

    I have modified your example workbook to show you both ways. The first is triggered when you enter a nonzero string in the Scrap cell, B8. The second is using a userform, which I think works better. With a form it will be easier to perform data validation.
    Attached Files Attached Files
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,086

    Re: Input 6 values, transpose to bottom of a column

    @davegugg

    I think this line in the submit code

    Please Login or Register  to view this content.

    should be

    Please Login or Register  to view this content.

    otherwise it overwrites the last row

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: Input 6 values, transpose to bottom of a column

    Right you are TMShucks, thanks for the correction
    Reposted to be correct.
    Attached Files Attached Files

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,086

    Re: Input 6 values, transpose to bottom of a column

    You're welcome. Useful example though.

    Regards

+ 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