selection.font

  1. D

    How to merge 2 codes that do the same thing for 2 separate cells into 1 code?

    Hi, Please could someone help me? I have this following 2 codes that works fine but I was wondering how it can be made into 1 code? Cells(Rows.Count, "A").End(xlUp).Select Selection.ClearComments With Selection.Interior .Pattern = xlNone .TintAndShade = 0...
  2. U

    How to avoid writing 50 or more Subs

    I plan to add 50 CheckBoxes to a ws in my project. Other than creating 50 Subs to handle these events, can I get suggestions on how to: Sub CheckBox3_Click() Application.ScreenUpdating = False If CheckBox3.Value = True Then Range("B3:V3").Select With Selection.Font .ThemeColor =...
  3. J

    VBA code error

    Writing this code: Receives error: Compile error - Method or data member not found. Sub Sizing() Range("a1:J125").Select With Selection.Font .Name = "Arial" .size = 8 End With End Sub
  4. K

    Why doesn't this worksheet level macro work?

    Why doesn't the VBA below work? If range Z1 = "NO", nothing happens. Thanks! Private Sub Worksheet_Change(ByVal Target As Range) If Range("Z1") = "NO" Then 'strikethrough Range("A1:Q14").Select With Selection.Font .Strikethrough = True End With...

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