linking check box to a formula
VBA Telemetry pings you when your VBA projects fail
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: linking check box to a formula

  1. #1
    New Member
    Join Date
    Feb 2002
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    Want to simplfy a large tracking spread sheet. Looking for a way to link a check box to generating the current date. Anyone figure this out before?

  2. #2
    New Member
    Join Date
    Feb 2002
    Location
    M&T Bank
    Posts
    18
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I have recently discovered the benefits of combo-boxes and drop down lists for large spreadsheets. If you explain more about what you're trying to do I may be able to help.

    Denise

  3. #3
    Legend NateO's Avatar
    Join Date
    Feb 2002
    Location
    Minneapolis, Mn, USA
    Posts
    9,700
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    BC, I picture the following lending itself to what you're talking about.

    Dim cb As CheckBox

    For Each cb In yourDlg.CheckBoxes
    If cb.Value = xlOn Then
    application.run("YOUR MACRO NAME")
    End If
    Next cb

    Substitue yourDlg for the name of your Dialog and "YOUR MACRO NAME" for the name of a macro that generates the date (MsgBox (Date)), etc...

    borrowed this from:

    http://www.mrexcel.com/board/viewtop...orum=2&start=0

    Cheers,

    Nate

    [ This Message was edited by: NateO on 2002-02-20 15:35 ]

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com