+ Reply to Thread
Results 1 to 3 of 3

Macro to Prompt to import data

Hybrid View

  1. #1
    Registered User
    Join Date
    08-24-2006
    Posts
    2

    Macro to Prompt to import data

    I need an excel macro to prompt to import data; I do not need it to actually import the data. I need it to call up the import command found under tool bar-data-import external data-import data.

  2. #2
    Forum Contributor
    Join Date
    12-12-2005
    Posts
    667
    Sub import()
    yn = MsgBox("Import data?", vbYesNo)
    If yn = vbYes Then
    'do something
    End If
    End Sub
    Best regards,

    Ray

  3. #3
    Registered User
    Join Date
    08-24-2006
    Posts
    2
    I need the macro to actually call up the import eternal data command. The user would then choose the location of file they want to import, and finish the import process. My macro needs only to call up the import external data command.

    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