I have an Excel 2007 spreadsheet. There are a couple of cells whose value changes based on updates to the spreadsheet. I added a text box to the spreadsheet by using the Insert ActiveX controls drop down within the Developer ribbon. I was able to edit the name and position it where I want it but I need it to update every time a specific cell value changes. How can I do this? I presume it has to be via some VBA code.
For example:
When the contents of cell A1 change I want the text box to show the value each time the cell value changes. My intention is to have the text box appear at the top of the spreadsheet whereas the cell could be several columns over (or hidden). I would need the text box to reflect changes to approximately 4 different cells.
Can this be done? Also, could it be done to show all 4 cell values in one text box? One value under the other?
Thank you very much.
Mark
For example:
When the contents of cell A1 change I want the text box to show the value each time the cell value changes. My intention is to have the text box appear at the top of the spreadsheet whereas the cell could be several columns over (or hidden). I would need the text box to reflect changes to approximately 4 different cells.
Can this be done? Also, could it be done to show all 4 cell values in one text box? One value under the other?
Thank you very much.
Mark