+ Reply to Thread
Results 1 to 2 of 2

Getting file name using vba and outputting it in excel

  1. #1
    Registered User
    Join Date
    05-11-2015
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    28

    Getting file name using vba and outputting it in excel

    Hi,

    The code is to get the file name from a specific folder and output it in a specific cell. However, the output of the file name is "Test.xls", I just the output to look like "Test". I dont want the .xls to be included. Any suggestions?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Getting file name using vba and outputting it in excel

    Hi wolf,

    Try the following (untested):
    Please Login or Register  to view this content.
    Lewis

+ 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. Help With Excel Form Outputting Weird Values
    By TeachPower in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-12-2011, 12:43 PM
  2. outputting an array
    By demuro1 in forum Excel General
    Replies: 2
    Last Post: 10-05-2008, 09:54 PM
  3. Printing PDF outputting to multple files - change to 1 file
    By Bruce in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-24-2006, 01:15 AM
  4. Outputting filenames in excel from a particular
    By Bhupinder Rayat in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-12-2006, 10:19 PM
  5. Outputting Outlook Form to Excel using VBscript
    By guzzy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-29-2005, 02:18 AM

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