Hi to everyone,
I'm quite new to VBA so perhaps the best way to explain this is by describing what I would like to do. I have a sheet where 4 cells (A1:B2) provides outputs depending on the value of 1 input cell (C3).
The value of this input cell can be one of many (maybe even 1000 different integer values) I need to have in cells (D1:E2) the sum of every values that I have in A1:B2 while changing the input cell (C3). So in cell D1 I would have the sum of all values I get in A1 while changing C3 from 1 to 1000 (for instance). In E1 the same but summing B1 while changing C3, in D2 summing A2 and so on.
I need to do this with VBA because the real case is much more complicated than this and cannot be easily solved whit excel builtin menu-driven datatable function.
Basically I need to know how to get in vba the value from A1 while changing C3 and having the sheet recalculated
I hope to have made myself understood and sorry for my english.
Thanks to anyone who can help
Paolo
Italy
Bookmarks