CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2006
    Posts
    42

    Excel Workbook hides

    Hii,
    I generate a report by opening a workbook and worksheet and some data. When no Excel file is previously opened then the report opens nicely, but when any file in excel is opened before clicking on report button then after clicking on report generate button, the report doesnt open , and if we go to the already opened file then Unhide if pressed then the report is opened in the new workbook which is desired. Why i have to Press the Unhide every time and cant i unhide via software.
    Urgent matter.
    Yogi

  2. #2
    Join Date
    Sep 2006
    Posts
    635

    Re: Excel Workbook hides

    try out this

    Code:
    Dim xls As New Excel.Application
    xls.IgnoreRemoteRequests = true
    .
    .
    .
    .
    .
    .
    xls.IgnoreRemoteRequests = false 'optional
    I hope it's useful
    Last edited by hensa22; April 7th, 2008 at 09:54 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured