Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Anthony,
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? Try moving the save code to a sub in a normal module and calling the save sub using Application.Ontime in the Open event. Regards, Jan Karel Pieterse Excel MVP http://www.jkp-ads.com |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 "Jan Karel Pieterse" wrote in message ... Hi Anthony, 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? Try moving the save code to a sub in a normal module and calling the save sub using Application.Ontime in the Open event. Regards, Jan Karel Pieterse Excel MVP http://www.jkp-ads.com |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 "Jan Karel Pieterse" wrote in message ... Hi Anthony, 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? Try moving the save code to a sub in a normal module and calling the save sub using Application.Ontime in the Open event. Regards, Jan Karel Pieterse Excel MVP http://www.jkp-ads.com |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Anthony,
Went back in to WPQ and egg timer missing, no curser, all I had was a cross and couldn't do anything Might be good to head over to that user and try control+break when it hangs, maybe some code is just running in an endless loop? Regards, Jan Karel Pieterse Excel MVP http://www.jkp-ads.com |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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) "Jan Karel Pieterse" wrote in message ... Hi Anthony, Went back in to WPQ and egg timer missing, no curser, all I had was a cross and couldn't do anything Might be good to head over to that user and try control+break when it hangs, maybe some code is just running in an endless loop? Regards, Jan Karel Pieterse Excel MVP http://www.jkp-ads.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
saveas ActiveWorkbook.SaveAs Filename:=Range("A1").Value | Excel Programming | |||
Excel SaveAs not using specified FileFormat | Excel Programming | |||
locking formula in cells in without locking whole sheet | Excel Discussion (Misc queries) | |||
macro to savecopy as and break links | Excel Programming | |||
Append DateTime to Fiename, saveCopy | Excel Programming |