PC Review


Reply
Thread Tools Rate Thread

Bold Font question

 
 
=?Utf-8?B?SmVubnkgQi4=?=
Guest
Posts: n/a
 
      17th Aug 2007
Good Afternoon All,

I currently have a formula that pulls data results from one page and places
them in another along with additional text. I've seen several posts that
note bolding one word is not possible and I'm just wondering if that is in
fact correct. I've been able to change single words to Caps if needed (see
Exp. 1), but I'm able to just write Bold and get the same results (Exp. 2).

Thank you for your review as always and appreciate any thoughts or advice -
Jenny B.

Exp. 1 (Works)
="This questionnaire asks you to evaluate the job performance of" &" " &
Upper('Test Results Data'!G49) & " " &Upper('Test Results Data'!F49) &"." &"
" & "The information you are providing is for research purposes only, and
will not become part of the employee's official record."

Exp.2 (Does not Work)
="This questionnaire asks you to evaluate the job performance of" &" " &
Bold('Test Results Data'!G49) & " " &Bold('Test Results Data'!F49) &"." &" "
& "The information you are providing is for research purposes only, and will
not become part of the employee's official record."
 
Reply With Quote
 
 
 
 
=?Utf-8?B?RHVrZSBDYXJleQ==?=
Guest
Posts: n/a
 
      17th Aug 2007
Alas - there isn't a way to make only a portion of a formula bold

UPPER() works because that is an Excel function.

There is no similar function to change the font or font attribute of a string.



"Jenny B." wrote:

> Good Afternoon All,
>
> I currently have a formula that pulls data results from one page and places
> them in another along with additional text. I've seen several posts that
> note bolding one word is not possible and I'm just wondering if that is in
> fact correct. I've been able to change single words to Caps if needed (see
> Exp. 1), but I'm able to just write Bold and get the same results (Exp. 2).
>
> Thank you for your review as always and appreciate any thoughts or advice -
> Jenny B.
>
> Exp. 1 (Works)
> ="This questionnaire asks you to evaluate the job performance of" &" " &
> Upper('Test Results Data'!G49) & " " &Upper('Test Results Data'!F49) &"." &"
> " & "The information you are providing is for research purposes only, and
> will not become part of the employee's official record."
>
> Exp.2 (Does not Work)
> ="This questionnaire asks you to evaluate the job performance of" &" " &
> Bold('Test Results Data'!G49) & " " &Bold('Test Results Data'!F49) &"." &" "
> & "The information you are providing is for research purposes only, and will
> not become part of the employee's official record."

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      17th Aug 2007
Just to make clear...

This won't work with a formula--if Jenny converts the formulas to values, then a
technique like this will work.

bj wrote:
>
> I miss read your posting.
> you can write a macro to change part of a text field to bold or to a color
> font. but you have to be able to lengths of each section
>
> with your example the macro might be something like the macro below if the
> length of the stuff to be bolded were 36
> note you would nneed ot save and paste as values first
> sub bld()
> Range("K15").Select
>
> With ActiveCell.Characters(Start:=1, Length:=63).Font
> .Name = "Arial"
> .FontStyle = "Regular"
> .Size = 10
> .Strikethrough = False
> .Superscript = False
> .Subscript = False
> .OutlineFont = False
> .Shadow = False
> .Underline = xlUnderlineStyleNone
> .ColorIndex = xlAutomatic
> End With
> With ActiveCell.Characters(Start:=64, Length:=36).Font
> .Name = "Arial"
> .FontStyle = "Bold"
> .Size = 10
> .Strikethrough = False
> .Superscript = False
> .Subscript = False
> .OutlineFont = False
> .Shadow = False
> .Underline = xlUnderlineStyleNone
> .ColorIndex = xlAutomatic
> End With
> With ActiveCell.Characters(Start:=101, Length:=125).Font
> .Name = "Arial"
> .FontStyle = "Regular"
> .Size = 10
> .Strikethrough = False
> .Superscript = False
> .Subscript = False
> .OutlineFont = False
> .Shadow = False
> .Underline = xlUnderlineStyleNone
> .ColorIndex = xlAutomatic
> End With
> End Sub
>
> "bj" wrote:
>
> > what version of excel are you using. it does not work in 2003
> >
> > "Jenny B." wrote:
> >
> > > Good Afternoon All,
> > >
> > > I currently have a formula that pulls data results from one page and places
> > > them in another along with additional text. I've seen several posts that
> > > note bolding one word is not possible and I'm just wondering if that is in
> > > fact correct. I've been able to change single words to Caps if needed (see
> > > Exp. 1), but I'm able to just write Bold and get the same results (Exp. 2).
> > >
> > > Thank you for your review as always and appreciate any thoughts or advice -
> > > Jenny B.
> > >
> > > Exp. 1 (Works)
> > > ="This questionnaire asks you to evaluate the job performance of" &" " &
> > > Upper('Test Results Data'!G49) & " " &Upper('Test Results Data'!F49) &"." &"
> > > " & "The information you are providing is for research purposes only, and
> > > will not become part of the employee's official record."
> > >
> > > Exp.2 (Does not Work)
> > > ="This questionnaire asks you to evaluate the job performance of" &" " &
> > > Bold('Test Results Data'!G49) & " " &Bold('Test Results Data'!F49) &"." &" "
> > > & "The information you are providing is for research purposes only, and will
> > > not become part of the employee's official record."


--

Dave Peterson
 
Reply With Quote
 
=?Utf-8?B?SmVubnkgQi4=?=
Guest
Posts: n/a
 
      17th Aug 2007
Thank you everyone for all of your helpful suggestions.

Though you are correct that a macro might do the job, I was just looking for
a simple fix and at least now I have my answer.

Thank you once again - Jenny B.

"Dave Peterson" wrote:

> Just to make clear...
>
> This won't work with a formula--if Jenny converts the formulas to values, then a
> technique like this will work.
>
> bj wrote:
> >
> > I miss read your posting.
> > you can write a macro to change part of a text field to bold or to a color
> > font. but you have to be able to lengths of each section
> >
> > with your example the macro might be something like the macro below if the
> > length of the stuff to be bolded were 36
> > note you would nneed ot save and paste as values first
> > sub bld()
> > Range("K15").Select
> >
> > With ActiveCell.Characters(Start:=1, Length:=63).Font
> > .Name = "Arial"
> > .FontStyle = "Regular"
> > .Size = 10
> > .Strikethrough = False
> > .Superscript = False
> > .Subscript = False
> > .OutlineFont = False
> > .Shadow = False
> > .Underline = xlUnderlineStyleNone
> > .ColorIndex = xlAutomatic
> > End With
> > With ActiveCell.Characters(Start:=64, Length:=36).Font
> > .Name = "Arial"
> > .FontStyle = "Bold"
> > .Size = 10
> > .Strikethrough = False
> > .Superscript = False
> > .Subscript = False
> > .OutlineFont = False
> > .Shadow = False
> > .Underline = xlUnderlineStyleNone
> > .ColorIndex = xlAutomatic
> > End With
> > With ActiveCell.Characters(Start:=101, Length:=125).Font
> > .Name = "Arial"
> > .FontStyle = "Regular"
> > .Size = 10
> > .Strikethrough = False
> > .Superscript = False
> > .Subscript = False
> > .OutlineFont = False
> > .Shadow = False
> > .Underline = xlUnderlineStyleNone
> > .ColorIndex = xlAutomatic
> > End With
> > End Sub
> >
> > "bj" wrote:
> >
> > > what version of excel are you using. it does not work in 2003
> > >
> > > "Jenny B." wrote:
> > >
> > > > Good Afternoon All,
> > > >
> > > > I currently have a formula that pulls data results from one page and places
> > > > them in another along with additional text. I've seen several posts that
> > > > note bolding one word is not possible and I'm just wondering if that is in
> > > > fact correct. I've been able to change single words to Caps if needed (see
> > > > Exp. 1), but I'm able to just write Bold and get the same results (Exp. 2).
> > > >
> > > > Thank you for your review as always and appreciate any thoughts or advice -
> > > > Jenny B.
> > > >
> > > > Exp. 1 (Works)
> > > > ="This questionnaire asks you to evaluate the job performance of" &" " &
> > > > Upper('Test Results Data'!G49) & " " &Upper('Test Results Data'!F49) &"." &"
> > > > " & "The information you are providing is for research purposes only, and
> > > > will not become part of the employee's official record."
> > > >
> > > > Exp.2 (Does not Work)
> > > > ="This questionnaire asks you to evaluate the job performance of" &" " &
> > > > Bold('Test Results Data'!G49) & " " &Bold('Test Results Data'!F49) &"." &" "
> > > > & "The information you are providing is for research purposes only, and will
> > > > not become part of the employee's official record."

>
> --
>
> Dave Peterson
>

 
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
Re: Font Issue - label font turns bold Gina Whipp Microsoft Access Forms 4 21st Nov 2009 05:08 AM
Font Question - Need bold white w/black outline Bob Green Microsoft Powerpoint 3 11th Jan 2008 12:52 PM
RE: Bold Font question =?Utf-8?B?Ymo=?= Microsoft Excel Misc 1 17th Aug 2007 01:48 AM
Bold font set at system font Greg Windows XP General 1 16th Apr 2004 07:11 AM
user select font, font size, bold, etc Eric Microsoft Access Forms 3 31st Aug 2003 02:03 AM


Features
 

Advertising
 

Newsgroups
 


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