Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old January 16th 08, 12:38 AM posted to microsoft.public.excel.misc, microsoft.public.excel.programming
external usenet poster
 
First recorded activity by ExcelBanter: Jan 2008
Posts: 3
Default "show office assistant" greyed out; code suspect

With Excel 2003 sp2, Windows XP-sp2:

I have a file with some code (below) in various procedures to check
for & turn off / on the assistant, code I developed a long time ago.
The file crashed today somehow. After the crash, the code all hangs
there. This has happened now and then, and I could clear it by
manually turning the assistant on and running it again. However,
Excel now has a greyed out "show office assistant" button under Help,
and my normal trickery doesn't work. Can't get it back to its normal
mode.

Any suggestions would be GREATLY appreciated. THANKS.

Here's the code, and the error message:

The error fires at
oAssist.On = True
and says
method "on" of object "Assistant" failed.

Dim oAssist As Object, ASS As Integer
Set oAssist = Assistant
If Val(Application.Version) = 9 Then
If oAssist.On = True Then
ASS = 1
Else
Set oAssist = Assistant
oAssist.On = True
ASS = 2
oAssist.Visible = False
End If
End If


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
when I try to change office assistant I get "not enough memory... denhel Excel Discussion (Misc queries) 0 July 9th 09 02:11 PM
"show office assistant" greyed out; code suspect mikewillnot Excel Discussion (Misc queries) 0 January 16th 08 12:38 AM
"Save" and "Save As" options greyed out - "Save as Webpage" option Bill Excel Discussion (Misc queries) 0 January 16th 07 05:47 PM
Office "Assistant" Robin Clay Excel Discussion (Misc queries) 7 July 12th 06 04:15 PM
"There is no office assistant character file present on this syste Griz Excel Discussion (Misc queries) 1 December 5th 05 11:41 PM


All times are GMT +1. The time now is 09:23 AM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017