+ Reply to Thread
Results 1 to 2 of 2

File name according to cell value

  1. #1
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,095

    Post File name according to cell value

    hi,
    i want to give file name as cell value

    for example
    range("ad1").value = 11.11.19

    then
    the formula
    Please Login or Register  to view this content.
    if range("Ad1").value = 12.11.19
    then the formula should be

    Please Login or Register  to view this content.

    hope some one will help
    Use Code-Tags for showing your code :
    Please mark your question Solved if there has been offered a solution that works fine for you
    If You like solutions provided by anyone, feel free to add reputation using STAR *

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523

    Re: File name according to cell value

    Check out "indirect" to reference a different workbook

+ 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] Importing a text file by vba referring to a cell for file name & file path
    By Vivek2705 in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 12-01-2017, 08:54 AM
  2. [SOLVED] Loop through files in folder, email file to listed recipient of file name = cell value
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-04-2017, 03:41 PM
  3. [SOLVED] Compare cell in one file to same cell in another file, continue macro only if cells match
    By CherylC in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-24-2014, 09:31 PM
  4. TXT Files + Cell Content => TXT File (1 new file for each cell)
    By nini86 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-15-2013, 01:07 PM
  5. Open 2nd file(CSV) from cell reference, copy columns to main file & close 2nd file
    By Langchop in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-31-2013, 05:09 AM
  6. Replies: 1
    Last Post: 07-14-2007, 07:25 AM
  7. Copying of cell text from one file to paste as cell comments in a 2nd file
    By Wayne in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-02-2005, 02:06 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