+ Reply to Thread
Results 1 to 4 of 4

Adjust a copy macro from another workbook to print the name of the workbook as well

  1. #1
    Forum Contributor
    Join Date
    03-18-2013
    Location
    Bulgaria
    MS-Off Ver
    Excel 2010
    Posts
    139

    Adjust a copy macro from another workbook to print the name of the workbook as well

    Hey guys,

    I have this nice macro that copies data from another workbook. I want to make it to also add the filename of the workbook (for example data.xlsx) it copies the data from, in a cell on the actual workbook (for example on sheet "Combined", Cell A10). What should I add to my macro?

    Please Login or Register  to view this content.
    Thank you very much in advance!

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Adjust a copy macro from another workbook to print the name of the workbook as well

    Maybe:
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    03-18-2013
    Location
    Bulgaria
    MS-Off Ver
    Excel 2010
    Posts
    139

    Re: Adjust a copy macro from another workbook to print the name of the workbook as well

    That's perfect, thank you John!

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Adjust a copy macro from another workbook to print the name of the workbook as well

    You're welcome. Glad to help out and thanks for the feedback.

+ 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. Run Macro in closed workbook and copy specific coloumn in active workbook
    By shiva_reshs in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-07-2013, 03:43 AM
  2. Replies: 9
    Last Post: 06-24-2013, 04:14 PM
  3. Replies: 0
    Last Post: 04-26-2013, 03:40 AM
  4. Macro to copy data from other workbook - let user choose which open workbook
    By ssu95bm in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-12-2011, 11:17 AM
  5. Copy workbook, adjust, write to *.csv file
    By Jim15 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-08-2006, 11:17 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