+ 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
    52

    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,718

    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

    If my solution has saved you time and/or money, please consider donating to Cancer Research UK or your local equivalent.

    https://www.cancerresearchuk.org/

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

    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)

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