Barda
05-31-2011, 09:22 AM
Hi.. I am looking for a VBA code to automatically insert the value of the "B" cell in the active row in my comment. I am using the double click to insert comment VBA code right now, but I would also like it to insert the value from the B column in the row of the cell that I am double clicking to insert my comment and add that value to the comment itself.
From my understanding I cannot change the cell address (i.e. "Cell: G10" when I have the print comment feature selected. I do not want to print the grid lines or row/column labels so I have no way to reference what "G10" may be when it is printed. So I thought I could put a prefix on the comment to reference the cell where it came from.
Note: The cell that I am referencing in the B column is actually a date (not the current date) so a date stamp wouldn't work.
Any help would be greatly appreciated.
From my understanding I cannot change the cell address (i.e. "Cell: G10" when I have the print comment feature selected. I do not want to print the grid lines or row/column labels so I have no way to reference what "G10" may be when it is printed. So I thought I could put a prefix on the comment to reference the cell where it came from.
Note: The cell that I am referencing in the B column is actually a date (not the current date) so a date stamp wouldn't work.
Any help would be greatly appreciated.