+ Reply to Thread
Results 1 to 2 of 2

Macro opening new workbooks only on one computer!

  1. #1
    Forum Contributor
    Join Date
    02-26-2012
    Location
    Ottawa, ON
    MS-Off Ver
    Excel 2007
    Posts
    129

    Macro opening new workbooks only on one computer!

    Hi All,

    I have written a macro that works really at work, but when I brought it home tonight and starting playing with on my laptop, it stopped working properly.

    My spreadsheet has a summary tab with the macro button. When I click the button, it goes to sheet one, dumps a bunch of csv files in, extracts some parameters, place them in the summary tab, copies a tab named "1", renames it ("2"), dumps data into the new tab and extra data into the summary file, etc.

    But when I run it now, it immediately opens a new work work that says Book 1 and copies only the summary tab over. Not the other tabs, either. It only started happening on this laptop. Is there a setting maybe?

    I will attach my code if needed (hopefully not and its a quick fix). I have some confidential things in the macro, so I can edit that later if I have to.

    Thanks!

  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: Macro opening new workbooks only on one computer!

    You're probably copying without specifying a before or after sheet which will create a new book
    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

+ 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. Replies: 1
    Last Post: 10-20-2015, 02:45 PM
  2. vba macro for opening workbooks
    By dulitul19 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-31-2013, 09:41 AM
  3. VBA stops after opening a workbooks with macro
    By fabdav in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-21-2012, 06:40 PM
  4. macro to get the look up values from different workbooks without opening them.
    By 376795 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-20-2011, 10:54 AM
  5. Macro to not allow opening of file only on certain computer if it is already opened
    By Repent34 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 04-04-2011, 05:41 PM
  6. Problem with opening at other computer
    By kaczakicha in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-19-2009, 04:39 AM
  7. Opening 4 workbooks on macro
    By reggie1000 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-02-2009, 10:48 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