Results 1 to 17 of 17

Thread: Opening Excel when click at BtPrint_click()

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2009
    Location
    Watch Window(Shift+f9)
    Posts
    1,879

    Question Opening Excel when click at BtPrint_click()

    Can anybody tell me .Why excel is not comming .When user click On BtPrint_click.Kindly let me know the idea.Any help would be highly appreciated.here is the following code what i have written.
    Code:
    Private Sub btPrint_Click()
    Dim excl As Excel.Application
      Set excl = New Excel.Application
    '  Set excl = CreateObject(Excel.Application)
          excl.Visible = True
          Set excl = Nothing
    End Sub
    Last edited by firoz.raj; Nov 4th, 2009 at 12:43 AM.

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