I have a macro that requests a filename and puts it in a variable "infile". I need to have the ".xls" stripped from the filename and the result put into another variable - call it "insheet".
For example:
infile = "2003-06.xls"
insheet = "2003-06"
Thanks,
doug
For example:
infile = "2003-06.xls"
insheet = "2003-06"
Thanks,
doug