Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Refresh of data
When I modify my UDF in VBA and compile it, its result is not reflected in the sheet where I am using it. I have to touch the cells to get the new result reflected. What I need to do to get the result reflected immediately? -- nougain ------------------------------------------------------------------------ nougain's Profile: http://www.excelforum.com/member.php...o&userid=32031 View this thread: http://www.excelforum.com/showthread...hreadid=518590 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Refresh of data
Hi
Maybe setting ToolsoptionsCalculationAutomatic Or, if there is some event going on that triggers your calculation, in VBA you need to set Application.EnableEvents=True -- Regards Roger Govier "nougain" wrote in message ... When I modify my UDF in VBA and compile it, its result is not reflected in the sheet where I am using it. I have to touch the cells to get the new result reflected. What I need to do to get the result reflected immediately? -- nougain ------------------------------------------------------------------------ nougain's Profile: http://www.excelforum.com/member.php...o&userid=32031 View this thread: http://www.excelforum.com/showthread...hreadid=518590 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Refresh of data
Hi Nougain,
Ideally, you should include all input ranges in the function's argument list. If, however, you include an intial: Application.Volatile in the function, the function cells will be recalculated each time that the sheet is recalculated. --- Regards, Norman "nougain" wrote in message ... When I modify my UDF in VBA and compile it, its result is not reflected in the sheet where I am using it. I have to touch the cells to get the new result reflected. What I need to do to get the result reflected immediately? -- nougain ------------------------------------------------------------------------ nougain's Profile: http://www.excelforum.com/member.php...o&userid=32031 View this thread: http://www.excelforum.com/showthread...hreadid=518590 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Create refresh button in worksheet to refresh Pivot Table Data | Excel Worksheet Functions | |||
Macro to Open the Menu Data,Refresh Data,filename,import | Excel Programming | |||
refresh data from a intermediate excel data file (not opened) | Excel Programming | |||
Refresh existing data when changed in data validation list | New Users to Excel | |||
Pivot Table REFRESH Flaw -- Saves Old Data in Selection Area AFTER REFRESH | Excel Programming |