Richard,

Thanks, but this command returns the name of the sheet that was active when the input box was called, not where the range was selected.