Importing Rich Text

May 23, 2005

I have a .csv (MS Excel) file I need to import, but one of the fields contains rich text format text.

Is there anyway to clean this up before or after it is imported?

Thanks,

T.J.

View Replies


ADVERTISEMENT

Modules & VBA :: Moving Rich Text From Access Memo Field To A Word Text Box

Jul 24, 2015

We need to move rich text from an Access memo field to a Word text box. So far the best Ive been able to come up with is in the code below. In this code pprs!What is a record set field of a table memo field that is bound to a text box enabled for rich text. The rich text seems to be stored as html as so I can get word to convert it by enclosing it in html tags.

Dim What As Word.Shape
Set What = doc.Shapes.AddTextbox(msoTextOrientationHorizontal , doc.PageSetup.LeftMargin, 225, 534, 0)
Dim sPath As String
sPath = "G:Temp.html"
Open sPath For Output As 1
Print #1, "<HTML>" & pprs!What & " </HTML>"
Close #1
What.TextFrame.TextRange.InsertFile (sPath)

View 2 Replies View Related

General :: Search For Highlighted Text In Rich Text Box

Oct 1, 2012

Is there a way of searching a rich text box for any text which is highlighted and then deleting that text? I cannot find an answer to this anywhere..

View 2 Replies View Related

Rich Text Plugin For MS Access

Oct 4, 2006

Hi,

I have created forms in MS Access.. Now i want to attach Rich Text Format with each of the Text Box or Text Area... How can i do that...
I was trying to search for a plugin which would get attached with MS Access and then while creating the forms it would get attached with the Text Box and Text Areas..

Kindly please help me in getting a solution to this problem..

Thanking you,

with regards,
Kapil Sharma

View 7 Replies View Related

Line Break In Rich Text Box

Aug 12, 2011

how to make a line break in a rich textbox in access 2007? Chr(13) & Chr(10) worked until I changed the textbox to rich, which is necessary because certain words in the textbox need to be bold.

View 2 Replies View Related

Using Rich Text Instead Of Normal Text In A Text Box?

May 24, 2012

In my form's text box I have noticed that I can;t write paragraphs ie use the TAB key to start a new line. If I use rich text I assume this will be possible. But are there any disadvantages to using rich text?

View 1 Replies View Related

Rich Text Area To Word Doument.

Oct 16, 2006

Hi..

I am using RTF2 ActiveX Control which enables me to include the Rict Text Controls in my Access Form.

I want to generate a doc document out of the information which i type in the RTF2 Area on the Access Form. And whatever Rich Text Format information i have written there (for eg in Bold, Italics, Indentation, Tables created, Bullets n Numbering etc), is retained as it is on the Doc document which i am generating with the help of bookmarks.

Please help in how do i do that 'coz i am not able to do it using the Rich Text Format...

Thanking you,

with regards,
Kapil Sharma

View 3 Replies View Related

Exporting Reports In Rich Text Format

Feb 25, 2005

Can anyone help?!
We are trying to export some reports into a Rich Text format using Access on Office 2003 on a Win XP op system. When doing this on Win 98 the Rich text document was slightly out of line but not too bad. Now we are doing it on XP it is completely out of line and unusable. Does anyone have any suggestions please?
Regards
Richard

View 3 Replies View Related

Forms :: Memo Field In Rich Text Box

May 6, 2014

When I changed the memo field from plain text to Rich Text, I got the below divs and slashes. Is there any way to get rid of them?

<div>GC in process - EB1.</div>
<div> </div>

I had only "GC in process - EB1" in plain text.

View 1 Replies View Related

Modules & VBA :: HTML In Rich Text Field

Oct 21, 2014

I'm trying to output some logging to a form with a Rich text textbox

This is what the form is displaying:
14:16:32: check OK: 500<10000andS235='s460'>
14:16:32: check OK: 500<10000andS235='s355'>
14:16:32: check failed:too short 500<1000231231 >
14:16:32: Ready ...

There is some coloring in the text but I'm not display that here (copy/paste of the textbox)

This is the HTML behind it (? txtbox in imm.window):
14:16:32: <font color=black>check OK: 500<10000andS235='s460'</font><br />14:16:32: <font color=black>check OK: 500<10000andS235='s355'</font><br />14:16:32: <font color=red><strong>check failed:too short 500<1000231231 </strong></font><br />14:16:32: <font color=green><strong>Ready ... </strong></font><br />

The problem is in the red > that are added to each line. I have no clue where they are coming from, in fact: they are NOT in the HTML.When I display this piece of HTML in IE I don't get the red > behind each line.I have tried to use <p> of <div> instead of <br/> but that makes no difference

Code:
Forms!frm_Calculationlog.txtmsg = Forms!frm_Calculationlog.txtmsg & "<div>" & _
Format(Now(), "hh:nn:ss") & ": " & _
IIf(strColor <> "", "<font color=" & strColor & ">", "") & IIf(booBold, "<strong>", "") & strMessage & _
IIf(booBold, "</strong>", "") & IIf(strColor <> "", "</font></div>", "")

I can assure you that the > is NOT in the strMessage ... f.e. this is the ouput of strMessage on the first line: 500 <10000 and 'S235' ='s460'

strColor is a string in which I can set a color ("red", "blue")
booBold is a boolean with which I can set text to bold

View 4 Replies View Related

Tables :: Memo Field Rich Text

Nov 21, 2013

I have a Memo field in my table. I have changed the Text Format property to Rich Text. I can now change the formats etc of the values in the field.

However, I now want to see the Markup HTML tags in the table fields i.e. <b>test</b> in order for me to make changes manually as well.

View 5 Replies View Related

Problem With Stephen Lebans Rich Text Control

Feb 13, 2008

Hi,

I've just installed Stephen Lebans Rich Text Control as I have a a couple of memo fields on a form on a 2003 database where the user needs to be able to bold parts of the memo. I've installed it fine, and put the text control onto a form and it doesn't seem to do what i need (i.e. the Bold button isn't even enabled on the toolbar). I've downloaded the sample database that he has on the site and this works fine suggesting ive installed it correctly and i am going through the properties of the control with a fine tooth comb but havent found anything different yet to what i am doing on my trial form.

Any ideas what I've missed?

View 1 Replies View Related

Tables :: Table Rich Text Column Color

Sep 27, 2014

how I can set a color on table column formatted as rich text and memo. For instance this table has 4 different columns of remarks, one from each engineering operating center. Remarks_1, Remarks_2, Remarks_3 and Remarks_4. Each one of the 4 operating centers enters the remarks in one of these fields. On the Dashboard report, what I do is I get all these 4 fields and merge in 1 because the report is already narrow due to several other columns as well. So there is a report combining all data : =Remarks_1& " -"&Remarks_2&" - "&Remarks_3&" - "&Remarks_4 under Remarks.

The point is that the Dashboard has colorcode, Orange for Remarks_1, Red for Remarks_2, Blue for Remarks_3 and Green for Remarks_4. All these fields are memo on rich text format. On the form I have set the color of each field, however the color doesn't get set on the table as well, but only on the form fields. How can I set a defined color to each field on the table? And also when I get all data in one column, I would see all different colors.

View 1 Replies View Related

General :: 3075 Error When Using Rich Text Highlighting

Jul 29, 2013

My error: Syntax error (Missing operator) in query expression

Followed by <div> and other HTML code. Ending with a "3075".

I get this error after adding highlighted text to my memo fields. No other rich text formatting seems to trigger it. Specifically, the error is triggered when moving from my subform to another subform or the main form.

View 2 Replies View Related

Reports :: Hyperlink In Rich Text Field On Report

Dec 3, 2014

I am generating a report that needs to have a hyperlink in part of one of the fields. Prior to saving the field to the database I do a bit of VBA coding on it and add some HTML. The result is this in the field:

"There are two ways to book with your preferred rate: <br>

1. <b><a href="http://hamptoninn.hilton.com/en/hp/reservations/index.jhtml?hotel=ABGVA&corporateCode=12345">Click Here</a></b>! <br>

2. Call us directly or at 1-800-Hampton and use your Corporate ID 12345."

It works beautifully if you paste it into a web page but in the Access report, Access applies the Bold but just ignores the hyperlink.

This is Access 2013 with MS SQL Server 2008 backend. Everything I have read suggests that this should work and is supported. Is there some trick I'm missing?

View 2 Replies View Related

Tables :: Cannot Create A Rich Text Memo Field

Jan 1, 2013

In Access 2010, I'm creating a table with a rich text memo field.

I name the field (BugDescription), select "Memo" as the Data Type, and from the Text Format dropdown I select "Rich Text."

However, as soon as I do that, it switches back to plain text.

I can't find any documentation anywhere that would indicate why I can't set this property...

View 6 Replies View Related

General :: Rich Text In Outlook Email From Access Form

Sep 4, 2013

I am close to getting code to send an email from access with the body of the email populated with a Rich Text textbox from my access form. The problem I am having is that the body of the email is converted to plain text in Outlook which is creating problems for me. How to identify what I can do to convert to rich text or HTML in Outlook? I also want to attach a table that is populated by a query in my application, but i haven't got that far yet.

View 5 Replies View Related

Modules & VBA :: Change Color Of Substring In Rich Text Field

Aug 14, 2013

I'm using Access 2010. I'm passing a string into the OpenArgs of my report - works fine. In the report there are 3 rich text fields which may contain the text I passed in, and if so I want to change the color of that text to red so it stands out.

The value passed to the report changes so I'll need to use VBA in the detail's format section to check each of the 3 rich text fields.

View 5 Replies View Related

Modules & VBA :: Inserting Rich Text Into Lotus Notes Email

Jul 23, 2015

I have been sending plain text emails for a while, but now I have a project where the formatting of the text needs to be specific and I need to send as rich text.

I can use the rich text from a table, excel, or word, but I am at a loss on how to get the data to Lotus Notes.

View 1 Replies View Related

Forms :: Copy Time Automatically To Textbox (Rich Text)

Nov 12, 2013

How to copy the time automatically to text box to become time as data (rich text) when entering data to a form.

View 2 Replies View Related

General :: Combo Box To Populate Rich Text Textbox In Form

Aug 30, 2013

I am new to access and have been staring at the same Run-time error for 3 days (pathetic I know). I cannot for the life of me figure out why it does not like my Dlookup. Esentially, I want and After Update event in my combo box to populate a Rich text textbox in my form. After reading DLookup is the easiest way to make this happen. Here is my code:

Me.emailbody.Value = DLookup("[Escalation_1]", "Status_Emails", "Status_Emails.Status =" & (cboStatus.Value))

My error reads: "Syntax error (missing operator) in query expression 'Status_Emails.Status = LOCATION NEED MORE INFO'.

LOCATION NEED MORE INFO is the value in my criteria cbostatus.value.

View 4 Replies View Related

Modules & VBA :: Export To Excel (rich Text) Column Not Formatting Correctly

Feb 6, 2015

I have a process that is getting data from sharepoint page, containing 2 list. Both list contain one field I am having issues in my export, a 'Multiple Lines of Text' type field which is Rich Text in sharepoint. I have an access DB with a linked table to those 2 list. Access show the one field I am having problems with as Memo.

The Linked table pulls/display the rich text data field correctly. My access query pulls/displays the data correctly.

My export procedure does not, the cell it exports to includes the HTML Tags. How can i modify my VBA export procedure to export to excel in plain text, i dont need the same format, just want to drop the html tags.

Code:
Public Sub StatusReportExport()
On Error Resume Next
' Test to see if the file currently exist, if so, delete file, so new file can be written.
Kill ("L:Connect SiteStatus Report " & Year(Date) & "-" & Month(Date) & "-" & Day(Date) & ".xls")
If Dir("L:Connect SiteStatus Report " & Year(Date) & "-" & Month(Date) & "-" & Day(Date) & ".xls") <> "" Then
MsgBox "Status Report.xls File already in use!" & vbNewLine & "Please Close File, then rerun Report."

[code]....

View 6 Replies View Related

Reports :: Paragraphs In Rich Text Memo Field Not Showing In Report?

Mar 14, 2013

I have an Access 2010 database with a memo field formatted for Rich Text.

I created a simple form. It accepts and shows paragraphs, i.e. I press Return and a new paragraph appears (with a blank line in between paragraphs).

I then created a report based on the same fields. In the memo field it shows the text entered in the form, but not the paragraph breaks. It just shows one big block of text without any paragraph breaks. I have looked for a field property in the report design and layout views that might affect how the text is displayed in the report but I cannot find one.

It is not much use if you can input paragraph breaks in a form but not see them in a report.

View 2 Replies View Related

Modules & VBA :: Import Formatted Rich Text From Lotus Notes To MS Access

Sep 10, 2013

I have a VBA code to import mail from Lotus Notes into Access. The database user is able to read his email inside Access, similar to any email program.

Unfortunately, when I use the GetItemValue (lotusscript) method to read the body of the email message, Notes will render the Rich Text information as Plain Text, and I end up with no formatting information (bold letters, underline, text color, etc.)

How to import messages from Notes to Access and keep the text formatting? I am storing the data in a Rich Text Memo field in a table. I have found code to write HTML (MIME) messages, but not to import them into Access.

View 2 Replies View Related

Modules & VBA :: Insert Rich Text (HTML Format) From Access To Word 2013

Jul 24, 2014

I'm about to connect my DB to word. So I made a form where the user has to choose what entry to export. The data is inserted in a word file in different bookmarks. But there is one special task to insert the rich text so in this case the html formatted text is displayed like this:

Code:
<html><div>asdf</div></html>

My Text is inserted like this:

Code:
wdApp.ActiveDocument.Bookmarks("-Bookmarkname-").Range.Text = Lrs("-ColumnName-")

Lrs is a Recordset.

So how is it possible to display the html code right in the Word doc?

View 1 Replies View Related

Forms :: Rich Text Box - Dynamically Populate Control With Embedded Objects At Run Time

Mar 29, 2015

From a info sheet on RTB Using the Add, Clear, and Remove methods, you can dynamically populate the control with embedded objects at run time. Can those 'embedded objects' be controls, e.g. list boxes, labels etc ?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved