VB Help for Absolute Beginner

D

Danny Sowden

Please can someone help me.

I want a message box to pop up when a user clicks in a
cell in a table. Firstly what code do i need for a message
box and secondly how do i assign it to on entry of a table
cell?

Many thanks in advance

Danny.
 
H

Harold Kless[MSFT}

Hi Danny,
There are no events for clicking in a table. One possible solution would be
to have formfields in the table cells.
You can configure a Entry or Exit event to fire a macro.
So you could have this macro fire on Entry:
Sub ShowInfo()
Msgbox "Display Information"
End Sub


Harold Kless, MCSD
Support Professional
Microsoft Technical Support for Business Applications
(e-mail address removed)

--


This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
 

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

Top