Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default How to make custom functions (VBA) read changes automatically?

Kindly help me on this. I have a function (VBA) which automatically runs the
mundane checks for data in a given sheet and runs a VLOOKUP on that sheet.
This is specific to the financial model that I am building. But, the only
concern here is that, it doesnot recognise the value changes until I manually
go to each cell and say "F2" followed by an enter. Kindly help me with this
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default How to make custom functions (VBA) read changes automatically?

All data that the function needs should be supplied via the argument list in
the function call (and the function definition, of course)

You can also add "Application.Volatile" to the function, but really the
safest way is to include all input in the arguments.

--
Kind regards,

Niek Otten

"Vinay" wrote in message
...
Kindly help me on this. I have a function (VBA) which automatically runs
the
mundane checks for data in a given sheet and runs a VLOOKUP on that sheet.
This is specific to the financial model that I am building. But, the only
concern here is that, it doesnot recognise the value changes until I
manually
go to each cell and say "F2" followed by an enter. Kindly help me with
this



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default How to make custom functions (VBA) read changes automatically?

Hello Niek,

Thanks a lot for that simple piece of information. You really made my day.
If not for this I would started with the VLOOKUP function all over again.

Thanks once again!!!

Regards,
Vinay

"Niek Otten" wrote:

All data that the function needs should be supplied via the argument list in
the function call (and the function definition, of course)

You can also add "Application.Volatile" to the function, but really the
safest way is to include all input in the arguments.

--
Kind regards,

Niek Otten

"Vinay" wrote in message
...
Kindly help me on this. I have a function (VBA) which automatically runs
the
mundane checks for data in a given sheet and runs a VLOOKUP on that sheet.
This is specific to the financial model that I am building. But, the only
concern here is that, it doesnot recognise the value changes until I
manually
go to each cell and say "F2" followed by an enter. Kindly help me with
this




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
How do I make read-only file vij Excel Discussion (Misc queries) 1 July 17th 09 02:04 PM
Why is Read-Only set Automatically? Boswell Excel Discussion (Misc queries) 1 June 12th 06 01:52 PM
Automatically select read-only [email protected] Excel Discussion (Misc queries) 2 February 22nd 06 10:21 AM
Using custom functions within custom validation Neil Excel Discussion (Misc queries) 4 December 14th 05 10:40 PM
Make a file read only Michael Singmin Excel Programming 1 November 3rd 03 07:45 PM


All times are GMT +1. The time now is 05:43 PM.

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"