K
kdw
I am trying to freeze the pane of a workbook from an Export function in
another program using:
ActiveWindow.FreezePanes = True
This work fine for the first export. Subsequent export would not work. It
would end up freezing the pane if the first workbook, or worse, if the first
workbook was close, an error.
I found that Activewindow still refers to the first workbook, even if I
Activate the sheet/new workbook.
Any ideas? Is there a way to reset the Activewindow property for sure?
Thanks,
kdw
another program using:
ActiveWindow.FreezePanes = True
This work fine for the first export. Subsequent export would not work. It
would end up freezing the pane if the first workbook, or worse, if the first
workbook was close, an error.
I found that Activewindow still refers to the first workbook, even if I
Activate the sheet/new workbook.
Any ideas? Is there a way to reset the Activewindow property for sure?
Thanks,
kdw