I have a usecase where my tool will open a docx file and then jump to a specific page in that docx. Can it be done using C#?
Asked
Active
Viewed 872 times
-1
-
[What have you tried?](http://mattgemmell.com/2008/12/08/what-have-you-tried/) – chaliasos May 17 '12 at 07:19
-
I have not tried anything. I am a Java developer. But, it seems that it's not possible with Java. So, I am thinking of doing it in .Net way. – rajshekhar May 17 '12 at 07:38
-
@Raj, if you're new to .Net, I recommend searching web for "word automation using C#" e.g. http://www.c-sharpcorner.com/UploadFile/amrish_deep/WordAutomation05102007223934PM/WordAutomation.aspx – Yasser Zamani May 17 '12 at 07:51
-
1Possible duplicate of [how can we open a word file with specific page number in c sharp?](http://stackoverflow.com/questions/3870797/how-can-we-open-a-word-file-with-specific-page-number-in-c-sharp) – CubeJockey Jan 14 '16 at 20:03
1 Answers
2
You can do this via something like what have been done at how can we open a word file with specific page number in c sharp?

Community
- 1
- 1

Yasser Zamani
- 2,380
- 21
- 18
-
Thank you very much. But, the above code seems to VB code. I need C# version. Can it be ported to C#? – rajshekhar May 17 '12 at 07:29
-
Thank you very much. I will try to incorporate your solution in my tool. – rajshekhar May 17 '12 at 08:02