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

L

Lily

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,
 
D

Dave Peterson

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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top