I am hiding some worksheets in a file. I need to set focus to the first visible worksheet, because when I open the file after hiding the first worksheet, which has the focus, I get a blank.
Thanks,
Alex.
I am hiding some worksheets in a file. I need to set focus to the first visible worksheet, because when I open the file after hiding the first worksheet, which has the focus, I get a blank.
Thanks,
Alex.
Hi Alex,
Please try to use Worksheets.ActiveSheetIndex property.