+ Reply to Thread
Results 1 to 3 of 3

SaveAs file path that references cell value

  1. #1
    Registered User
    Join Date
    06-25-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    13

    SaveAs file path that references cell value

    Hi,

    I currently have the following snippet of code that automatically saves my workbook for me:

    Please Login or Register  to view this content.
    The string "2014-33" in that file path refers to the current work week. Cell A2 on the worksheet "Menu" already calculates what the current work week is, so I would like just that portion of the file path to reference that cell so that I don't have to manually change the file path each week. Can anyone give me some pointers as to how to accomplish this?

    Thanks,

    Sam

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: SaveAs file path that references cell value

    Maybe

    Please Login or Register  to view this content.
    Martin

  3. #3
    Registered User
    Join Date
    06-25-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: SaveAs file path that references cell value

    Perfect! I forgot the extra quotation marks in the concatenation there, thank you!

+ 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] File SaveAs path from Userform Field
    By SymphonyTomorrow in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-21-2014, 03:50 PM
  2. Using Cell(s) References in Path
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 09-18-2009, 03:39 PM
  3. Using SaveAs & changing the path a file is saved at
    By penny in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-07-2008, 11:24 AM
  4. SaveAs File Path from Word to Excel
    By armster in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-26-2007, 07:11 AM
  5. SaveAs File Path Method
    By kartune85 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-20-2006, 03:00 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