Forum Discussion
DanAspire42
2 years agoRegular Visitor
Dynamically Generated Queries
Hi all, I have a master list with a column of staff members names. I need a query per staff member (to load to a table/sheet in excel) Currently I have manually referenced the maste...
- 2 years ago
In general you cannot have Power Query queries created on the fly, so I would say no. But I have no experience with Excel - maybe you can fudge something through Office scripts.
DanAspire42
2 years agoRegular Visitor
Comes from database, is just a column of staff names, with each row being a client and then their respective staff member in the column
lbendlin
Super User
2 years agoIn general you cannot have Power Query queries created on the fly, so I would say no. But I have no experience with Excel - maybe you can fudge something through Office scripts.
- DanAspire422 years agoRegular Visitor
Hi lbendlin ,
Thanks for your help, I read this was the case in an older post was hoping that might have changed. Have achieved what I needed via VBA to create new worksheets.