View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Lily Lily is offline
external usenet poster
 
Posts: 28
Default SOS-How to pass array parameter to Workbooks.OpenText(...) in VC++

Hi,

I am using Excel Automation from VC++ MFC code, I need to read .txt file and
display it in Excel, I have some data like 1234E2, I wish to to display it as
1234E2, but currently it is displayed as 123400. I need to disable this
scientific convertion. I studied the OpenText(...) function, and find that we
can specify the FieldInfo to do correct read, this parameter is two
dimensional array, I tried all means whatever I can, still can not correctly
pass it in for FieldInfo. anybody can help?

thks a lot in advance.

Lily,