+ Reply to Thread
Results 1 to 8 of 8

Changing destination of macros output

  1. #1
    Registered User
    Join Date
    07-01-2015
    Location
    United States
    MS-Off Ver
    Microsoft office standard 2007
    Posts
    52

    Changing destination of macros output

    I am not that advance VBA but I found a long complicated VBA code that solved a major issues i had. I needs 3 excel files to be combined into one large file.

    The issues i have is that it gives me the output as a new work book. When i need it to be included in the current workbook, specifically on a sheet called "Formatting Macros" starting in cell B1.

    I am lost in the code and do not know how to change this.

    Please Help! and thanks in advance.

    He is a copy of the VBA code:
    _____________________________________________________________________________________________

    Please Login or Register  to view this content.
    Last edited by jeck876; 12-30-2015 at 11:37 AM. Reason: SOLVED

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Changing destination of macros output

    Hi jeck,

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    Like This:

    Please Login or Register  to view this content.
    *See if that works
    Last edited by xladept; 12-29-2015 at 04:08 PM.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    07-01-2015
    Location
    United States
    MS-Off Ver
    Microsoft office standard 2007
    Posts
    52

    Re: Changing destination of macros output

    thanks for the info about how to properly post code....and thanks that worked perfectly!!!

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Changing destination of macros output

    You're welcome and thanks for the rep! Glad it worked perfectly, because I often overlook something

  5. #5
    Registered User
    Join Date
    07-01-2015
    Location
    United States
    MS-Off Ver
    Microsoft office standard 2007
    Posts
    52

    Re: Changing destination of macros output

    i spoke too soon. lol. i have formulas that began at column I of the formatting macros sheet... they are getting deleted now... (the data in the workbooks that are being consolidated only go up to column H.) any solutions?

  6. #6
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Changing destination of macros output

    Try changing that red "B" back to "A"

  7. #7
    Registered User
    Join Date
    07-01-2015
    Location
    United States
    MS-Off Ver
    Microsoft office standard 2007
    Posts
    52

    Re: Changing destination of macros output

    figured it out...had to change

    Please Login or Register  to view this content.
    to

    Please Login or Register  to view this content.
    thanks for your help

  8. #8
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Changing destination of macros output

    You're welcome! Glad you got it!

+ 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. Changing the colour of =INT output
    By rastercat in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-06-2014, 07:18 PM
  2. [SOLVED] How can I stop a linked cell's destination from changing.
    By PistachioPedro in forum Excel General
    Replies: 4
    Last Post: 10-30-2013, 02:01 AM
  3. Changing Pivot Table Destination
    By kidengineer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-26-2013, 06:33 PM
  4. Using macros to split and copy text to another destination.
    By Dayknight in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 10-28-2012, 01:39 PM
  5. Changing a key output in excel
    By shadowdust in forum Excel General
    Replies: 4
    Last Post: 05-26-2010, 02:38 PM
  6. Macros to match two values in two worksheets and output it
    By Fyre182 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-19-2010, 08:52 PM
  7. Using destination filepaths listed in cell contents opposing to coding destination
    By kuraitori in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-22-2009, 01:23 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