Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Text Import Wizard from vba

Friends I am a Office 2000 user. Is there a way to call the text import
wizard from vba so that when importing text that is started from a code, the
user presented with the wizard first enabling him/her to set field lengths.

Thanks in advance


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Text Import Wizard from vba

You could try this:

Application.Dialogs(xlDialogImportTextFile).Show

--
Jim
"Ömer Ayzan" wrote in message
...
| Friends I am a Office 2000 user. Is there a way to call the text import
| wizard from vba so that when importing text that is started from a code,
the
| user presented with the wizard first enabling him/her to set field
lengths.
|
| Thanks in advance
|
|


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Text Import Wizard from vba

Thank you jim it serves the purpose. Is there a way also to get the field
lengths of the file which is opened by this wizard so that we can save it
into a file and next time user can choose whether to use the wizard or the
saved lengths to open the text file
regards,
ömer
"Jim Rech" wrote in message
...
You could try this:

Application.Dialogs(xlDialogImportTextFile).Show

--
Jim
"Ömer Ayzan" wrote in message
...
| Friends I am a Office 2000 user. Is there a way to call the text import
| wizard from vba so that when importing text that is started from a code,
the
| user presented with the wizard first enabling him/her to set field
lengths.
|
| Thanks in advance
|
|




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
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
Text Import Wizard dan Excel Worksheet Functions 2 August 8th 06 04:58 PM
Text Import Wizard Duncan Help Excel Discussion (Misc queries) 1 July 27th 06 03:38 PM
Text Import Wizard Pieter G Excel Discussion (Misc queries) 1 July 18th 05 11:49 AM
Text Import Wizard Al Mackay Excel Programming 1 February 10th 04 10:48 PM


All times are GMT +1. The time now is 04:37 AM.

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"