ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Amend the DV0022 - Update Validation Selections code for more lists (https://www.excelbanter.com/excel-worksheet-functions/215278-amend-dv0022-update-validation-selections-code-more-lists.html)

[email protected]

Amend the DV0022 - Update Validation Selections code for more lists
 
Hi,

I have used the following code to update cells that have already had
the original value selected from the data validation list if the value
in the data list has been changed.

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

Under Data Validation, look for 'DV0022 - Update Validation
Selections'

However, is it possible to amend this VBA code so that I can have this
code for a number of columns? I have three data validation lists set-
up in three different columns. I would like for the data to change in
the destination cell if any of the data in the data lists are changed.

I have tried to copy the code and change the data list name but that
did not work. I would appreciate any suggestions.

Thanks!

joel

Amend the DV0022 - Update Validation Selections code for more list
 
From the worksheet menu you need to change the Named Range of fruitlist.

Insert - Name - define - fruitlist

" wrote:

Hi,

I have used the following code to update cells that have already had
the original value selected from the data validation list if the value
in the data list has been changed.

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

Under Data Validation, look for 'DV0022 - Update Validation
Selections'

However, is it possible to amend this VBA code so that I can have this
code for a number of columns? I have three data validation lists set-
up in three different columns. I would like for the data to change in
the destination cell if any of the data in the data lists are changed.

I have tried to copy the code and change the data list name but that
did not work. I would appreciate any suggestions.

Thanks!



All times are GMT +1. The time now is 10:57 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com