User Profile

Collapse

Profile Sidebar

Collapse
ronnysaid
ronnysaid
Last Activity: Jun 21 '09, 08:12 AM
Joined: Jan 18 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • i'm sorry, im not following, SaveFileDialog is a .Net winforms class, and your code referes to an instance of that class and setting the path there. so how it fits in here????

    What i want to do is to use Microsoft.Offic e.Interop.Excel .dll version 12 to set the path of the "Excel 2007 save as dialog" incase if the user clicked save as, the path set earlier to be shown.
    See more | Go to post

    Leave a comment:


  • How To Reset/Set Any Office Application Save As Path via Interop?

    Dear All,

    I was wondering if there is a way to reset the "Save As dialog" initial path when the user clicks on Save as from the menu.

    As an example, if you opened a workbook from interop (C#, VB,.....) then manually opened the excel menu and clicked save as, the path displayed is the same one where the workbook got opened, is there a way to reset that path or set it differently??

    Thanks.
    See more | Go to post

  • Solution found

    Ok thanks for all who read the question, i found the answer and here it is for anyone who is seeking this answer:

    Application.Act iveWindow.Visib leRange[1,Type.Missing] as Range --> this will return the cell where the froze began, if you want the whole range then use:

    Application.Act iveWindow.Visib leRange as Range;
    See more | Go to post

    Leave a comment:


  • Is there a way to get the range from excel frozen panes?

    Hi all,

    I was wondering if there is a way to get the range from the frozen panes in excel using interop v.12??

    Or is there a property associated with the range indicating its frozen or not??

    the only thing i could accomplish is to select a range then check ActiveWindow.Fr eezePanes, but this will return true if you have any range frozen other than the selected one, so i want to get the range from the current...
    See more | Go to post

  • ronnysaid
    started a topic How to Get Performed Excel AutoFill Cell Range

    How to Get Performed Excel AutoFill Cell Range

    Hello All,

    I was wondering if there is a way to know/get the range of autofill operation done by the user on a workbook??

    ex. user opened book1,then performed autofill on Cell range A1:A5, is there a way to get A1:A5 using excel Interop?

    Thanks in advance.
    See more | Go to post

  • ronnysaid
    replied to How to Get Excel 2007 "Sort By" ??
    SammyB , thank you for your answer, i posted this question on many forums, all started guessing, this the only answer i needed, thank you very very much for your help.

    According to the method i followed earlier,the way is to examine the data itself by getting the sort address from user last sort operation, i think this workaround did it for me but i thought there is an easier way to do it, i hate microsoft for not supporting this property....
    See more | Go to post

    Leave a comment:


  • ronnysaid
    started a topic How to Get Excel 2007 "Sort By" ??

    How to Get Excel 2007 "Sort By" ??

    Hello,

    Is there a way to get Excel 2007 "sort by" value from a cell range??

    to be more clear, if column header is country and you sorted cell range (A1,A10) by country, is there a way to get "country" using C#???

    Thanks.
    See more | Go to post
No activity results to display
Show More
Working...