Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Don Don is offline
external usenet poster
 
Posts: 487
Default identify list used in a cell

I have a spreadsheet used by mult people and we have three sections. I have
created lists for each section and did a Data / validate / list to give them
the correct options. Turns out that some have copied from one section to
another and now the lists are mixed in each section.

Is there a formula to identify the list used in a cell? or judging on the
list used, can I change the color of the cell?

I can identify the drop down's selected that are in the wrong section but
they share some names that would make it impossible to identify unless I have
a tool to identify which list it is using.

thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default identify list used in a cell

I suggest you put the validation lists on a 'VERY HIDDEN' worksheet so the
clients can't get to/find the lists and change them.

To do that...
Assumption: The name of the original worksheet with your validation
lists is 'SHEET1'.
(1) Add a worksheet.
Assumption: Name of new worksheet is 'SHEET4'.
(2) Put your validation lists on the new worksheet.
(3) Re-create your validations on SHEET1 using the following examples...

' Data Validation using a List from another worksheet or workbook

' Using a List from
' On the Data Validation form,
' on the Settings tab,
' In the Validation Criteria area,
' In the 'Allow' dropdown,
' Select 'LIST'
' When the List is in ANOTHER WORKSHEET in the same workbook:
' The syntax in the 'SOURCE' RefEdit box should be
' something like...
' =INDIRECT("'Sheet4'!A1:A5")
'
' When the List is in a WORKSHEET in ANOTHER WORKBOOK:
' The syntax in the 'SOURCE' RefEdit box should be
' something like...
' =INDIRECT("'C:\Temp\[Test.xls]Sheet4'!A1:A5")

(4) Hide SHEET4.
(a) Get into the Visual Basic Editor
- Tools Macro Visual Basic Editor
(b) View Properties Window
(c) In the 'Project' view (should be on the left side of the VBA area)
highlight SHEET4
(d) In the 'Properties' view (should be on the lower left side of the
VBA area) go to the very bottom of the list. You should see 'Visible' in the
box on the left and '-1 - xlSheetVisible' in the box to it's right.
(e) The box with '-1 - xlSheetVisible' is a drop-down. Select '2 -
xlSheetVeryHidden'.
(f) Get out of the Visual Basic Editor
- File Close and Return to Microsoft Excel

Now, unless they REALLY know what they're doing, your clients won't be able
to see the worksheet. YOU, however, now know that you can easily make it
visible again to add/change/delete lists by simply going back into the VBA
Editor and changing the 'Visible' property of SHEET4 to '-1 - xlSheetVisible'.
Your lists should now stay intact!

Hope this helps,
Sincerely,
Gary Brown
--------------------------------------------------

"Don" wrote:

I have a spreadsheet used by mult people and we have three sections. I have
created lists for each section and did a Data / validate / list to give them
the correct options. Turns out that some have copied from one section to
another and now the lists are mixed in each section.

Is there a formula to identify the list used in a cell? or judging on the
list used, can I change the color of the cell?

I can identify the drop down's selected that are in the wrong section but
they share some names that would make it impossible to identify unless I have
a tool to identify which list it is using.

thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
Don Don is offline
external usenet poster
 
Posts: 487
Default identify list used in a cell

actualy, I have the list sheet protected but could hide also. The people are
taking a cell in one section and coping it to another section thus taking its
Data/validation list with it. I want it to be obvious to identify when this
has happened and have it fixed.

"Gary Brown" wrote:

I suggest you put the validation lists on a 'VERY HIDDEN' worksheet so the
clients can't get to/find the lists and change them.

To do that...
Assumption: The name of the original worksheet with your validation
lists is 'SHEET1'.
(1) Add a worksheet.
Assumption: Name of new worksheet is 'SHEET4'.
(2) Put your validation lists on the new worksheet.
(3) Re-create your validations on SHEET1 using the following examples...

' Data Validation using a List from another worksheet or workbook

' Using a List from
' On the Data Validation form,
' on the Settings tab,
' In the Validation Criteria area,
' In the 'Allow' dropdown,
' Select 'LIST'
' When the List is in ANOTHER WORKSHEET in the same workbook:
' The syntax in the 'SOURCE' RefEdit box should be
' something like...
' =INDIRECT("'Sheet4'!A1:A5")
'
' When the List is in a WORKSHEET in ANOTHER WORKBOOK:
' The syntax in the 'SOURCE' RefEdit box should be
' something like...
' =INDIRECT("'C:\Temp\[Test.xls]Sheet4'!A1:A5")

(4) Hide SHEET4.
(a) Get into the Visual Basic Editor
- Tools Macro Visual Basic Editor
(b) View Properties Window
(c) In the 'Project' view (should be on the left side of the VBA area)
highlight SHEET4
(d) In the 'Properties' view (should be on the lower left side of the
VBA area) go to the very bottom of the list. You should see 'Visible' in the
box on the left and '-1 - xlSheetVisible' in the box to it's right.
(e) The box with '-1 - xlSheetVisible' is a drop-down. Select '2 -
xlSheetVeryHidden'.
(f) Get out of the Visual Basic Editor
- File Close and Return to Microsoft Excel

Now, unless they REALLY know what they're doing, your clients won't be able
to see the worksheet. YOU, however, now know that you can easily make it
visible again to add/change/delete lists by simply going back into the VBA
Editor and changing the 'Visible' property of SHEET4 to '-1 - xlSheetVisible'.
Your lists should now stay intact!

Hope this helps,
Sincerely,
Gary Brown
--------------------------------------------------

"Don" wrote:

I have a spreadsheet used by mult people and we have three sections. I have
created lists for each section and did a Data / validate / list to give them
the correct options. Turns out that some have copied from one section to
another and now the lists are mixed in each section.

Is there a formula to identify the list used in a cell? or judging on the
list used, can I change the color of the cell?

I can identify the drop down's selected that are in the wrong section but
they share some names that would make it impossible to identify unless I have
a tool to identify which list it is using.

thanks

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
simple: Identify a cell that is out of number sequence in a list bprice New Users to Excel 10 November 19th 07 03:05 PM
how to identify unique list of 200 random entries from a list of 3 tjb Excel Worksheet Functions 3 August 13th 07 02:15 PM
Identify & List unique values from a list using functions/formulas momtoaj Excel Worksheet Functions 3 May 31st 07 06:18 PM
Formula to identify cell with different value in list carlossaltz Excel Worksheet Functions 8 June 12th 05 11:26 PM
Identify last item in a list Greg Excel Discussion (Misc queries) 6 March 16th 05 11:47 PM


All times are GMT +1. The time now is 11:51 PM.

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

About Us

"It's about Microsoft Excel"