Hi
If you don't spesify anything, the default property will be used. For a cell that's Value. So you don't have to use .value to enter a number or a text into a cell.
The good thing is that's a good habit, you know what you do and the code is explaining what's happening so you can read and maintain it afterwards without knowing what the default property of just everything might be.
You may already know this, but just in case: If you do something like
Activecell = Activecell
you might think that nothing changes and that you're just confirming where and what the active cell is. Well, not so. Do it in a cell containing a formula and see what happens.
--
HTH. Best wishes Harald
Followup to newsgroup only please
"Stuart" <
[email protected]> skrev i melding I have noted that the MVP members always include .Value when reffering to a cell. eg.
if activecell.value= 5 then
for years I would have just used (and have never had any problems) with.
if activecell=5
What are the bennifits in specifying "Value"?