+ Reply to Thread
Results 1 to 3 of 3

Need VBA of Task Excel has built in

  1. #1
    Forum Contributor
    Join Date
    06-30-2008
    Location
    PSL, FL
    Posts
    271

    Need VBA of Task Excel has built in

    I know this sounds crazy, but I am building a user form and want to use a button as a single action to preform a excel built in function.

    What I want to do is this.

    1) Press a button called (Import)
    2) I want it to open a window for me to select a text file to import (Just as Excel has From Text in Data)
    3) After selecting a file I want to not use the text import wizard but I want to the following selected
    a) delimited
    b) start import from row 24
    c) My table has headers (NO)
    d) Step 2 of the wizard uncheck tab so all are blank
    e) Step 3 of wizard leave general as the column data format
    f) At end I want to import in A1 of Sheet RomData
    4) After success, I want a popup notification to the user that the data was imported.

    Oh one thing I want it to overwrite existing data not add to it.

    Thanks!!

    So I know I can use the wizard, but since I am going to have user form I just want the user to locate the file he wants to import and thats it.


    Thanks

    Matt
    Last edited by rbpd5015; 07-20-2014 at 08:17 AM.

  2. #2
    Forum Contributor
    Join Date
    06-30-2008
    Location
    PSL, FL
    Posts
    271

    Re: Need VBA of Task Excel has built in

    Wow I think I might have solved it I found the following MACRO...

    Problem is that it saves to a new workbook and names the sheet after the file name?

    here

    Please Login or Register  to view this content.
    How do I change this to save it to the current workbook and sheet RomData?

    thanks


    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    06-30-2008
    Location
    PSL, FL
    Posts
    271

    Re: Need VBA of Task Excel has built in

    Solved.... Sorry I was impatient

    Please Login or Register  to view this content.
    .

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. export excel list of task in custom outlook task 2010.
    By maxseal in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-22-2014, 03:51 PM
  2. Using Excel built-in dialogs
    By SgtSunshine in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-22-2010, 08:25 AM
  3. Excel Built-in Names
    By jphsv1 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 12-27-2008, 12:57 PM
  4. Excel 2003 Built-in IRM
    By Nicole Seibert in forum Excel General
    Replies: 0
    Last Post: 03-09-2006, 03:00 PM
  5. [SOLVED] Excel that has built-in ruler...
    By Myint Soe Oo in forum Excel General
    Replies: 1
    Last Post: 12-22-2005, 12:20 PM

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