+ Reply to Thread
Results 1 to 5 of 5

Value from another open workbook in filename

  1. #1
    Forum Contributor
    Join Date
    12-11-2009
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    517

    Value from another open workbook in filename

    Hi, I have this code below but i would like to take the value from "I2" and put that value in the file name if possible. Only issue im having is that, that value in I2 is on another workbook. Workbook 'Test', sheet 'Report'

    Please Login or Register  to view this content.
    Last edited by biznez; 06-19-2015 at 06:01 PM.

  2. #2
    Forum Contributor yay_excel's Avatar
    Join Date
    08-12-2011
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    190

    Re: Value from another open workbook in filename

    Is the other workbook open when you run this code?

  3. #3
    Forum Contributor
    Join Date
    12-11-2009
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    517

    Re: Value from another open workbook in filename

    Quote Originally Posted by yay_excel View Post
    Is the other workbook open when you run this code?
    yes its open

  4. #4
    Forum Contributor
    Join Date
    12-11-2009
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    517

    Re: Value from another open workbook in filename

    any ideas anyone?

  5. #5
    Forum Contributor yay_excel's Avatar
    Join Date
    08-12-2011
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    190

    Re: Value from another open workbook in filename

    Workbooks("Name of open workbook.xlsx").Sheets("Name of Sheet Data is On").Range("I2").Value

+ 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. Using Workbook.Open Filename to Open a Cell Reference Filename
    By PerplexedMel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-10-2014, 12:20 PM
  2. Workbook.Open Filename procedure
    By dschmitt in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-16-2010, 10:30 PM
  3. Activating an Open Workbook without using the whole filename as a reference
    By jlejehan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-02-2006, 02:58 AM
  4. Open filename using workbook property
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-24-2006, 09:25 PM
  5. [SOLVED] Copy from one workbook to another-Workbooks.Open Filename
    By Alen32 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-03-2005, 10: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