selection.cells

  1. P

    Conditional Formatting - (Range)

    Hi Have a conditional formatting code <Code> Sub FormatTotalRow() 'Worksheets(1).Range("K1:K500").Select 'For Each c In Selection.Cells 'If c.Value = "CHECK" Then c.Resize(1).Interior.ColorIndex = 50 'Next c Worksheets(1).Range("K1:K500").Select For Each c In Selection.Cells If c.Value >= 350...
  2. M

    Hyperlink Function in VBA which works with FollowHyperlink --> "https://www.google.hu/search?q=" & "apple"

    Hi! I have a button with an assigned macro to it, which follows every hyperlink in the selected cells. But I can't create a customized URL in VBA (using a new FUNCTION), because it shows an error message every time I try to follow the new url using the macro. However, if I type the same URL...
  3. R

    Counting the number of blanks removed by trim

    Hi Forum Hope all is well, would like a bit of help with a macro that trims spaces from cells. I found this snippet and works great, however I would like to count the number of blanks the macro removes. Sub NoSpaces() Dim c As Range For Each c In Selection.Cells c = Trim(c) Next End Sub...

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