Excel Data Validation VBA Expand from 1 Col to 2 Cols
Attached is a workbook where the code works in setting Data Validation for a particular cell. The DV cell only has the missing List Items. In its current form the vba works very well...no complaints.
I would like to expand the code to include one of two Columns, depending upon the ActiveCell. If the Active Cell is in Col "C" then the code runs. If the Target is Col "G" then set the DV for that cell. Both Columns would have Select* in the cell(s) where the DV should be placed. The current code has the Range hard coded. Prefer a more flexible method.
Appreciate the "It works first time code"...and for the answer to the follow-up question.
Cook09
Microsoft Excel
Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.