+ Reply to Thread
Results 1 to 3 of 3

Text Import Wizard from vba

  1. #1
    Ömer Ayzan
    Guest

    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. #2
    Jim Rech
    Guest

    Re: Text Import Wizard from vba

    You could try this:

    Application.Dialogs(xlDialogImportTextFile).Show

    --
    Jim
    "Ömer Ayzan" <[email protected]> wrote in message
    news:[email protected]...
    | 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. #3
    Ömer Ayzan
    Guest

    Re: 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" <[email protected]> wrote in message
    news:[email protected]...
    > You could try this:
    >
    > Application.Dialogs(xlDialogImportTextFile).Show
    >
    > --
    > Jim
    > "Ömer Ayzan" <[email protected]> wrote in message
    > news:[email protected]...
    > | 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1