Hi, waqarqrl,
and i apologized if u feel any inconvienance
You need not apologize - itīs for me and the explanations to be given (not just the line of code but some words for that as well).
If you have set the FreezePanes to a sheet and you want to alter the position you will first need to disable this setting, then set a new cell and run the command again. The example how to proceed may be found behind the Sheet2 but for the normal code it may look something like this:
although I would split up the code into 2 procedures like
so that the UnFreeze may be called on itīs own.
Ciao,
Holger
Bookmarks