Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski 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
May 4, 2001
16,774
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