Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Russell Hill
  Where is Russell Hill?
 Sydney
 Australia
 Russell Hill
 To: madiha saleem
  Where is madiha saleem?
 lahore
 Pakistan
 madiha saleem
 Tags
Subject: RE: open excel file
Thread ID: 288942 Message ID: 288943 # Views: 44 # Ratings: 1
Version: Visual FoxPro 5 Category: Projects and Design
Date: Monday, December 27, 2010 7:26:24 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


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