I have a file that opens as 2 files & I get a Microsoft VBA file e

G

gugliupj

When I open my .mpp file it opens 2 files.

After the file name.mpp it has :1 on 1 file & :2 on another file. When I
save the file it saves as the original name.

When I open it again I get the 2 files again.

When I open and close the file I am also getting a Microsoft Visual Basic -
File not found error.
 
M

Manmeet Chaudhari

Hello
You have 2 instances of the same file running.
Under the Window menu choose arrange all.
Close one of the instance and save the file.
Next time onwards it should open only 1 instance.

Hope this helps.

regards
Manmeet
 
G

gugliupj

Thanks!
but...

The file started out as 1 file, but now opens as 2. If I save 1 it still
opens as 2 the next time I open the file I saved; even if I change the file
name and/or location.
 
V

vabki

open the file. if you look under the Window menu item, you should see the 2
file references :1 and :2

select one or the other and close that window. Proj should return you to
the other file window

change something in the project, even if you later need to change it back

close the file, and you should get a p[rompt to save, select 'yes', using
the same name.

reopen. you should now see a single instance. if not, you have a
reportable problem for MS to address.

hope this helps.

if you didn't change something in the wrong file and save it that way, then
Proj had no need to replace your original file with the 2 "views" in it,
which is why you keep seeing it that way
 
G

gugliupj

thanks!
but...

If I close either :1 or :2 it closes both files

vabki said:
open the file. if you look under the Window menu item, you should see the 2
file references :1 and :2

select one or the other and close that window. Proj should return you to
the other file window

change something in the project, even if you later need to change it back

close the file, and you should get a p[rompt to save, select 'yes', using
the same name.

reopen. you should now see a single instance. if not, you have a
reportable problem for MS to address.

hope this helps.

if you didn't change something in the wrong file and save it that way, then
Proj had no need to replace your original file with the 2 "views" in it,
which is why you keep seeing it that way

gugliupj said:
Thanks!
but...

The file started out as 1 file, but now opens as 2. If I save 1 it still
opens as 2 the next time I open the file I saved; even if I change the file
name and/or location.
 
J

John

gugliupj said:
thanks!
but...

If I close either :1 or :2 it closes both files

gugliupj,
OK, try this. Go to our MVP website at,
http://www.mvps.org/project/faqs.htm, and take a look at FAQ 43 -
handling project file corruption and/or bloat. Try method 4.

John
Project MVP
vabki said:
open the file. if you look under the Window menu item, you should see the
2
file references :1 and :2

select one or the other and close that window. Proj should return you to
the other file window

change something in the project, even if you later need to change it back

close the file, and you should get a p[rompt to save, select 'yes', using
the same name.

reopen. you should now see a single instance. if not, you have a
reportable problem for MS to address.

hope this helps.

if you didn't change something in the wrong file and save it that way, then
Proj had no need to replace your original file with the 2 "views" in it,
which is why you keep seeing it that way

gugliupj said:
Thanks!
but...

The file started out as 1 file, but now opens as 2. If I save 1 it still
opens as 2 the next time I open the file I saved; even if I change the
file
name and/or location.

:

Hello
You have 2 instances of the same file running.
Under the Window menu choose arrange all.
Close one of the instance and save the file.
Next time onwards it should open only 1 instance.

Hope this helps.

regards
Manmeet



:

When I open my .mpp file it opens 2 files.

After the file name.mpp it has :1 on 1 file & :2 on another file.
When I
save the file it saves as the original name.

When I open it again I get the 2 files again.

When I open and close the file I am also getting a Microsoft Visual
Basic -
File not found error.
 
D

Dave

gugliupj said:
When I open my .mpp file it opens 2 files.

After the file name.mpp it has :1 on 1 file & :2 on another file. When I
save the file it saves as the original name.

When I open it again I get the 2 files again.

When I open and close the file I am also getting a Microsoft Visual Basic -
File not found error.

Is there a macro running which opens a second instance when you open the
file?

Does this behaviour happen with only a specific file or with all files
you open?
 
R

Rob Schneider

Oops. While a relatively new article on the Microsoft site, at the
bottom it points out the auto_exec macro as described is only on very
old versions.

--rms
 
J

John

Rob Schneider said:
Oops. While a relatively new article on the Microsoft site, at the
bottom it points out the auto_exec macro as described is only on very
old versions.

--rms

Rob,
Yes, the Auto_Open macro was dropped somewhere back in the Project
98/Project 2000 release era but it essentially was replaced with the
Open Event macro in current versions. I suppose it's possible the
poster's file has such an event macro attached. It sure can't hurt to
check it out by opening the file and going to Tools/Macro/Visual Basic
Editor. Once in the editor open the Project Explorer window and then
double click on the "ThisProject (filename)". If there is an event macro
attached, it should show up in the edit window.

John
Project MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top