Enbolden Font in This Array only.

Guanjin Peter

Active Member
Joined
May 21, 2008
Messages
429
where do I add the font.bold = true if I want to make this part of the array in bold only?

Code:
        rProd.Offset(3, 0).Resize(, 6) = Array("HandOver By:", "", "", "", "", "Received By:")

.Font.Bold = True
 
rProd.Offset(3, 0).Resize(, 6).font.bold = Array("HandOver By:", "", "", "", "", "Received By:")

Unable to set bold property for font class.
 
Upvote 0

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
rProd.Offset(3, 0).Resize(, 6).font.bold=true
 
Upvote 0
Try:
Code:
Sub macro1()
With rProd.Offset(3, 0).Resize(, 6)
.Value = Array("HandOver By:", "", "", "", "", "Received By:")
.Font.Bold = True
End With
End Sub

Regards
Northwolves
 
Upvote 0
Wasn't this answered back in post #3 by jonmo?:)
 
Upvote 0
rProd.Offset(3, 0).Resize(, 6).font.bold=true = Array("HandOver By:", "", "", "", "", "Received By:")


actually I was dumb enuff to try that...so didn't work.
 
Upvote 0

Forum statistics

Threads
1,215,884
Messages
6,127,567
Members
449,385
Latest member
KMGLarson

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