Closed Thread
Results 1 to 32 of 32

CheckBox and Submit Button

Hybrid View

  1. #1
    Registered User
    Join Date
    06-14-2008
    Posts
    26

    CheckBox and Submit Button

    Hello,
    i'm trying to create a macro in which there are checkboxes and there is a submit button.
    each checkbox corresponds with each month's expenses
    so i will have a total of 12 checkboxes and one "submit button"
    i want to make a macro that will give me an option to select which month's expenses to view. all the expenses are on one sheet and how the checkbox should work is very simple. it will hide the unwanted columns to view the desired months. simple but the coding isn't. the months will be viewed until after the sumbit buttons is pressed

    thank you for all your help
    i would greatly appreciated if someone could help me out
    thanks in advance again

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    You really need a UserForm to do this. Can you attach an example workbook so that I can see your layout?
    Hope that helps.

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

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    06-14-2008
    Posts
    26
    well basically what i have is 1 sheet with all the month's expenses

    for january it is columns A through C
    february it is D through F
    and so on....

    if i select january checkbox, i want to hide february columns and also is it possible to have multiple selections? for example to view february and march only?
    thanks for your help and also what is Userform?

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    I'll see what i can do. Food time at the moment so check back later

  5. #5
    Registered User
    Join Date
    06-14-2008
    Posts
    26
    thank you
    please help

  6. #6
    Registered User
    Join Date
    06-14-2008
    Posts
    26
    Hello Again

    i want to make checkboxes with a submit button

    all my months expenses are on one sheet
    each checkbox corresponds with each month
    want to be able to select multiple checkboxes at once
    basically how it should work is that it should only hide columns that are not wanted at that time

    thanks again for all your help

    Jenn

  7. #7
    Registered User
    Join Date
    06-14-2008
    Posts
    26
    Okay RoyUK, i have attached the workbook and also Leith Ross's workbook

    Leith's layout is what i want, Thank you for helping out

    please read instructions in the workbook.
    Attached Files Attached Files
    Last edited by jenniferkognan; 06-16-2008 at 10:32 AM.
    Love,


    Jenn

  8. #8
    Registered User
    Join Date
    06-14-2008
    Posts
    26
    Please someone help me
    Thanks So Much in advance...

  9. #9
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello jenniferkognan,

    I made the changes you requested to the attached workbook. Each month now uses 4 columns per month. The totals in the 4 column of row 52 for month are totaled together as before. The user form can be launched by typing CTRL+R from any worksheet or by typing ALT+L when the worksheet with the button is active.

    Sincerely,
    Leith Ross
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    06-14-2008
    Posts
    26
    Hello Leith Ross

    Thank you for the new worksheet but i had some other things to do

    Hello,
    it's me again

    Also what i was looking for, i think this would be impossible, but rather let me give it a shot

    there's a a "paid to" with "type of payment" (for example, credit card, check etc..)column, standard "number" column (lists all the bills like 1, 2, 3, in numerical order), and finally there's a "amount" column. is it possible to have them organized when you make the selection.
    each month has four columns so i think you would have to edit the code

    and on the window that pops up, is there anyway you can add a check box selection, like an option that says "okay for that particular month (s), organize it by "amount" (ascending) , it is already in alphabetical order, when the user inputs the data in the column it is alphabetical order...

    so each month has four columns

    jan - A B C D

    feb - E F G H


    and so on.....

    Thanks so muchh............

    Also i want to have an option to organize it by the type of payment also
    so a total of two options....
    the user can only select one of them....

    and when you select an option, the corresponding "paid to" individual or "amount" should be the same meaning
    if the user selects to organize by amount, the "paid to" should correspond to the amount, it should be like grouped together so that when organizing it, it really doesnt' mess up the data....

  11. #11
    Registered User
    Join Date
    06-14-2008
    Posts
    26
    Hello Everyone....
    I'm very new to VBA

    can anyone help with the above problem?
    i have attached the sample(book 1) and the file that is the most closes to what i like (example 2 rev 2)

    Thanks Again

  12. #12
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello jenniferkognan,

    I am closing this post because your requests are straying to far from the original topic. It also appears to me that you need help creating more than a simple interface for this project. You should stop and think about what you need and create a list. Submit this list under a new thread. Both Roy and I have to attend to other members' requests for help. Perhaps you should place a request for help in the Commercial Services forum.

    Sincerely,
    Leith Ross

Closed 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