Adjusting the Scroll Bar; Special Case

Calice -  
eriiic Posted messages 24581 Registration date   Status Contributeur Last intervention   -
Hello,

I would like to know another method to adjust the Excel scrollbar other than the one that involves selecting all the rows (or columns) from the last filled cell, then deleting them and saving/closing the file...
I have been using this method for years, but I realize that there is at least one special case where it does not work and it annoys me a bit: when copying cells on which we have changed the default dimensions and to which we have applied word wrap.

Do you have a manual method to apply or do I need to use a macro?

Thank you in advance!

3 réponses

danielc0 Posted messages 2156 Registration date   Status Membre Last intervention   274
 
Hello,

Run the macro only once:

Sub test() ActiveSheet.ScrollArea = "A1:C10" End Sub


Set the range of your choice. This only applies to the active sheet.

Best regards.

Daniel
0