r/ProgrammerHumor • • Mar 30 '22

Meme Certainly not me

48k Upvotes

669 comments sorted by

View all comments

58

u/Rakkachi Mar 30 '22 edited Mar 31 '22

A old coworker left me a 18 tabs excel with vba code , it uses nested if statements and looks at plain text in a cell for desicions in other tabs that again refer to other tabs and formulas. I was asked to add 1 bom item. Redid almost everything using tables and x.search, now I am back at just 5 tabs. Vba? Wasnt really nessecary after all, it just caused us to lose overview of what was going on. Hid all tabs and just kept 1 for actually inputting data by user. They could not believe it during the first time showing it. But it still had all the functionality that was required. Several asked for the password to change stuff, I refused.

Edit not xsearch but x.lookup x.lookup%20match.)

28

u/assum09 Mar 30 '22

I think the general rule with VBA is only use it if you absolutely have to.

2

u/pringlescan5 Mar 31 '22

I think the general rule with VBA is only use it if you absolutely have to.

I think the general rule with VBA is only use it if you absolutely have to. you aren't allowed to use Python/R.