Hello,
I need a formula that as soon as I delete a cell the value to be automatically changed to '0'.
Please suggest
Thanks,
Shan
Hello,
I need a formula that as soon as I delete a cell the value to be automatically changed to '0'.
Please suggest
Thanks,
Shan
Shan
Which cell will be deleted? You want the same cell which is deleted to be changed to 0?
If I have helped, Don't forget to add to my reputation (click on the star below the post)
Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
Use code tags when posting your VBA code: [code] Your code here [/code]
Yes, thats the trick![]()
Right click on your sheet name and select "View Code". Then copy this code in the code window that appears -
Then test it.![]()
Please Login or Register to view this content.
thats great .. cant we do that with a formula
anyway this solves .. many thanks
I am not sure if you can do it with a formula.
If you are satisfied with the solution(s) provided, please mark your thread as Solved.
Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
Hi arlette,
How can we do this for a specific range
Thanks,
Shan
Do you mean you want to select a range of cells and delete the contents?
Yes pls . say a specific column or a range of cells
This what you want ?
![]()
Please Login or Register to view this content.
Thanks,
Mike
If you are satisfied with the solution(s) provided, please mark your thread as Solved.
Select Thread Tools-> Mark thread as Solved.
Thanks Mike. I didnt realise that could be done.
Your welcome, probably better to Intersect the range.
![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks