+ Reply to Thread
Results 1 to 6 of 6

Upper limit on data transpose

  1. #1
    Registered User
    Join Date
    10-08-2013
    Location
    Soldotna, Alaska
    MS-Off Ver
    Excel 2007
    Posts
    3

    Upper limit on data transpose

    Hello everyone, I have a long macro that takes a csv file where each row represents a family and transposes it by family such that each row represents a child. I have used this macro succesfully for a few years, although there are more students this year than any prior year. Fow some reason the output worksheet w.S does not include the last few students (starting at row 115, student 114). It is not a data problem (the last families records are not transposed even if I swich the last record for one that I know works). Any ideas? The code pertaining to this operation is below. Thanks
    +++++++++++++++++++++++++++++++++++++
    'Transpose
    Please Login or Register  to view this content.
    Last edited by alansidman; 12-05-2013 at 03:02 PM. Reason: Code tags

  2. #2
    Registered User
    Join Date
    10-08-2013
    Location
    Soldotna, Alaska
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Upper limit on data transpose

    I should mention when I created this several years ago I learned some basic vba operation but I am not an expert, and i'm rusty. Don't assume I'm aware of something obvious.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2506 Win 11
    Posts
    24,762

    Re: Upper limit on data transpose

    Rule 03: Code Tags
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between
    Please Login or Register  to view this content.
    tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (I have added them for you today. Please read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    08-11-2013
    Location
    leeds
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: Upper limit on data transpose

    Is this line of code to find the last used row?
    Please Login or Register  to view this content.
    If so, and there is a column which you know is always populated on every row, try swapping this out for
    Please Login or Register  to view this content.
    Where 1 is the column number (so "a")

  5. #5
    Registered User
    Join Date
    10-08-2013
    Location
    Soldotna, Alaska
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Upper limit on data transpose

    Wow, that was quick. First off, sorry about the code tags. I'll do better in the future. Second, my problem is fixed. Thank you very much.

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2506 Win 11
    Posts
    24,762

    Re: Upper limit on data transpose

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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] for loop can not test for upper limit
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-04-2013, 09:41 AM
  2. [SOLVED] find the lower and upper limit if data is in between on that limit
    By clangeles in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-27-2012, 06:18 AM
  3. [SOLVED] Amount to be allocated but with Upper Limit
    By gurusanthanam in forum Excel General
    Replies: 5
    Last Post: 09-09-2012, 03:56 AM
  4. Limiting a calculated value to an upper limit
    By Bob_C in forum Excel General
    Replies: 5
    Last Post: 09-22-2011, 09:22 AM
  5. How do I get beyond the upper limit of 65,500 records on Excel?
    By Nicholas Korsakov in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-01-2005, 12:05 PM

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