So, we have reports that regularly need to format quickly for meetings. Doing it by hand under time pressure introduced error. I'm trying to set up excel sheets to make that happen. The key is that I need to be able to give these to other people so they can run them locally, and they can push a button and it'll work.
I used to have a sheet with a query that was tricked into accepting a dynamic reference; this meant I could say "Put these two in the same directory and push the button." But we updated to Excel 365, which sometimes pulls from onedrive, sometimes pulls from the local drive, and trying to accept either seems very difficult to write as a query. Especially in a way I can give to someone else.
Right now, what I'm looking at is VBA scripting, so they can open the reports and the formatter, push a button, and it's formatted. If works really well for one sheet. But this other one, I need to remove some rows from the sheet. Several thousand. And the usual solution seems to be looping through each row and doing individual deletions which is WAY too slow.
Am I on the entirely wrong methodology, should I be using a different tool? Or is there something stupid I'm overlooking?
Please forgive me if this isn't entirely coherent, I've already melted my brain a bit, and I've just learned dug into VBA this last week by bouncing questions and modification needs off ChatGPT.
I used to have a sheet with a query that was tricked into accepting a dynamic reference; this meant I could say "Put these two in the same directory and push the button." But we updated to Excel 365, which sometimes pulls from onedrive, sometimes pulls from the local drive, and trying to accept either seems very difficult to write as a query. Especially in a way I can give to someone else.
Right now, what I'm looking at is VBA scripting, so they can open the reports and the formatter, push a button, and it's formatted. If works really well for one sheet. But this other one, I need to remove some rows from the sheet. Several thousand. And the usual solution seems to be looping through each row and doing individual deletions which is WAY too slow.
Am I on the entirely wrong methodology, should I be using a different tool? Or is there something stupid I'm overlooking?
Please forgive me if this isn't entirely coherent, I've already melted my brain a bit, and I've just learned dug into VBA this last week by bouncing questions and modification needs off ChatGPT.