Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

short cut to application.worksheetfunction.XYZ

Status
Not open for further replies.

electricpete

Electrical
Joined
May 4, 2001
Messages
16,774
Location
US
I notice a lot of people use statements like:
application.worksheetfunction.roundup( , )
application.worksheetfunction.max( , )
application.worksheetfunction.pi()

These type statements can be written a little faster using:
application.roundup( , )
application.max( , )
application.pi()

One difference is that you won't see the list of values from which to pick the function. But still gives more compact code.

What is the underlying object structure that allows two different ways to get to these functions? Beats me. (maybe someone can explain).

=====================================
Eng-tips forums: The best place on the web for engineering discussions.
 
Sure, that's easy, it's called....



















job security

TTFN

FAQ731-376
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top