+ Reply to Thread
Results 1 to 4 of 4

upload file name

  1. #1
    choice
    Guest

    upload file name

    is it possible to have a upload feature in excel...like, click "browse" it
    opens a list of files from a certain folder, you click open and it puts the
    file name into cell A1?
    i dont want to upload the file..just have the file name go into A1

    thanks in advance

  2. #2
    Bob Phillips
    Guest

    Re: upload file name

    fileToOpen = Application _
    .GetOpenFilename("Microsoft Excel Files (*.xls), *.xls")
    If fileToOpen <> False Then
    Range("A1").Value = fileToOpenEnd If
    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "choice" <[email protected]> wrote in message
    news:[email protected]...
    > is it possible to have a upload feature in excel...like, click "browse" it
    > opens a list of files from a certain folder, you click open and it puts

    the
    > file name into cell A1?
    > i dont want to upload the file..just have the file name go into A1
    >
    > thanks in advance




  3. #3
    choice
    Guest

    Re: upload file name

    if its jpeg files i need instead would i just change it to

    fileToOpen = Application _
    > .GetOpenFilename("JPEG Files (*.jpeg), *.jpeg")
    > If fileToOpen <> False Then
    > Range("A1").Value = fileToOpenEnd If


    "Bob Phillips" wrote:

    > fileToOpen = Application _
    > .GetOpenFilename("Microsoft Excel Files (*.xls), *.xls")
    > If fileToOpen <> False Then
    > Range("A1").Value = fileToOpenEnd If
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "choice" <[email protected]> wrote in message
    > news:[email protected]...
    > > is it possible to have a upload feature in excel...like, click "browse" it
    > > opens a list of files from a certain folder, you click open and it puts

    > the
    > > file name into cell A1?
    > > i dont want to upload the file..just have the file name go into A1
    > >
    > > thanks in advance

    >
    >
    >


  4. #4
    Bob Phillips
    Guest

    Re: upload file name

    Not quite, JPEg files have a jpg extension

    Dim filetoopen

    filetoopen = Application _
    .GetOpenFilename("JPEG Files (*.jpg), *.jpg")
    If filetoopen <> False Then
    Range("A1").Value = filetoopen
    End If

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "choice" <[email protected]> wrote in message
    news:[email protected]...
    > if its jpeg files i need instead would i just change it to
    >
    > fileToOpen = Application _
    > > .GetOpenFilename("JPEG Files (*.jpeg), *.jpeg")
    > > If fileToOpen <> False Then
    > > Range("A1").Value = fileToOpenEnd If

    >
    > "Bob Phillips" wrote:
    >
    > > fileToOpen = Application _
    > > .GetOpenFilename("Microsoft Excel Files (*.xls), *.xls")
    > > If fileToOpen <> False Then
    > > Range("A1").Value = fileToOpenEnd If
    > > --
    > >
    > > HTH
    > >
    > > RP
    > > (remove nothere from the email address if mailing direct)
    > >
    > >
    > > "choice" <[email protected]> wrote in message
    > > news:[email protected]...
    > > > is it possible to have a upload feature in excel...like, click

    "browse" it
    > > > opens a list of files from a certain folder, you click open and it

    puts
    > > the
    > > > file name into cell A1?
    > > > i dont want to upload the file..just have the file name go into A1
    > > >
    > > > 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