Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Help with vlookup with certain cell change

Hi All,

I'm a newbie with Excel VBA so please beare with me. I'm developing a
daily logging spreadsheet on all the employee's attendance. This
spreadsheet comprises of 2 sheets;"incidents" and "name". First being the
logging sheet and the later contains a list of employee's name.
When a name is entered into any cells in column D in "incident", it needs
to be validated by comparing to the named range in "name". If the name
exist, then the name will be accepted as is. Otherwise the user will have
the option of re-entering the name or add the name to the existing list in
the named range under "name".

Any help is much appreciated.

Slo
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,339
Default Help with vlookup with certain cell change

Consider making the "name" entry a Data Validation entry based on your list
of names so it would not need code.

"Stan Lo" wrote:

Hi All,

I'm a newbie with Excel VBA so please beare with me. I'm developing a
daily logging spreadsheet on all the employee's attendance. This
spreadsheet comprises of 2 sheets;"incidents" and "name". First being the
logging sheet and the later contains a list of employee's name.
When a name is entered into any cells in column D in "incident", it needs
to be validated by comparing to the named range in "name". If the name
exist, then the name will be accepted as is. Otherwise the user will have
the option of re-entering the name or add the name to the existing list in
the named range under "name".

Any help is much appreciated.

Slo

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Help with vlookup with certain cell change

Hi Toppers,

Thank you for your respond.

I did apply the data validation method and have been using it. In fact
I have use several data validation function on this worksheet as the
date and code of attendance will have to be verified. All work well
excet for the name list. When the user typed in a name instead of
choosing it from the drop down list, the entry will be accepted even if
it is not on the list. I have tried different settings with the
verification but to no avail. Nevertheless, I was thinking that even if
the data verification part is working, I still need the spreadsheet to
be able to accept new names and add to the existing list when it was not
found on the list, hence the reason of me asking if code should be used.

Thanks

SLO


?B?VG9wcGVycw==?= wrote in
:

Consider making the "name" entry a Data Validation entry based on your
list of names so it would not need code.

"Stan Lo" wrote:

Hi All,

I'm a newbie with Excel VBA so please beare with me. I'm developing
a daily logging spreadsheet on all the employee's attendance. This
spreadsheet comprises of 2 sheets;"incidents" and "name". First
being the logging sheet and the later contains a list of employee's
name. When a name is entered into any cells in column D in
"incident", it needs to be validated by comparing to the named range
in "name". If the name exist, then the name will be accepted as is.
Otherwise the user will have the option of re-entering the name or
add the name to the existing list in the named range under "name".

Any help is much appreciated.

Slo



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default Help with vlookup with certain cell change

There's a sample file he

http://www.contextures.com/excelfiles.html


Under 'Data Validation' look for DV0012 - Update Validation List



Stan Lo wrote:
Hi Toppers,

Thank you for your respond.

I did apply the data validation method and have been using it. In fact
I have use several data validation function on this worksheet as the
date and code of attendance will have to be verified. All work well
excet for the name list. When the user typed in a name instead of
choosing it from the drop down list, the entry will be accepted even if
it is not on the list. I have tried different settings with the
verification but to no avail. Nevertheless, I was thinking that even if
the data verification part is working, I still need the spreadsheet to
be able to accept new names and add to the existing list when it was not
found on the list, hence the reason of me asking if code should be used.

Thanks

SLO


?B?VG9wcGVycw==?= wrote in
:


Consider making the "name" entry a Data Validation entry based on your
list of names so it would not need code.

"Stan Lo" wrote:


Hi All,

I'm a newbie with Excel VBA so please beare with me. I'm developing
a daily logging spreadsheet on all the employee's attendance. This
spreadsheet comprises of 2 sheets;"incidents" and "name". First
being the logging sheet and the later contains a list of employee's
name. When a name is entered into any cells in column D in
"incident", it needs to be validated by comparing to the named range
in "name". If the name exist, then the name will be accepted as is.
Otherwise the user will have the option of re-entering the name or
add the name to the existing list in the named range under "name".

Any help is much appreciated.

Slo





--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Help with vlookup with certain cell change

Hi Debra,

Thank you thank you thank you,
I shall read through this site tonight when I have time.

SLO


Debra Dalgleish wrote in
:

There's a sample file he

http://www.contextures.com/excelfiles.html


Under 'Data Validation' look for DV0012 - Update Validation List



Stan Lo wrote:
Hi Toppers,

Thank you for your respond.

I did apply the data validation method and have been using it. In
fact I have use several data validation function on this worksheet as
the date and code of attendance will have to be verified. All work
well excet for the name list. When the user typed in a name instead
of choosing it from the drop down list, the entry will be accepted
even if it is not on the list. I have tried different settings with
the verification but to no avail. Nevertheless, I was thinking that
even if the data verification part is working, I still need the
spreadsheet to be able to accept new names and add to the existing
list when it was not found on the list, hence the reason of me asking
if code should be used.

Thanks

SLO


?B?VG9wcGVycw==?= wrote in
:


Consider making the "name" entry a Data Validation entry based on
your list of names so it would not need code.

"Stan Lo" wrote:


Hi All,

I'm a newbie with Excel VBA so please beare with me. I'm developing
a daily logging spreadsheet on all the employee's attendance. This
spreadsheet comprises of 2 sheets;"incidents" and "name". First
being the logging sheet and the later contains a list of employee's
name. When a name is entered into any cells in column D in
"incident", it needs to be validated by comparing to the named range
in "name". If the name exist, then the name will be accepted as is.
Otherwise the user will have the option of re-entering the name or
add the name to the existing list in the named range under "name".

Any help is much appreciated.

Slo






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup Change in Reference Cell Lai Excel Worksheet Functions 1 December 14th 09 02:22 PM
If (Vlookup 0) working, but what if Vlookup cell does not exist Steve Excel Worksheet Functions 18 November 18th 09 07:33 PM
Change background color of cell based on vlookup in cell Antney Excel Discussion (Misc queries) 1 October 19th 09 10:55 PM
Vlookup doesn't work until i edit(but not change) the lookup cell Confused Excel Worksheet Functions 4 November 8th 05 09:15 AM
Vlookup in book which will change. Beto[_3_] Excel Programming 3 March 4th 04 01:21 PM


All times are GMT +1. The time now is 01:39 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"