Make Field Data BOLD when imbedded in TextBox

KniteMare

Board Regular
Joined
Mar 4, 2002
Messages
238
Aloha


Here is the Control Source:

="Total overtime hours for the week ending " & [qryThisFY.WeekEnding] & " were " & [qryThisFY.GrandTotal] & ". Overtime hours for this period last year were " & [qryLastFY.GrandTotal] & ". Equating to a" & IIf([qryThisFY.GrandTotal]-[qryLastFY.GrandTotal]>0,"n increase"," decrease") & " of " & [qryThisFY.GrandTotal]-[qryLastFY.GrandTotal] & " Hours."

Is it possible to make the values returned within the [....] brackets BOLD while keeping all the other text Medium?

I have done this before by breaking up the TextBoxes and carefully placing them side by side. The problem is asthetic. If the numbers change dramaticly they either overlap the text or leave a gap.

Yours in inACCESSable frustration

KniteMare
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Forum statistics

Threads
1,221,574
Messages
6,160,602
Members
451,657
Latest member
Ang24

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top