VBA Code For Excel Help Required

chetan_hm2

New Member
Joined
Jan 17, 2023
Messages
1
Hi,

I am using Worksheet level event for clearing off cells content in excel worksheet based on certain value. I am unprotecting the workbook in Workbook Open Event and writing the code for clearing off cell contents in a very particular excel sheet and then protecting it again at the end of the macro in Worksheet level Open Macro actually.

Can you please guide me why it is giving screen flickering and how to avoid it?
Sometimes Workbook is getting unlocked also due to workbook open or Activate Event at Worksheet level.

Also, another requirement is do clear off Cell Contents in say A2 based on particular selection of dropdown in Cell A1 . How to do it without using any macro code or Worksheet level event

How to do it?



Regards,
CompuStrenghth
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,214,951
Messages
6,122,442
Members
449,083
Latest member
Ava19

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top