RobbieC
Active Member
- Joined
- Dec 14, 2016
- Messages
- 376
- Office Version
- 2010
- Platform
- Windows
Hi there, I have a macro to auto zoom to a range when someone enters a sheet as this is where all the input fields are:
Is there an extra bit of code that I can slide in there to center this range on their 'active' window. It all seems a bit random at the moment and it'd be nice for each page to behave the same upon entry
If you can point me in the right direction, I'd be very happy
Many thanks
Rob
Code:
sub enterSheet()
ActiveSheet.Range("T1:CZ1").Select 'set range zoom
ActiveWindow.Zoom = True
end sub
Is there an extra bit of code that I can slide in there to center this range on their 'active' window. It all seems a bit random at the moment and it'd be nice for each page to behave the same upon entry
If you can point me in the right direction, I'd be very happy
Many thanks
Rob