+ Reply to Thread
Results 1 to 3 of 3

Variable Folder Name Based on Excel Cell Value

  1. #1
    Registered User
    Join Date
    01-09-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    2

    Variable Folder Name Based on Excel Cell Value

    Hi Everyone,

    Just need a bit of help, not exactly the best with VB.

    I've got the below code to print out everything in a specified target folder, which works quite nicely.

    However, I want to change this so the main path stays the same, but the end folder is based on a cell value in Excel

    Cell value would eventually be a number.

    E.g. TargetFolder = "C:\Stuff\CELLVALUE"

    Any ideas/guides would be great.


    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Variable Folder Name Based on Excel Cell Value

    You can do something like:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-09-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Variable Folder Name Based on Excel Cell Value

    Frustration makes us all blind.

    No idea why I didn't see this before.

    Thanks very much!

+ 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. Replies: 4
    Last Post: 04-21-2013, 10:53 PM
  2. Replies: 5
    Last Post: 09-13-2012, 09:49 AM
  3. [SOLVED] Create a new folder based on a cell name or value and save copy onto that folder
    By Le_Tiago in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-20-2012, 01:33 PM
  4. Replies: 2
    Last Post: 02-14-2012, 05:40 PM
  5. Finding a folder based on data in an Excel cell or cells?
    By azshaw in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-09-2009, 10:01 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