SOS-How to pass array parameter to Workbooks.OpenText(...) in VC++

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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,
 
You didn't like yesterday's suggestion?
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,
 
Back
Top