Forum Discussion
ANDRII_SAV1971
1 year agoRegular Visitor
Power Quary and VBA code
Hi How to connect VBA code in Data Query Please give an exampe Thank you
PwerQueryKees
1 year agoSuper User
What do you want to achieve? You want to use VBA for excel I assume? It's possible to view and change the content of a query or to create new queries. You can also Refresh tables based on a query. You cannot call VBA function from a query directly.
I had some good results with ChatGPT, but don't expect that to be first time right: You will still need to debug, simplify and understand the code yourself.
ANDRII_SAV1971
1 year agoRegular Visitor
I want to run any VBA procedure
Call AAA("Hello")
Sub AAA(sNote as String)
MsgBox sNote
End Sub
Can you clarify with an example?