Bill Hamilton
Board Regular
- Joined
- Mar 30, 2004
- Messages
- 95
I have a short macro that is invoked from a button on a 'master' sheet which is the active sheet. The macro receives a reference to another worksheet as a parameter, works out an area to sort on that sheet, sorts it and exits. The sorted sheet is never activated or selected or referenced directly.
On exit, the sort area on that sheet is 'selected'. That is not done by the code. How can I de-select it and set the selected or active cell for the sheet somewhere else? I obviously can't actually directly select a cell or anything as it is not the active sheet, but there must be a way of getting rid of the big blue area in the middle of the screen which would annoy my user a lot when he come to look at that sheet if I had to leave it like that.
Hope someone can help.
On exit, the sort area on that sheet is 'selected'. That is not done by the code. How can I de-select it and set the selected or active cell for the sheet somewhere else? I obviously can't actually directly select a cell or anything as it is not the active sheet, but there must be a way of getting rid of the big blue area in the middle of the screen which would annoy my user a lot when he come to look at that sheet if I had to leave it like that.
Hope someone can help.