mathematical question

  • Thread starter Thread starter anonymous
  • Start date Start date
A

anonymous

I'm having trouble with an if statement in a module.
What I would like is that if the number in a combo box is
2 numbers greater than the number in a textbox
ex.
if [whenDd] is 2 greater than [occDd] then.....

I would like another relevant box to appear
ex. me!box.visible = true.....

any help/suggestions will be appreciated, thank you.
 
Hi,
If (whenDd - occDd = 2) Then
'do your stuff here
End If

HTH
Dan Artuso, MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top