[英]VBA String applied as filtered rows in Power Query
Is there a way to Define a string based on a cell value for a VBA recorded Power Query?有没有办法根据 VBA 记录的 Power Query 的单元格值定义字符串? I have tried setting the string as我尝试将字符串设置为
Dim Test As String
TestFilter = """" & "Filter" & """"
But the #Filtered Rows is not recognizing the input Ie但#Filtered Rows 无法识别输入即
#""Filtered Rows"" = Table.SelectRows = ([Filter1] = TestFilter)
This is not recognizing the string in VBA.这无法识别 VBA 中的字符串。 Any help is greatly appreciated任何帮助是极大的赞赏
Use the VBA to assign the variable contents to a named range使用 VBA 将变量内容分配给命名范围
Use that range name in place of NamedRangeName below使用该范围名称代替下面的NamedRangeName
#"Filtered Rows" = Table.SelectRows = ([Filter1] = Excel.CurrentWorkbook(){[Name="NamedRangeName"]}[Content]{0}[Column1])
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.