Can someone help me with that code? I'll aprecciate it.
clear content of cell F22 in each worksheet when i open the workbook
Can someone help me with that code? I'll aprecciate it.
clear content of cell F22 in each worksheet when i open the workbook
Hello Nassark,
In the Workbook module, place the following code:-
To implement thecode:-![]()
Please Login or Register to view this content.
- Go to the VB Editor by pressing Alt + F11.
- Over in the Project Explorer, double click on ThisWorkbook.
- In the big white code field, paste the above code.
Save the workbook with the .xlsm file extension then close it. When you next open the workbook, cell F22 in all sheets will be cleared.
I hope that this helps.
Cheerio,
vcoolio.
The Module ThisWorkbook I have the next codes
how can i join the code u gave me with this one? i already tried and it gives me and error with f22.![]()
Please Login or Register to view this content.
Last edited by nassark; 08-31-2018 at 07:45 AM.
any help? please
If you want it to happen on opening workbook you need to add it to Workbook_Open.
![]()
Please Login or Register to view this content.
Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks