Thread: [Solved] Cell font and font size
View Single Post
 
Old 02-09-2014, 09:07 PM
excelledsoftware excelledsoftware is offline Windows 7 64bit Office 2003
IT Specialist
 
Join Date: Jan 2012
Location: Utah
Posts: 455
excelledsoftware will become famous soon enough
Default

One way you could do it is to have them paste just the text each time. I wrote this code a little bit ago for this purpose. It recognizes if the text they are pasting is from Excel or another source. you could assign this to button or autoshape and then they can just click that button rather than CTRL V or right click then paste.
Code:
Sub PasteText()
    On Error GoTo valueerror
    ActiveSheet.PasteSpecial Format:="Text", Link:=False, DisplayAsIcon:= _
        False
End
valueerror:
On Error GoTo clipboardempty
        Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
        :=False, Transpose:=False
    End
    
clipboardempty:
MsgBox "Nothing on clipboard to paste."
End
        
End Sub
Reply With Quote