1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

file dialog problems

Discussion in 'Software Development' started by mercilesstraitor, Jul 17, 2007.

Thread Status:
Not open for further replies.
  1. mercilesstraitor

    mercilesstraitor Thread Starter

    Joined:
    Apr 30, 2007
    Messages:
    20
    This seems so simple it makes me want to cry

    All I want is this filedialog function to generate the user chosen file path into a string which I can use for my various devious purposes(insertion into a transferspreadsheet command).

    Here's my code (it works fine but I can't figure out what to put at the end to convert the user choice to a string)



    Private Sub Command2_Click()

    Dim excelDialog As FileDialog

    Set excelDialog = Application.FileDialog(msoFileDialogFilePicker)

    With excelDialog
    .Show

    End With

    End Sub
     
  2. Chicon

    Chicon

    Joined:
    Jul 29, 2004
    Messages:
    6,650
    Hi mercilesstraitor,

    I think there's an example of what you want on this page.
     
  3. mercilesstraitor

    mercilesstraitor Thread Starter

    Joined:
    Apr 30, 2007
    Messages:
    20
    Thanks worked straight off
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/596794

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice