LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 358
Default How to determine the current position of an open .xls file?

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.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Function to determine current cursor position? Dan Excel Worksheet Functions 1 March 12th 09 02:56 PM
Default cell position on file open Chandramouly Excel Discussion (Misc queries) 2 March 9th 07 07:32 PM
Tough one; determine if an Access file is open Norman Yuan[_2_] Excel Programming 0 January 13th 07 12:08 AM
Determine if an excel file is already open [email protected] Excel Programming 2 October 13th 05 03:44 PM
changing current directory to that of the current open file unnameable Excel Programming 2 May 19th 04 11:14 AM


All times are GMT +1. The time now is 11:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"