Jmal22
New Member
- Joined
- Feb 26, 2024
- Messages
- 2
- Office Version
- 365
- 2021
- 2019
- 2016
- 2013
- Platform
- Windows
- MacOS
Could someone please tell me why excel giving me #Name when using this expression?
ActiveCell.Formula2 = "=Filter(EnabledwithPriority!A2:DE&RowCount),(EnabledwithPriority!V2:V&RowCount<>""""),"""")"
Excel sees RowCount in this expression as a word and not a row number for column DE.
RowCount is a dynamic number that is changing. I done this before in expressions like Range("A2:DE" & RowCount) but that doesn't work using the filter function.
ActiveCell.Formula2 = "=Filter(EnabledwithPriority!A2:DE&RowCount),(EnabledwithPriority!V2:V&RowCount<>""""),"""")"
Excel sees RowCount in this expression as a word and not a row number for column DE.
RowCount is a dynamic number that is changing. I done this before in expressions like Range("A2:DE" & RowCount) but that doesn't work using the filter function.