+ Reply to Thread
Results 1 to 2 of 2

can not build the macro for counting cells and displaying totals on command.

  1. #1
    Registered User
    Join Date
    08-14-2013
    Location
    Kentucky, United States
    MS-Off Ver
    03,07,10
    Posts
    61

    can not build the macro for counting cells and displaying totals on command.

    Hello,

    I am trying to sum the value of cells in column P on Click through command button. I have created the command button but the kicker is the values within the column could be A-Z. I need the value to be listed out in totals below the EOF line. The Macro will end the sum at EOF in Column A.

    Column P Column A
    09/04/13 E
    09/04/13 F
    09/04/13 E
    09/03/13 D
    09/04/13 E
    EOF

    The letters at the end of the date are to be counted.

    Descending in Cells however IF there is no A or B or R or S then these cells need to be absent. The good thing is they will always be in order (i.e. if there is an I and a C then you will have A-I that will exist as data but it is always changing.

    D = 1
    E = 3
    F = 1


    To Total all rows (which may have new rows added so it is to end at EOF in Column A)

    Thank you,
    Leslye
    Attached Files Attached Files
    Last edited by lengwer; 09-10-2013 at 07:36 AM.

  2. #2
    Registered User
    Join Date
    08-14-2013
    Location
    Kentucky, United States
    MS-Off Ver
    03,07,10
    Posts
    61

    Re: can not build the macro for counting cells and displaying totals on command.

    I solved this with the following:

    Please Login or Register  to view this content.

+ 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] Command Button Macro
    By mgs in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-20-2013, 09:26 PM
  2. Run a macro from a command button
    By Dave7554 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-20-2009, 11:06 AM
  3. Using a command button with a macro
    By jimi06 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-25-2009, 11:36 AM
  4. Replies: 1
    Last Post: 09-17-2007, 09:57 PM
  5. [SOLVED] command button:Can i use a command button to open diffrrent sheets
    By Hellboy in forum Excel General
    Replies: 0
    Last Post: 11-03-2005, 11:00 AM

Tags for this Thread

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