Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 85
Default Need for Application.Volatile?

As I understand it, a UDF will recalculate if any of the input variables
change.

That being the case and since all the used variables are in the input
parameters, is there any need for the Application.Volatile entries in the
XINDEXvba samples on the byg site
(http://www.bygsoftware.com/examples/...indexvba.zip)?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 599
Default Need for Application.Volatile?

Paul

I don't see any need for them. Some people include it 100% of the time
(which is bad practice), so that may be the case here.

Just to be sure, I downlaoded it, removed the Volatile statement and tried
to break the formula. I couldn't do it. I just don't think it's necessary
here.

--
Dick Kusleika
MVP - Excel
Excel Blog - Daily Dose of Excel
www.dicks-blog.com

"Paul Lautman" wrote in message
...
As I understand it, a UDF will recalculate if any of the input variables
change.

That being the case and since all the used variables are in the input
parameters, is there any need for the Application.Volatile entries in the
XINDEXvba samples on the byg site
(http://www.bygsoftware.com/examples/...indexvba.zip)?




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 85
Default Need for Application.Volatile?

Thanks, that was my opinion too. I'm glad for the reassurance, it means that
I do understand it!

"Dick Kusleika" wrote in message
...
Paul

I don't see any need for them. Some people include it 100% of the time
(which is bad practice), so that may be the case here.

Just to be sure, I downlaoded it, removed the Volatile statement and tried
to break the formula. I couldn't do it. I just don't think it's

necessary
here.

--
Dick Kusleika
MVP - Excel
Excel Blog - Daily Dose of Excel
www.dicks-blog.com

"Paul Lautman" wrote in message
...
As I understand it, a UDF will recalculate if any of the input variables
change.

That being the case and since all the used variables are in the input
parameters, is there any need for the Application.Volatile entries in

the
XINDEXvba samples on the byg site
(http://www.bygsoftware.com/examples/...indexvba.zip)?







Reply
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
volatile v non-volatile CJ Excel Discussion (Misc queries) 4 February 12th 10 12:16 PM
Call Application.Volatile(True) NOT WORKING FARAZ QURESHI Excel Discussion (Misc queries) 1 May 8th 08 04:50 AM
Application.Volatile Not Working Timely FARAZ QURESHI Excel Discussion (Misc queries) 2 March 10th 08 09:52 AM
Application.Volatile not working as expected Richards Excel Discussion (Misc queries) 3 February 3rd 05 12:20 AM
Application.Volatile messing up other function itchyII Excel Programming 1 April 1st 04 04:31 PM


All times are GMT +1. The time now is 11:04 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"