Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default When running workbook.close True Excel generates an error!!!

I have a big problem!

I have a "meny sheet" with al ot of controlbuttons that links to other
workboks. When a user want to see a chart placed in another book, he
uses a userform to get there. The problem comes when he presses the
"Exit" button placed on this chart sheet!

The button runs the code
Activeworkbook.close true

and after he saved it and closed the book the whole excel generates an
error wich shut down excel!! This is not good if users work with other
book at the same time!

Anyone got a clue whats wrong??!

Daniel
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 253
Default When running workbook.close True Excel generates an error!!!

Hi Daniel,

Just an idea, as you did not guve much info,
Change the "TakeFocusOnClick" property to false for all command buttons.
Please indicate you OS and Office version next time.
Some more code would also help.
Regards,
Jean-Yves


"Daniel" wrote in message
om...
I have a big problem!

I have a "meny sheet" with al ot of controlbuttons that links to other
workboks. When a user want to see a chart placed in another book, he
uses a userform to get there. The problem comes when he presses the
"Exit" button placed on this chart sheet!

The button runs the code
Activeworkbook.close true

and after he saved it and closed the book the whole excel generates an
error wich shut down excel!! This is not good if users work with other
book at the same time!

Anyone got a clue whats wrong??!

Daniel



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default When running workbook.close True Excel generates an error!!!

I think i found the problem, i talk to the It-people and they said that
there was a problem with the network! I hope they solv it tomorrow!

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Close all workbooks and keep excel running Scott Hutslar Excel Discussion (Misc queries) 5 June 25th 08 11:16 PM
Closing Excel user form generates error Ken Warthen Excel Discussion (Misc queries) 0 October 10th 07 08:30 PM
Excel Analysis Add-in EOMONTH generates #NAME? error Ray Excel Worksheet Functions 6 July 18th 05 07:00 PM
Application Error when running Macro on Workbook open TM[_2_] Excel Programming 1 October 2nd 03 10:53 AM
Application Error when running Macro on Workbook open TM[_2_] Excel Programming 0 September 15th 03 12:33 PM


All times are GMT +1. The time now is 11:22 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"