exceluser2007
Active Member
- Joined
- Nov 21, 2007
- Messages
- 365
Hi All,
I would like to understand how to do the following.
To create a macro that pastes the comments in all cells of a selected range into those corresponding cells.
The only caveat is, that if the comment contains the following text:
I would like to exclude everything prior to ":" and trim all leading and trailing blanks, so that the required output would be
Could anyone please show how to write this code?
regards
I would like to understand how to do the following.
To create a macro that pastes the comments in all cells of a selected range into those corresponding cells.
The only caveat is, that if the comment contains the following text:
30/06/08: 3months 0% tax
I would like to exclude everything prior to ":" and trim all leading and trailing blanks, so that the required output would be
3months 0% tax
Could anyone please show how to write this code?
regards