Sai Prabhu
New Member
Hi,
I’m new to VBA and need help on the below questions. Sample file included.
Question - 1:
I’m working on a Leave Tracker and the requirement is that the User should not enter CL in more than two consecutive cells in rows.
CL CL CL - Not Allowed (pass with current code)
CL CL Blank CL CL - Allowed
CL CL CL CL CL CL - Not Allowed (failed with current code)
The code is working when the User enter data in each cell, however, it fails when the User copies data to range of Cells (More than 3 Cells).
Question - 2:
When the Excel file is opened from Outlook, how to disable Protected View message and Enable Editing programmatically? I tried few solutions available online, but that is not working.
Thanks.
I’m new to VBA and need help on the below questions. Sample file included.
Question - 1:
I’m working on a Leave Tracker and the requirement is that the User should not enter CL in more than two consecutive cells in rows.
CL CL CL - Not Allowed (pass with current code)
CL CL Blank CL CL - Allowed
CL CL CL CL CL CL - Not Allowed (failed with current code)
The code is working when the User enter data in each cell, however, it fails when the User copies data to range of Cells (More than 3 Cells).
Question - 2:
When the Excel file is opened from Outlook, how to disable Protected View message and Enable Editing programmatically? I tried few solutions available online, but that is not working.
Thanks.