I want to apply below vba code to cell range F11:F2000 and want to get result relatively
please help
![]()
Please Login or Register to view this content.
I want to apply below vba code to cell range F11:F2000 and want to get result relatively
please help
![]()
Please Login or Register to view this content.
Last edited by alansidman; 07-19-2016 at 10:47 AM.
I want to apply code for below function/logic:
if Cell A1 = "1" then Cell B1 = locked and empty, Cell C1 = unlocked and allowed to select value from drop down list, cell D1 = locked and empty
if Cell A1 = "2" then Cell B1 = unlocked and allowed to select value from drop down list, Cell C1 = locked and empty, Cell D1 = unlocked and allowed to select value from drop down list
if Cell A1 = "3" then Cell B1 & C1 & D1 = unlocked and allowed to select value from drop down list
If Cell A1 = "" then Cell B1 & C1 & D1 = locked and empty
if Cell A2 = "1" then Cell B2 = locked and empty, Cell C2 = unlocked and allowed to select value from drop down list, cell D2 = locked and empty
if Cell A2 = "2" then Cell B2 = unlocked and allowed to select value from drop down list, Cell C2 = locked and empty, Cell D2 = unlocked and allowed to select value from drop down list
if Cell A2 = "3" then Cell B2 & C2& D2 = unlocked and allowed to select value from drop down list
If Cell A2 = "" then Cell B2 & C2 & D2 = locked and empty
I want to apply this function / logic in A1 to A2000 relatively
I hope its clear & sufficient to get answered
Please revert asap
thanks in advance
Code Tags Added
Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.
Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.
Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html
(Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks