Lost Focus - Applying to cell

  • Thread starter Thread starter Paul Silverman
  • Start date Start date
P

Paul Silverman

Hi Folks,

I've written a subroutine which I want to run automatically when the user
enters data into, and then click off, cell A1.

Can someone please provide me with an example as to how this is done? I
suspect it's Lost Focus - any help is appreciated.

Thanks much,

Paul Silverman
Melbourne
Australia
 
Paul

you need to use either the Worksheet_Change or the Worksheet_SelectionChange
events in the Sheet Class module.

Test for the target cell being A1. Search the Google archives; you'll see
dozens of examples

Regards

Trevor
 
Thanks for your help. Much appreciated.

Paul

Trevor Shuttleworth said:
Paul

you need to use either the Worksheet_Change or the Worksheet_SelectionChange
events in the Sheet Class module.

Test for the target cell being A1. Search the Google archives; you'll see
dozens of examples

Regards

Trevor
 

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