Hi,
I am quite new to VBA programming in excel, but I try to learn something new each day.
So in general, I have created an excel sheet that basically solves an equation with the goalseek function. I did this when changing a value, so I used this code:
_______________
________Please Login or Register to view this content.
So, this equation is solved automatically when I change a variable, which I can do from a cell in another worksheet. I then use the command ='Sheetname!'C6 <-- or something in that cell.
So, there are some few things that I would love to know, and I spent 6 hours last sunday figuring out how I can not do them
One of the things I would love to do is the following:
I would like to be able to change the value of the cell (which makes the program run) from several other cells in a different worksheet. At the same time, I want excel to automatically copy several values from the same worksheet (the equation worksheet) and paste them in another worksheet each time the cell changes value.
E.G:
I have a column with different values from dropdown lists. The cells in the row needs to be limited to, let's say 20 cells that can affect the value of the cell that runs the code that solve the equation.
Every time the code solves an equation, I would like to copy 6-7 values from the sheet that has the equation on it to the sheet that I changed the cell value (the active row in the sheet which I changed a cell in a drop down menu (this is the same sheet that has the cell column of 20 cells with drop down menus)).
I the program to be able to do this for all the 20 cells. But I have no Idea how.
Also, If I really want to learn VBA in excel, where should I start?
If you see this thread for the first time just go to the bottom where I attached my excel sheet
Bookmarks