View Single Post
 
Old 06-19-2014, 12:18 PM
Cosmo Cosmo is offline Windows Vista Office 2007
Competent Performer
 
Join Date: Mar 2012
Posts: 240
Cosmo is on a distinguished road
Default

Quote:
Originally Posted by jpb103 View Post
I get a type mismatch when I try this code.
Code:
        Set oRng = DescriptionBox.TextRTF
        oRow.Cells(1).Range.FormattedText = oRng
Where DescriptionBox is my RTF text box and oRow.Cells(1).Range.Text is where I'd like to put the contents of said RTF text box.
This might work:

Code:
 
oRow.Cells(1).Range.FormattedText  = DescriptionBox.TextRTF
Reply With Quote