Not within Glide. This currently can only be done in google scripts inside google sheets.
Here is a forum discussion witthe a script that can help.