Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50057

Run macro on filtered cells only

$
0
0
Can anyone help my syntax on this? I want the macro to run only on the cells that are currently being filtered (visible).

Code:

If activecell.visible = true then
activecell.value="I'm Awesome"
End if


Viewing all articles
Browse latest Browse all 50057

Trending Articles