Hi all,
I'm very new to Excel VBA so please bear with me.
I'm currently trying to force users to paste only so that it matches the destination formatting.
I've seen the following posts but it doesn't work for my situation:
I've also tried to see how excel is actually coding the paste matching destination formatting using the record macro button, and it gave me this:
Can someone please help me find a work around, I've been at it for hours and still can't get it to work.
Thanks a lot for your help!
Lili
I'm very new to Excel VBA so please bear with me.
I'm currently trying to force users to paste only so that it matches the destination formatting.
I've seen the following posts but it doesn't work for my situation:
- Allow user to only paste values, not formats
- Best way to force a Paste Values only
- Force Paste Special Values
- VBA - Restrict Users To Paste As Values Only
I've also tried to see how excel is actually coding the paste matching destination formatting using the record macro button, and it gave me this:
VBA Code:
ActiveSheet.PasteSpecial Format:="HTML", Link:=False, DisplayAsIcon:= _
False, NoHTMLFormatting:=True
Can someone please help me find a work around, I've been at it for hours and still can't get it to work.
Thanks a lot for your help!
Lili