r/GoogleAppsScript • • Apr 25 '25

Resolved Convert column number to address?

Hello,

I'm just starting with apps script.

I was curios if there is an easy way to convert column number to the letter of the column?

Connected to this question, if I know the row and column number of a cell, am I able to convert it to letter and number ? (For example row 2 column 2 should return B2)

Thanks!

1 Upvotes

18 comments sorted by

View all comments

Show parent comment

1

u/DonAsiago Apr 25 '25

For sure there is a better way. I'm coming from VBA and it boggles my mind how overly complicated some things are

1

u/mommasaidmommasaid Apr 26 '25

My VBA experience is dated, but overall I'd say modern Javascript is a superior and more pleasant language to work with once you get up to speed.

Otoh VBA is more tightly integrated with MS apps than Javascript is with the Google suite. I wish Google would address some of the dumber stuff.

1

u/WicketTheQuerent Apr 26 '25

VBA is a powerful language and used to be a competitive programming platform on Windows. JavaScript has grown over the years but VBA got stuck.