Hi guys.
I'm working with a project where I am trying to produce a worksheet containing
A) The sum of the order that is to be paid
B) The date where they have to be paid
I have created a very simple table with the names of the delivering companies in the columns, and project names in the rows. In each cell I then add the sum of the order that we are going to place. Example:
Mike's Iron Toys'R'Us Project 1 5000 50 Project 2 20000
And so on..
Now, what I need is to be able to click a toggle button (or any other method that works) that switches the sums to dates! Like so:
Mike's Iron Toys'R'Us Project 1 2014-01-15 2014-01-25 Project 2 2014-02-01
Preferably I would like to be able to press the button and "clear" all the cells where the sums are already added, and then manually add the dates to the same cells, and then when I press the toggle button again all the sums should return. Then I can switch between sum/date and edit any of the two on the fly, cell by cell. I imagine this would require the worksheet to be duplicated when the button is pressed, cleared of all information except the captions, and then switched between worksheet A and B depending on if the button is pressed or not. But perhaps there is another way?
I think it would be easier if I would just add the sums and dates separately in other cells and have the togglebutton "gather" the information from the cells and display them in my target cell. But I would really like to edit the cell directly and not have to add values somewhere else. Otherwise I feel that it would take a lot of time getting the toggle button to display the right values (seeing as rows are deleted when the project is fully paid for etc.). The same problem could occur if the worksheet is duplicated somehow; when I delete or add rows when projects are finished/new it feels like it could mess up the code.
It's a real doozy (is that how you say it?)! I hope anyone can help me with this.
Bookmarks