Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Samir H.
  Where is Samir H.?
 Yogyakarta
 Indonesia
 Samir H.
 To: Russell Hill
  Where is Russell Hill?
 Sydney
 Australia
 Russell Hill
 Tags
Subject: RE: open excel file
Thread ID: 288942 Message ID: 288945 # Views: 39 # Ratings: 0
Version: Visual FoxPro 5 Category: Projects and Design
Date: Monday, December 27, 2010 7:35:29 AM         
   


> > plz tell me how to open excel file with VFP code
> >
> > Regards,
> > madiha saleem
>
>
oExcel = CREATEOBJECT('Excel.Application')
> oExcel.Visible = .T.
> WITH oExcel
>      **************************************************************
>      ** Open the appropriate workbook
>      **************************************************************
>      the_excel_file = something_or_other
>      .Workbooks.Open("&the_excel_file")
>      **************************************************************
> ENDWITH



Hi Russel, how are you?
Merry Chrismaz & happy new year!
Why do you always "macro" filenames, you bad boy? :)

Regards
Samir

ENTIRE THREAD

open excel file Posted by madiha saleem @ 12/27/2010 7:19:46 AM
RE: open excel file Posted by Russell Hill @ 12/27/2010 7:26:24 AM
RE: open excel file Posted by Samir H. @ 12/27/2010 7:35:29 AM
RE: open excel file Posted by Russell Hill @ 12/27/2010 12:18:52 PM