PC Review


Reply
Thread Tools Rate Thread

Comment box text colour

 
 
Bartman
Guest
Posts: n/a
 
      10th Oct 2006
Hi,

I have a comment box named "Task_Update" were I have created some code
to add the user name and date to any text entered.

I would like just the auto text "Updated" and the Date to be black
text, but all manual text entered to be in red.

Can it be done? Everything I try colours the whole text in one colour.

Private Sub Task_Update_AfterUpdate()
Me.Task_Update = Me.Task_Update & " Updated: " & Date & " " & "By:" &
" " & Me.Nstamp2.Value & Chr(13) & Chr(10)
Chr (10) & Chr(13)
End Sub

Bartman

 
Reply With Quote
 
 
 
 
Douglas J. Steele
Guest
Posts: n/a
 
      10th Oct 2006
The only way to be able to do it would be to use RTF (Rich Text Format)

You can download a free RTF control from Stephen Lebans at
http://www.lebans.com/richtext.htm

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Bartman" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I have a comment box named "Task_Update" were I have created some code
> to add the user name and date to any text entered.
>
> I would like just the auto text "Updated" and the Date to be black
> text, but all manual text entered to be in red.
>
> Can it be done? Everything I try colours the whole text in one colour.
>
> Private Sub Task_Update_AfterUpdate()
> Me.Task_Update = Me.Task_Update & " Updated: " & Date & " " & "By:" &
> " " & Me.Nstamp2.Value & Chr(13) & Chr(10)
> Chr (10) & Chr(13)
> End Sub
>
> Bartman
>



 
Reply With Quote
 
Bartman
Guest
Posts: n/a
 
      10th Oct 2006
Thanks Douglas!

Bartman


Douglas J. Steele wrote:
> The only way to be able to do it would be to use RTF (Rich Text Format)
>
> You can download a free RTF control from Stephen Lebans at
> http://www.lebans.com/richtext.htm
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
> "Bartman" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi,
> >
> > I have a comment box named "Task_Update" were I have created some code
> > to add the user name and date to any text entered.
> >
> > I would like just the auto text "Updated" and the Date to be black
> > text, but all manual text entered to be in red.
> >
> > Can it be done? Everything I try colours the whole text in one colour.
> >
> > Private Sub Task_Update_AfterUpdate()
> > Me.Task_Update = Me.Task_Update & " Updated: " & Date & " " & "By:" &
> > " " & Me.Nstamp2.Value & Chr(13) & Chr(10)
> > Chr (10) & Chr(13)
> > End Sub
> >
> > Bartman
> >


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mouse-over on comment highlights barely shows comment text GordonM Microsoft Word Document Management 0 9th Apr 2008 01:13 AM
Comment balloon colour? slia9500 Microsoft Word Document Management 2 17th Mar 2008 01:57 PM
Comment features - changing the colour of comment ballons =?Utf-8?B?TG9vcHN0ZXI=?= Microsoft Word Document Management 1 10th Jun 2007 10:19 PM
Changing the colour of a comment? Rob Microsoft Excel Discussion 3 6th Dec 2005 02:50 PM
Comment Indicator Colour Paul Microsoft Excel Misc 2 27th May 2004 03:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:36 PM.