+ Reply to Thread
Results 1 to 4 of 4

Adding more rows to the row count from another sheet.

  1. #1
    Registered User
    Join Date
    06-22-2011
    Location
    Spring Hill, TN
    MS-Off Ver
    Excel 2016
    Posts
    8

    Adding more rows to the row count from another sheet.

    The code below works to copy the formulas down based on the number of rows on the Items sheet. But, the Data sheet has 9 rows of header data so I need to add that amount of rows to whatever the count is from the Items sheet. Any help would be appreciated


    Please Login or Register  to view this content.
    Last edited by reddobe; 08-03-2011 at 04:41 PM. Reason: Solved

  2. #2
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Adding more rows to the row count from another sheet.

    I don't know for sure but try:
    Please Login or Register  to view this content.
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

  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: Adding more rows to the row count from another sheet.

    Rows.Count only refers to the maximum number of rows on any sheet. It can't change unless you specify a particular range.

    Prior to Excel 2007 - 65536, over 1,000,000 in later versions

    It's pointless specifying a different sheet, you can't increase rows beyond the maximums set by MS
    Hope that helps.

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

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    06-22-2011
    Location
    Spring Hill, TN
    MS-Off Ver
    Excel 2016
    Posts
    8

    Re: Adding more rows to the row count from another sheet.

    Mordred, That worked. It was the only place I didn't add the + 9, figuring I needed to stay inside the main part of the code (near the count cells portion)

+ 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