How To Create a Button to Clear Cell Value but Keep the Formula
Автор: Excel 10 tutorial
Загружено: 2021-07-13
Просмотров: 21554
Описание:
How To Create a Button to Clear Cell Value but Keep the Formula
Suppose you are using a data format in excel and you need to reset the data every time. Unless you want to do it manually it's better to create a clear button in Excel. I’ve showed this type of tutorial already here they are:
how to clear contents in excel without deleting formatting: • How To Create a Button to Clear Cell Forma...
How to create a button to clear multiple merged cells in excel: • How to create a button to clear multiple m...
How To Apply A Button To Clear Specific Cells On Another Worksheet In Excel: • How To Apply A Button To Clear Specific Ce...
How To Apply A Button To Clear Specific Cells In Excel: • How To Apply A Button To Clear Specific Ce...
But this tutorial is different. What if your selected data has formulas in it. If you remove the value your formulas will also be removed. This is why I’ve created a vba code so that you can use it and clear cell content in Excel but keep the formula.
Let’s follow the instructions below to clear contents in excel without deleting formulas using vba.
Step 1: Click on the Developer tab (Learn to Add Developer Tab In Excel: • How to add developer tab in excel )
Step 2: Click on Visual Basic
Step 3: Click "Insert" and then "Module"
Step 4: Write the code (Please subscribe and here goes the code: / 53225159 )
Step 5: Close the VBE
Now we need to create button in excel. There are several tutorials on the channel to create buttons for VBA you can check them here:
How To Create a Button to Run VBA Code: • How To Create a Button to Run VBA Code
How to Create Floating Buttons in Excel to Run VBA: • How to Create Floating Buttons In Excel to...
How To Create A Custom Button On Quick Access Toolbar To Run VBA: • How To Create A Custom Button On Quick Acc...
Now that you’ve created a button, click on it. It will ask for the data range. After selecting the data range click ok. Done. Now excel will clear cells but keep the formula from your selected data range. This is how you clear contents in excel without deleting formula.
#ClearContent #KeepFormula #Button
Thanks for watching.
-------------------------------------------------------------------------------------------------------------
Support the channel with as low as $5
/ excel10tutorial
-------------------------------------------------------------------------------------------------------------
Please subscribe to #excel10tutorial
https://goo.gl/uL8fqQ
Here goes the most recent video of the channel:
https://bit.ly/2UngIwS
Playlists:
Advance Excel Tutorial: https://goo.gl/ExYy7v
Excel Tutorial for Beginners: https://goo.gl/UDrDcA
Excel Case: https://goo.gl/xiP3tv
Combine Workbook & Worksheets: https://bit.ly/2Tpf7DB
All About Comments in Excel: https://bit.ly/excelcomments
Excel VBA Programming Course: http://bit.ly/excelvbacourse
Social media:
Facebook: / excel10tutorial
Twitter: / excel10tutorial
Blogger: https://excel10tutorial.blogspot.com
Tumblr: / excel10tutorial
Instagram: / excel_10_tutorial
Hubpages: https://hubpages.com/@excel10tutorial
Quora: https://bit.ly/3bxB8JG Become a member and enjoy exclusive perks while supporting the channel you love!
/ @excel10tutorial
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: