I created a macro to autofit a spreadsheet that is imported from a CVS file. But need the syntax to do the
following logic
If Open document is a spreadsheet then
do code
else
do nothing
or
If open document is a CSV format then
do code
else do nothing
Thanks