help with msgbox

  • Thread starter Thread starter shirley
  • Start date Start date
S

shirley

i want to make sure that when a new line is inserted, the user ha
selected a cell under the first column first before the line i
inserted. if not, they will be prompted to do so. how should i do it
 
Hi,
I have a worksheet which has names and addresses in the fields. I would like
to have a VBA macro such that it provides a list of names as a list drop box
and a button that says print address.

I dont know how to have the listbox get to accept the name column as a
datasource. Any help would be appreciated.

Best,
Harish S
 
Sorry. my last post should have been posted as a new one. I apologize for my
mistake and any inconvinience this has caused anyone.

Best,
Harish S
Harish S said:
Hi,
I have a worksheet which has names and addresses in the fields. I would like
to have a VBA macro such that it provides a list of names as a list drop box
and a button that says print address.

I dont know how to have the listbox get to accept the name column as a
datasource. Any help would be appreciated.

Best,
Harish S
 
Shirley
You can set the Tab Order... of the form to have your first cell highlighted, then using the required field as yes and validation rule as is not null, you will make it so they must enter the first column first.
 

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