CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: ameetpatel

Search: Search took 0.04 seconds.

  1. Replies
    1
    Views
    664

    Hiding the ribbon

    Hi

    Is there any way of minimizing the ribbon in excel via a c# com add-in? I know that one option might be to replicate CTRL+F1 (with SendKeys.Send("^{F1}")) - but if the ribbon is already...
  2. Replies
    12
    Views
    8,158

    Re: Excel screen updating problem

    You're right - when I break it down into a simple test project, it seems to work ok. Will have to look into why it's not working in my app...

    Thanks for your help. For your reference, the type...
  3. Replies
    12
    Views
    8,158

    Re: Excel screen updating problem

    ps, note that within 'MyMethod' in the example above, I also have excelapp.ScreenUpdating = false there
  4. Replies
    12
    Views
    8,158

    Re: Excel screen updating problem

    thanks. Yep, I can get that to work. The problem arises when another method is called from within that one sometime after the ScreenUpdating = False line... So for example, instead of


    ...
  5. Replies
    12
    Views
    8,158

    Re: Excel screen updating problem

    Happy to post the code... but it's long and probably a bit ugly to experienced C# programmers. How about I first try to clarify further what I'm aiming to do and if that's no help then I will post...
  6. Replies
    12
    Views
    8,158

    Excel screen updating problem

    Hi

    This is a first post so I appreciate your patience!

    I am building an Excel COM addin in Visual C#. I have some methods which call other methods etc, each of which is doing something...
Results 1 to 6 of 6





Click Here to Expand Forum to Full Width

Featured