Savecopy and saveas locking up excel

A

Anthony

Hi,

The project is running on Excel 2003. The work machines are locked down and
users don't have administration rights, so I cant look at permissions etc...

The error is limited to only a few, but all seem to be on HP laptops, but
not all HP laptops have the problem.

The code is basically

Workbook_open

make worksheets visible

application.displayalerts = false
thisworkbook.saveas thisworkbook.path &"\(backup) " &
thisworkbook.name
application.displayalerts = true

turn of menus
turn of sheet tabs
stop certain key combinations

make first page visible


This locks excel up. The user has to ctrl+alt+del to close it down.
if I remove the saveas it works.
The saveas line is exactly the same as the save option in the project once
its running, but that works without any problems (although there is a slight
pause)

If I replace saveas with savecopy function its exactly the same.


Anyone with any ideas?


Thanks in advance
 
A

Anthony

hi,

Implemented and sent to those that were having problems. The file runs ok on
mine (but so did the original version)

Thank you in advance. will feed back results....

Regards

Anthony
 
A

Anthony

HI,

The code worked the first time it was run and allowed them to open the file,
make a back up etc... but when they saved and closed and re-opened it, it
crashed and locked up once the workbook had opened..


response :

Opened okay got to WPQ made one change, closed and reopened okay.

Went back in to WPQ and egg timer missing, no curser, all I had was a cross
and couldn't do anything

Had to use task manager to get out

Steve

WPQ is a page in the project
 
A

Anthony

I managed to replicate on my HP computer for the first time.

The computer just ground to a halt, so I have used a work around, which
isn't as nice but seems to be working so far.

Set a worksheet value as true in workbook open

once workbook open and first menu sheet active

if worksheet value is true then save backup

(in the save backup set worksheet value to false)
 

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