+ Reply to Thread
Results 1 to 5 of 5

Positioning data below variable amount of rows

  1. #1
    Registered User
    Join Date
    07-21-2004
    MS-Off Ver
    2010
    Posts
    51

    Positioning data below variable amount of rows

    need help in creating a macro that will place Totals & other data below my spreadsheet entries. The spreadsheet entries get pulled in from another workbook & the # of rows of data will vary each time, (in this instance I only used two rows of data). I already have a macro to generate the total formulas and data below that, just need help in determining where this info will be placed based on # of rows.

    Excel File.JPG

    Appreciate the help
    Attached Files Attached Files
    Last edited by RSa; 03-10-2017 at 01:43 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598

    Re: Positioning data below variable amount of rows

    Post the macro code rather than a pic.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    07-21-2004
    MS-Off Ver
    2010
    Posts
    51

    Re: Positioning data below variable amount of rows

    Here is the macro code I'm using to calculate the totals in Row 11 & then the subsequent data/formulas below that.
    How to I get this information posted starting 2 lines below the last row of data (# of rows of data will vary, so I know the cell selections below will not work when there is more than 11 rows in this case)

    Please Login or Register  to view this content.
    Attached Images Attached Images
    Last edited by RSa; 03-10-2017 at 02:55 PM. Reason: added code tags

  4. #4
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Positioning data below variable amount of rows

    Hello RSa,

    When you are posting any VBA Code, please ensure you do so according Forum Rules, which we all have to follow.
    Thank for adding Code Tags.

    Thank you.
    Last edited by Winon; 03-10-2017 at 04:17 PM.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  5. #5
    Registered User
    Join Date
    07-21-2004
    MS-Off Ver
    2010
    Posts
    51

    Re: Positioning data below variable amount of rows

    sorry, still learning here, I've added the code tags.

+ 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. Replies: 2
    Last Post: 11-21-2014, 09:35 AM
  2. Replies: 2
    Last Post: 06-06-2013, 11:14 PM
  3. cut and paste a variable amount of rows onto other workbooks.
    By bopsgtir in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-12-2013, 08:06 PM
  4. [SOLVED] Transpose rows to columns: variable amount of colums and corresponding values
    By Browser in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-10-2012, 10:40 AM
  5. Inserting variable amount rows between rows
    By marko3 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-23-2011, 01:39 AM
  6. Replies: 1
    Last Post: 05-13-2010, 09:50 AM
  7. Macro for Sorting a Variable amount of Rows
    By stepheng2383 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-14-2009, 07:32 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