Need a book? Engineering books recommendations...

Return to index: [Subject] [Thread] [Date] [Author]

Re: VBA Question

[Subject Prev][Subject Next][Thread Prev][Thread Next]
In C++ you can find out if that window is in focus. VBA should have similar
getfocus() message.
By the way, you are working too late.  4:13 in the morning!!!!


"P.Rajendran" wrote:

> I have a programming question. I am attempting to write a user defined
> function in Microsoft Excel.  In that procedure, I want to find the row
> number of a cell, that has been highlighted (either by a mouse click or
> by the movement of the up, down, side arrows), in a worksheet.  What are
> the appropriate VBA statements?
> Thanks.
> Rajendran