LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 391
Default dot value

as mentioned, Value is the defualt property, and while it
can be omitted in VB6/VBA, using it does make code more
legible.

However .NET object have no defualt value. If your
current code uses the .Default methods & properties, then
it will make re-factoring your code so much easier.


Patrick Molloy
Microsoft Excel MVP
-----Original Message-----
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"?


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:10 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"