+ Reply to Thread
Results 1 to 7 of 7

Adding more cells/rows to my project

  1. #1
    Registered User
    Join Date
    03-18-2010
    Location
    denmark
    MS-Off Ver
    Excel 2007
    Posts
    11

    Adding more cells/rows to my project

    Hi

    I'm working on a project and got a code from this forum. I got some problems at the moment, but already posted that.
    Please Login or Register  to view this content.
    - be able to add more lines in "total = Application.Sum(Sheets(1).Range("A14:I14"))", like. having the total of A14:I14 plus A15:I15.

    Please read my other question about End Sub. Need help with that too
    Last edited by Leeboy; 03-18-2010 at 04:42 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Adding more cells/rows to my project (Simple question)

    What logic do you wish to employ to determine how many rows to "total"? Is this last row of data on the sheet at the moment...there's nothing else below this data you want to sum?


    NOTE: You can edit the original post in this thread, GO ADVANCED, and remove the "(simple question)" from the title, it's not appropriate to put comments into your thread titles.


    Lastly, please put your programming questions into the programming forum from now on. Thanks.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    03-18-2010
    Location
    denmark
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Adding more cells/rows to my project

    I uploaded a picture to show what i mean. Its a bingo helper for people around me.
    What i want is to make the code activate and go to the empty cell under the tables.
    image here

    The first table with all the numbers from 1 to 90, will be empty when start, and then filled out as the numbers gets picked.

    Then I want to make a easy "turn on macro for 1 hole line" and a "turn on macro for two hole lines" and one for the hole plate.

    If i can't make like i just wrote, with 1 line 2, and hole plate, then I think i just stick to making 3 documents, since i'm still a very new "programmer".

    The question in this thread is if its possible to make like the code i wrote in the thread above, A14:I14 plus A15:I15 goto A17.

    I hope you understand.

    And sorry for posting wrong*
    Last edited by Leeboy; 03-18-2010 at 05:06 PM.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Adding more cells/rows to my project

    You can sum any range you can define.
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    03-18-2010
    Location
    denmark
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Adding more cells/rows to my project

    Quote Originally Posted by JBeaucaire View Post
    You can sum any range you can define.
    Please Login or Register  to view this content.
    Oh ^^ Cool :d Thanks!

  6. #6
    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 cells/rows to my project

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    Hope that helps.

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

    Free DataBaseForm example

  7. #7
    Registered User
    Join Date
    03-18-2010
    Location
    denmark
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Adding more cells/rows to my project

    Quote Originally Posted by royUK View Post
    ...
    Already did

+ 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