Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I have a list that I need to filter so that when I create a formula and fill down to the bottom of the list it will only fill the visible cells. I can do this when I create the formula normally, but the recorded version of VBA code doesn't work. Essentially, I am looking to fill down a formula to only the visible rows/cells in column within a list. Any ideas? Thanks in advance! Training Goddess |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I'm not sure how you're currently filling down the cells, but using SpecialCells(xlCellTypeVisible) for a range should work out. For instance, I could write it like this: Set rng = sht.Range(Cells(2, 3), _ Cells(10, 3)).SpecialCells(xlCellTypeVisible) rng.Value = "yeeble" Just replace "yeeble" with your formula, and obviously replace the range to suit. I hope this helps, Sean. -- (please remember to click yes if replies you receive are helpful to you) "Training Goddess" wrote: I have a list that I need to filter so that when I create a formula and fill down to the bottom of the list it will only fill the visible cells. I can do this when I create the formula normally, but the recorded version of VBA code doesn't work. Essentially, I am looking to fill down a formula to only the visible rows/cells in column within a list. Any ideas? Thanks in advance! Training Goddess |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA code to Fill Down in a filtered list only to visible cells. | Excel Programming | |||
countif only visible cells (filtered) | Excel Worksheet Functions | |||
How do I only delete/clear the visible cells in a filtered list? | Excel Worksheet Functions | |||
Code ignoring filtered (visible) tasks. | Excel Programming | |||
Changing visible (filtered) cells | Excel Programming |