A
Andrew
Hello, friends,
We automate Excel from C#.net. Once a .xls file is openned, users may work
on any part of it.
When this .xls file is closed, our app needs to remember the current
position, such as current workSheet, current row number, current column
number, etc. When our app opens this .xls file next time, it will go to that
position directly so that users may continue.
But, how to determine current row number, and etc. I looked up those
properties/methods, none of them look like for this job: I could not find
ActiveCell property in worksheet, for instance.
Any reference paper or sample source code? Thanks a lot.
We automate Excel from C#.net. Once a .xls file is openned, users may work
on any part of it.
When this .xls file is closed, our app needs to remember the current
position, such as current workSheet, current row number, current column
number, etc. When our app opens this .xls file next time, it will go to that
position directly so that users may continue.
But, how to determine current row number, and etc. I looked up those
properties/methods, none of them look like for this job: I could not find
ActiveCell property in worksheet, for instance.
Any reference paper or sample source code? Thanks a lot.