KC Cat
New Member
- Joined
- Dec 23, 2009
- Messages
- 48
Hello to all,
I have a macro assigned to a toolbar button that will paste a comment. But, it only works if a cell with a comment has actually been copied first. If no copy function has been performed, and the toolbar button is clicked, the following message appears:
Run-time error '1004':
PasteSpecial method of Range class failed
So, is there a way to test first to see if a copy has been performed?
Thanks
I have a macro assigned to a toolbar button that will paste a comment. But, it only works if a cell with a comment has actually been copied first. If no copy function has been performed, and the toolbar button is clicked, the following message appears:
Run-time error '1004':
PasteSpecial method of Range class failed
So, is there a way to test first to see if a copy has been performed?
Thanks