I'm trying to combine text with the results of a calculation in a single cell via a macro, and haven't had much luck.
What I need it to look like is "Actual June Data as of 7/05/2011" across merged cells G36:J36. The words "Actual" and "Data as of" are text. The month is derived from another worksheet where the month is indicated by just an integer in a cell, i.e. 6, 8, etc. I've been trying to use "=Choose" with the months to write out the month name, but haven't been able to get that to work like it would by putting it in a cell as a formula. The "7/05/2011" is simply the current date.
I need this to be in a macro because users will be altering data, and I have to keep some statistics of the data before any changes are made.
Any ideas?
What I need it to look like is "Actual June Data as of 7/05/2011" across merged cells G36:J36. The words "Actual" and "Data as of" are text. The month is derived from another worksheet where the month is indicated by just an integer in a cell, i.e. 6, 8, etc. I've been trying to use "=Choose" with the months to write out the month name, but haven't been able to get that to work like it would by putting it in a cell as a formula. The "7/05/2011" is simply the current date.
I need this to be in a macro because users will be altering data, and I have to keep some statistics of the data before any changes are made.
Any ideas?