+ Reply to Thread
Results 1 to 8 of 8

Making filepath variable

Hybrid View

  1. #1
    Valued Forum Contributor xlbiznes's Avatar
    Join Date
    02-22-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2007
    Posts
    1,223

    Re: Making filepath variable

    Hi,

    if you are looping through the list of files using this filter :

    "C:\users\name\desktop\folder\" & i & "Q\??_" & x & y & "_??.xls"

    if we break this further & "Q\??_" & x & y & "_??.xls" -> the first two ?? stands for the day , what does x and y do ? and the last two ?? marks are for the year.

    What is the output of this code ? do you see any spaces ?
    Last edited by xlbiznes; 12-08-2013 at 09:56 AM.
    Happy Computing ,

    Xlbiznes.

    To show your appreciation please click *

+ 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. [SOLVED] Trying to get the filepath on "Open", but get filepath of a temporary file instead
    By ianpwilliams in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 08-22-2013, 12:27 AM
  2. Replies: 3
    Last Post: 08-07-2013, 10:16 AM
  3. vlookup variable filepath one file variable can this be done via a function?
    By pauldbaker in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-15-2013, 10:10 AM
  4. [SOLVED] Copying files from a selected filepath to a filepath mentioned in a worksheet's cell
    By subbby in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-10-2012, 03:59 PM
  5. code for variable filepath
    By jem4614 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-19-2008, 05:15 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