Default Value

  • Thread starter Thread starter propolis
  • Start date Start date
P

propolis

Hi,

I have a cell that uses validation to return a number.

A B
a = 1
b = 2
c = 3
etc
etc
Select=0

What I want to do is that when I open the workbook, this cell will be
default to select that returns 0.

Also, how can I add a Reset but, that if a user has made a selection,
he clicks the reset button to set the value back to 'Select' which will
return '0'

:)
 
I'm not sure if I understand, but if you just want to clear a cell (or a group
of cells), you can use a macro:

option Explicit
sub Auto_Open()
with worksheets("sheet99")
.range("a1").clearcontents
.range("b3:b12").clearcontents
.range("c1,d3:d4,q9").clearcontents
end with
end sub

Just showing how you can specify the range.

Remember to use the correct worksheet name (I used sheet99).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top