I have a spreadsheet with about 10-12 sheets that several users adding data daily. The dates are mixed with numbers, texts and dates. So, I want all the inserted data to convert automatically to UPPERCASE but not the numbers since all cells that containing dates into big long numbers and I have to format them again to have the proper format.
I don't want to use Google UPPERCASE() function. I need a script to do this automatically upon any data insertion in all sheets of the spreadsheet.
Currently I am using the following script which works fine but unfortunately, it breaks the dates cells...
function onEdit(e) {
if (typeof e.value != 'object') {
e.range.setValue(e.value.toUpperCase());
}
}
Any ideas on how can I make the above script to skip number and date formatted cells?