+ Reply to Thread
Results 1 to 3 of 3

All my sheets open now

  1. #1
    Registered User
    Join Date
    03-26-2008
    Location
    Quantico VA
    Posts
    1

    All my sheets open now

    Ok so this is surly a newbie question. I recently wrote my first VBA program. So now when I open a purchase order sheet that has nothing to do with the statistics sheet that I wrote the program for, the stat sheet and every thing i have opened since i wrote the program opens. How do I stop that, or what did I do that caused this?

  2. #2
    Forum Contributor
    Join Date
    03-24-2005
    Location
    Wisconsin
    MS-Off Ver
    2007
    Posts
    378

    Try...

    If you used the macro recorder, you may have inadvertently left it running after you thought you were finsihed and it recorded opening more files? See if your code actually includes the file names of more than you want to open. Also see if it includes the name of the folder the file goes into. It is possible you recorded opening the folder and all of the files contained therein.

    Try stepping through your code. See if you can determine the line where the problem starts and then post the offending code.
    Last edited by DCSwearingen; 03-28-2008 at 03:54 PM.
    Thanks!
    Dennis

    I am using Windows 7 and Office 2007, all of my posts are based on this.

  3. #3
    Registered User
    Join Date
    03-24-2008
    Location
    Calabar, Nigeria
    MS-Off Ver
    2003, 2007
    Posts
    37
    Can we see the code you are running.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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