> Is there a way to find out which column is selected/highlighted in
> datagrid?
> I tried using "SelLeft" but it always gave me "1".
>
> Thanks in advance.
Do you mean a listbox, or a continues form, or a 3rd party data grid
control?
SelLeft was never application to your question in any context....
Remember, a listbox, or a continues form looks very similar. Here is some
screen shots of what I mean:
Also, it depends in terms of what context. If you have data displayed in a
grid like format (a continues form), then you can pick up the current
control via code such as:
screen.ActiveControl.Name
The above would return the current controls name. However, if you click a
button, then the active control is now the button you clicked (and the focus
has moved/changed. So, what context you trying to do under is also very
important.

Signature
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com
opps, those data screen examples of how a listbox, or contineus form looks
simular is here:
http://www.members.shaw.ca/AlbertKallal/Articles/Grid.htm

Signature
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com