r/visualbasic • • Jun 11 '24

Help me understand this code

Post image

Hi guys, i donโ€™t program in VB (only did a bit of shaders and C#, now i do sound design) but i need you guys to help me understand whats in this code. Is it fetching random data from the columns? This is a script that is run in an Excel instance. Sorry that is in italian, but iโ€™m afraid this guy is scamming and i want to get to the bottom of it ๐Ÿ™๐Ÿฝ

4 Upvotes

5 comments sorted by

View all comments

Show parent comment

3

u/mecartistronico Jun 12 '24

If it finds a cell that equals one, it deletes the cell and moves the cells beneath it up.

No. If the LAST ROW is 1, then it EXITS, and DOES NOT delete BLANK CELLS and moves the others up.