Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
I'm trying to write inside a button in a userform to clear the cell if it is less than 1%
Range("G9:G28").Select Selection.ClearContents if range("g9:g28) < 0
This is probably very wrong
dim c as range for each c in activesheet.range("G9:G28") if c.value < 0 then c.clearcontents next
Add a comment
if c.value2 < 0.01 then c.clearcontents
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.