Results 1 to 2 of 2

Thread: Urgent need to help (resolved)

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2003
    Location
    Toronto,canada
    Posts
    6

    Question Urgent need to help (resolved)

    Why does it can't find the pathname? something like that:

    Dim objExcel as object
    Public sub command1_Clikc()
    set objExcel=GetObject("C:\Documents and Settings\Administrator\My Documets\ledger.xls")
    objExcel.application.visible=true
    objExcel.Parent.Windows(1).Visible = True
    objExcel.Application.WindowState = 1

    Set objExcel = Nothing

    End Sub
    Please correct it for me. Thanks.
    Last edited by caribouca; Sep 25th, 2003 at 01:04 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