I have a question about selecting a range in a particular sheet using excel vba.
I don't know why the following is not working:
Thisworkbook.Sheets("N&A").Range("B4:F16").select
However this works:
Thisworkbook.Sheets("N&A").Activate
ActiveSheet.Range("B4:F16").Select
The VBA code is programmed on "N&A" sheet.
Could anyone let me know what could be the reason?
Thank you!