I am trying to record a VBA that will automate a specific SQL code like in all my power queries SQL statements.
in all of them i have a version number and i would like to have an automation that once i pick a version number it will insert that number to all power queries SQL statements.
The SQL code line is currently WHERE PD.PublishLogId = 52 in all power queries SQL statements and i want the to run a macro that will ask me which PublishLogId number i want it to be and then replace the 52 (or any other number currently there) with that new number i picked.
when i record a macro it ignores all my clicks and no VBA code is written even though i am recording .
in all of them i have a version number and i would like to have an automation that once i pick a version number it will insert that number to all power queries SQL statements.
The SQL code line is currently WHERE PD.PublishLogId = 52 in all power queries SQL statements and i want the to run a macro that will ask me which PublishLogId number i want it to be and then replace the 52 (or any other number currently there) with that new number i picked.
when i record a macro it ignores all my clicks and no VBA code is written even though i am recording .