Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 06-19-2014, 12:18 PM
Cosmo Cosmo is offline Retrieving Rich Text from a RTF Text box in a User Form Windows Vista Retrieving Rich Text from a RTF Text box in a User Form 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
 

Tags
rich text, tables, userforms



Similar Threads
Thread Thread Starter Forum Replies Last Post
Retrieving Rich Text from a RTF Text box in a User Form Rich text/Plain text Content Controls in Template michael.fisher5 Word 9 11-19-2014 06:36 AM
Retrieving Rich Text from a RTF Text box in a User Form Rich Text Content Control - Allow User Formatting keithacochrane Word 1 05-28-2012 05:06 PM
Retrieving Rich Text from a RTF Text box in a User Form How to I make text Bold in a User Form -Visual Basic gurp99 Word VBA 11 03-12-2012 04:05 PM
My plain text post got converted to rich text in a reply, how to convert it back? david.karr Outlook 0 01-05-2012 09:46 AM
Templates: automatic text generation from Rich Text content control Chickenmunga Word 0 10-01-2008 11:16 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:33 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft