Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Updating multiple cells from a UDF

Is there any workaround for updating multiple cells from a UDF using the
excel events to hook up another procedure after the UDF has returned it's
value ?

Rdgs,

Terry



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default Updating multiple cells from a UDF

Hi Terry

You might play around with the Calculate event and call a macro or a
function from there. But you won't have much control over the order of
calculations, I think, so "after the UDF has returned it's value" would
probably be hard to ensure. It may be safer so call a sub or a VBA function
from a Change event, where you start the code with "calculate". Assuming
that you know which input that trigs your changes, that is.

--
HTH. Best wishes Harald
Followup to newsgroup only please

"Terry" skrev i melding
...
Is there any workaround for updating multiple cells from a UDF using the
excel events to hook up another procedure after the UDF has returned it's
value ?

Rdgs,

Terry





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 968
Default Updating multiple cells from a UDF


Hi Terry,

Have you considered using an array formula UDF so that it returns an array
of results to multiple cells?

Charles
______________________
Decision Models
FastExcel Version 2 now available.
www.DecisionModels.com/FxlV2WhatsNew.htm

Hi Terry

You might play around with the Calculate event and call a macro or a
function from there. But you won't have much control over the order of
calculations, I think, so "after the UDF has returned it's value" would
probably be hard to ensure. It may be safer so call a sub or a VBA

function
from a Change event, where you start the code with "calculate". Assuming
that you know which input that trigs your changes, that is.

--
HTH. Best wishes Harald
Followup to newsgroup only please

"Terry" skrev i melding
...
Is there any workaround for updating multiple cells from a UDF using the
excel events to hook up another procedure after the UDF has returned

it's
value ?

Rdgs,

Terry







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
multiple hyplerlink updating Grant Spooner Excel Worksheet Functions 1 December 22nd 08 11:40 AM
Updating multiple graphs in multiple worksheets at the same time J@Y Excel Discussion (Misc queries) 3 February 1st 07 03:30 AM
Updating Multiple Spreadsheetssheets Kathleen New Users to Excel 2 October 31st 06 02:41 PM
Updating links in multiple worksheets SR89 Excel Discussion (Misc queries) 0 July 6th 06 03:46 PM
updating multiple worksheets Pat Excel Discussion (Misc queries) 4 January 5th 06 01:21 AM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"