Nightlytic
Member
Hi,
Is there any way in VBA to select a cell but not change the display, so to say if my display for the resolution and size is showing be columns A:Z with A1 being in top left corner (I physically can't see AA1 on my computer screen), but I do range("AA1").select or .activate, it moves the view so AA1 is within my view and the top left corner is now B1. I don't want it to do that. I want to select AA1 but still view columns A:Z as I did before that.
To explain my end objective: I have a bunch of macros here and there that use .select or .activate (maybe for good reason, maybe not so!) and I find it annoying that when I store the current selection (at start of macro) then return to I (at end of procedure) it also flickers the screen. Now, if there is a way to store which cell is in top left corner and adjust back to that, that'd be one way to fix it too. Can't find anything on this on the web, maybe I'm the only one bothered by it.
Thanks
Is there any way in VBA to select a cell but not change the display, so to say if my display for the resolution and size is showing be columns A:Z with A1 being in top left corner (I physically can't see AA1 on my computer screen), but I do range("AA1").select or .activate, it moves the view so AA1 is within my view and the top left corner is now B1. I don't want it to do that. I want to select AA1 but still view columns A:Z as I did before that.
To explain my end objective: I have a bunch of macros here and there that use .select or .activate (maybe for good reason, maybe not so!) and I find it annoying that when I store the current selection (at start of macro) then return to I (at end of procedure) it also flickers the screen. Now, if there is a way to store which cell is in top left corner and adjust back to that, that'd be one way to fix it too. Can't find anything on this on the web, maybe I'm the only one bothered by it.
Thanks