Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a spreadsheet containing bookings for a cinema. There are 5
different types of seats available (Normal Adult, Child, Member, Student and Senior Citizen) (See attached file for screenshot of worksheet). I need to create a macro (I am not allowed to use the Validation function) to check that each seat type has been entered in column E (cells E16 to E20) only once, e.g. only one entry for Member. If duplicates have been entered, a message box should appear informing the user of this, and then the duplicate seat types (and their corresponding quanties in column G) should be deleted. I need to create this using a simple Excel macro (e.g. something like an IF statement or similar). If anyone could help I would be extremely grateful. I have been trying for hours with no success. Thanks in advance! Attachment filename: princessexcel.jpg Download attachment: http://www.excelforum.com/attachment.php?postid=416046 --- Message posted from http://www.ExcelForum.com/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA Code macro for duplicate entries | Excel Discussion (Misc queries) | |||
Macro for checking duplicate entries | Excel Worksheet Functions | |||
Preventing Duplicate Cells | Excel Discussion (Misc queries) | |||
Preventing Duplicate Entries within a column | Excel Discussion (Misc queries) | |||
Preventing Duplicate Entries in rows | Excel Worksheet Functions |