English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2007-03-12 02:54:20 · 6 answers · asked by Anonymous in Computers & Internet Programming & Design

I am trying to set up a check in type spreadsheet where if a check box that we have received something is clicked, then today's date pops up in the cell next to it. But I want it to stay that date. I do not want it to change.

2007-03-12 03:10:37 · update #1

Plez,
Can I do that in excel. I am trying to build a check in type spreadsheet and am trying to use the control toolbar but can't find where I can define a click on event.

2007-03-12 04:39:54 · update #2

6 answers

You set the onclick event of the button to return the current date via a VBA function.

It won't change if you set the date as a literal in your function.

2007-03-12 04:09:17 · answer #1 · answered by Anonymous · 0 0

If you use the check box event, then when it is checked the TODAY function writes the date to a new cell. When saved, that date should remain.

You don't want to test to see if the box is checked--you want to do something at the moment it is checked. So it won't update the date every time the sheet is opened--only every time the checkbox is changed from unchecked to checked.

Hope that helps

2007-03-12 04:05:15 · answer #2 · answered by rod 6 · 0 0

Not sure what you are trying to accomplish but sounds like you want to store the date in a global variable after you have retrieved it...

...So your using VBA. Just store the date the first time you retrieve it either in a global variable or a cell in the spreadsheet. Global if you need it for the life of the open spreadsheet, or cell if you need it permanently.

2007-03-12 02:59:41 · answer #3 · answered by randob1 2 · 0 0

An if statement by definition doesn't return anything. It tests whether an expression is true or false, then acts upon that test. What are you trying to do?

2007-03-12 02:57:43 · answer #4 · answered by Rob 3 · 0 0

What programming language or other software? What OS?

2007-03-12 03:00:03 · answer #5 · answered by wexfordpress 2 · 0 0

what particular programming language?

2007-03-12 02:59:22 · answer #6 · answered by vitualpalab0i 1 · 0 0

fedest.com, questions and answers