Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Excel Import External Data Wizard

Hi all,

can anybody point me a control, which is similar to the one used as Data
Preview in Text Import Wizard - Step 3 of 3 in Data-Import External Data
menu. I would like to use exactly the same functionality like the control
mentioned above. What control are actually the Excel guys using to import
external data?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Excel Import External Data Wizard

No sure what you are trying to do. One thing you can do is to record a macro
while performing the text import and see the commands that get executed. You
can also open a text file and read the data row by row and perform your own
conversion. Using the Split function in VBA will seperate the data by a
delimiter just like Text-To-Columns.

If you want to give the user different options for the import, you can write
your own Userform so the user can select options and then depending on the
results do a Query (which is used by the text import function) seting the
options the user selects on the userform.

"edzh" wrote:

Hi all,

can anybody point me a control, which is similar to the one used as Data
Preview in Text Import Wizard - Step 3 of 3 in Data-Import External Data
menu. I would like to use exactly the same functionality like the control
mentioned above. What control are actually the Excel guys using to import
external data?

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Excel Import External Data Wizard

Hi Joel,

thank you for your prompt response.


If you want to give the user different options for the import, you can write
your own Userform so the user can select options and then depending on the
results do a Query (which is used by the text import function) seting the
options the user selects on the userform.


This is exactly what I am trying to achieve. However, I would like to use
the grid-like control mentioned above. I already wrote my own form but used a
MSFlexGrid in it, so when used on client's machine it gets a license problem.

Have you got another idea?

thanks
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Excel Import External Data Wizard

No sure why you are using MSFlexGrid. You could open an new excel
application making it invisible and then pasting the data in to a spreadsheet
and sorting.

"edzh" wrote:

Hi Joel,

thank you for your prompt response.


If you want to give the user different options for the import, you can write
your own Userform so the user can select options and then depending on the
results do a Query (which is used by the text import function) seting the
options the user selects on the userform.


This is exactly what I am trying to achieve. However, I would like to use
the grid-like control mentioned above. I already wrote my own form but used a
MSFlexGrid in it, so when used on client's machine it gets a license problem.

Have you got another idea?

thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Import external data into Excel Yurik Excel Discussion (Misc queries) 0 November 1st 09 06:34 PM
Excel 2003 data import wizard does not support line ends in fields ChrisLime Excel Discussion (Misc queries) 0 February 25th 09 12:07 PM
How to Start Excel in Text Import Wizard for data import rlelvis Setting up and Configuration of Excel 0 July 10th 08 08:40 PM
excel import external data wizard ceemo Excel Discussion (Misc queries) 0 March 5th 06 07:06 PM
Import External Data Wizard wgl Excel Programming 4 December 12th 05 09:06 PM


All times are GMT +1. The time now is 10:39 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"