Edit cell and activate userForm

S

Soniya

Hi All,

I have a userform with a list box items from my shhet 1
column A

when i click edit on the user form i want to get focus to
the sheet (without closing userform)and after editing the
cell i want to be able to use the form agian

how can i do this?

TIA
Soniya
 
T

Tom Ogilvy

Make you userform modeless.

UserForm1.Show vbModeless




Range("A1").Select
AppActivate Application.Caption

to set the focus to a cell on the sheet.
 

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