K
kdw
I had posted a similar question in the Excel forum but didn't get a solution
so I'll try here. I hope someone can help.
I reference the Excel objects to export data to. then I freeze the pane using
objXLSheet.Activate
objXLSheet.Range("E3").Select
ActiveWindow.FreezePanes = True
Set objXLSheet = Nothing
Set objXLBook = Nothing
Set objXLApp = Nothing
This works fine the first time, but subsequent runs still reference the
first workbook as the Activewindow. What is wrong?
Is there a way to release or change the reference to the Activewindow?
Thanks!
so I'll try here. I hope someone can help.
I reference the Excel objects to export data to. then I freeze the pane using
objXLSheet.Activate
objXLSheet.Range("E3").Select
ActiveWindow.FreezePanes = True
Set objXLSheet = Nothing
Set objXLBook = Nothing
Set objXLApp = Nothing
This works fine the first time, but subsequent runs still reference the
first workbook as the Activewindow. What is wrong?
Is there a way to release or change the reference to the Activewindow?
Thanks!