C
cla99009
I'm writing a formatting macro that I only want to run on .txt or .csv files.
This mostly a safety feature for other users so if they accidentally press
the wrong combo of hot keys they don't have a macro run that will ruin the
spreadsheet they are currently working on.
Is there an object property I can write into the code that will return the
file type of the active workbook?
ActiveWorkbook.FileType doesn't work.
This mostly a safety feature for other users so if they accidentally press
the wrong combo of hot keys they don't have a macro run that will ruin the
spreadsheet they are currently working on.
Is there an object property I can write into the code that will return the
file type of the active workbook?
ActiveWorkbook.FileType doesn't work.