+ Reply to Thread
Results 1 to 3 of 3

Excel VBA reference cell on worksheet for file pathway

  1. #1
    Registered User
    Join Date
    07-08-2017
    Location
    Minnesota
    MS-Off Ver
    Microsoft Office 2016
    Posts
    74

    Excel VBA reference cell on worksheet for file pathway

    Hello,
    I am needing to reference cell J2 on the “Data” worksheet for the file pathway in the below macro. How can I accomplish that? My goal is to have a concatenate in J2 on the “Data” sheet and reference this cell as the file pathway for the macro. That way I can easily change the 12.17 part each month within the spreadsheet and not have to go into VBA and change every month.
    Please Login or Register  to view this content.
    Thanks!
    Attached Files Attached Files

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

    Re: Excel VBA reference cell on worksheet for file pathway

    try

    Please Login or Register  to view this content.
    or

    Please Login or Register  to view this content.
    Martin

  3. #3
    Registered User
    Join Date
    07-08-2017
    Location
    Minnesota
    MS-Off Ver
    Microsoft Office 2016
    Posts
    74

    Re: Excel VBA reference cell on worksheet for file pathway

    Perfect, thank you! I would add reputation but it is saying I need to "spread it around" error.. Marked as solved. Thanks again!

+ 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] Finding file pathway of file name in a cell
    By masond3 in forum Excel General
    Replies: 4
    Last Post: 09-14-2017, 01:02 PM
  2. Replies: 2
    Last Post: 12-29-2016, 11:53 AM
  3. Reference in worksheet file name to a cell value
    By leobueno in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 04-25-2016, 06:44 AM
  4. Replies: 1
    Last Post: 10-02-2015, 11:05 AM
  5. [SOLVED] pathway reference to file givs out of range errormsg (pathway is set as variable)
    By phila7475 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-20-2014, 04:51 AM
  6. Skip Manual Selection of Pathway to Reference Workbook
    By SteVo556 in forum Excel General
    Replies: 1
    Last Post: 01-03-2014, 11:21 PM
  7. Replies: 3
    Last Post: 05-17-2005, 04:06 PM

Tags for this Thread

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