vamshivemula
New Member
- Joined
- Apr 20, 2009
- Messages
- 6
Hi,
I need a cell value (assuming B1) to be changed as soon as you select an item from other Excel drop-down list cell (assuming A1) and move AWAY from that cell (like "Lostfocus" event in VB). Both A1 and A2 are in Sheet1 of Workbook. This should happen without button press, worksheet change/activate, etc. For example, I have one column that is being pulled to the drop-down list from different sheet (assuming Sheet2) and its related info in the column parallel to it in Sheet2. I want this function to be called when the drop-down list loses focus. I currently did it in different way, i.e., I have written VBA code on "Worksheet_SelectionChange" when it reaches to the next cell (taking ActiveCell.Address - assuming cell A2 gets selected/activated), but a user has to go to that particular cell (A2) to run this VBA function, otherwise it never triggers. I want this function to be triggered when A1 (drop-down list cell) get deselected or loses focus. Your help is greatly appreciated.
Regards,
Vamshi
I need a cell value (assuming B1) to be changed as soon as you select an item from other Excel drop-down list cell (assuming A1) and move AWAY from that cell (like "Lostfocus" event in VB). Both A1 and A2 are in Sheet1 of Workbook. This should happen without button press, worksheet change/activate, etc. For example, I have one column that is being pulled to the drop-down list from different sheet (assuming Sheet2) and its related info in the column parallel to it in Sheet2. I want this function to be called when the drop-down list loses focus. I currently did it in different way, i.e., I have written VBA code on "Worksheet_SelectionChange" when it reaches to the next cell (taking ActiveCell.Address - assuming cell A2 gets selected/activated), but a user has to go to that particular cell (A2) to run this VBA function, otherwise it never triggers. I want this function to be triggered when A1 (drop-down list cell) get deselected or loses focus. Your help is greatly appreciated.
Regards,
Vamshi