From: Karl E. Peterson on
Karl E. Peterson wrote:
> And, weirdly, I can no longer edit the code in the VBE. It tells me the
> project is locked?

Okay, got around that by opening the DOT directly.

--
..NET: It's About Trust! http://vfred.mvps.org
Customer Hatred Knows No Bounds at MSFT
ClassicVB Users Regroup! comp.lang.basic.visual.misc
Free usenet access at http://www.eternal-september.org


From: Karl E. Peterson on
Anyone have a clue how to stop this persistent nag (below) when exiting
Word?


Karl E. Peterson wrote:
> One other oddity that arose when I moved the command bars into a DOT in
> STARTUP. Now, whenever I close Word, I get this dialog:
>
> =============================================================================
> You have modified styles, building blocks (such as cover pages or headers),
> or other content that is stored in KarlsTools.dot. Do you want to save
> changes to KarlsTools.dot?
>
> Yes No Cancel
> =============================================================================
>
> And of course, no matter how I answer that, the next time I close Word I get
> the same prompt. Their is some code in the AutoExec that adds button faces
> to the command bar:
>
> Sub AutoExec()
> CommandBars("Karl's Custom Tools").Controls(1).FaceId = 2083
> CommandBars("Karl's Custom Tools").Controls(2).FaceId = 113
> CommandBars("Karl's Custom Tools").Controls(3).FaceId = 114
> End Sub
>
> But that's it? Same code was also in the NORMAL.DOTM, but no prompt there.

--
..NET: It's About Trust! http://vfred.mvps.org
Customer Hatred Knows No Bounds at MSFT
ClassicVB Users Regroup! comp.lang.basic.visual.misc
Free usenet access at http://www.eternal-september.org


From: Doug Robbins - Word MVP on
How about opening the template, running that code and then saving the
template and remove the code from the autoexec?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com

"Karl E. Peterson" <karl(a)exmvps.org> wrote in message
news:eBeY0De$KHA.4316(a)TK2MSFTNGP04.phx.gbl...
> Anyone have a clue how to stop this persistent nag (below) when exiting
> Word?
>
>
> Karl E. Peterson wrote:
>> One other oddity that arose when I moved the command bars into a DOT in
>> STARTUP. Now, whenever I close Word, I get this dialog:
>>
>> =============================================================================
>> You have modified styles, building blocks (such as cover pages or
>> headers), or other content that is stored in KarlsTools.dot. Do you want
>> to save changes to KarlsTools.dot?
>>
>> Yes No Cancel
>> =============================================================================
>>
>> And of course, no matter how I answer that, the next time I close Word I
>> get the same prompt. Their is some code in the AutoExec that adds button
>> faces to the command bar:
>>
>> Sub AutoExec()
>> CommandBars("Karl's Custom Tools").Controls(1).FaceId = 2083
>> CommandBars("Karl's Custom Tools").Controls(2).FaceId = 113
>> CommandBars("Karl's Custom Tools").Controls(3).FaceId = 114
>> End Sub
>>
>> But that's it? Same code was also in the NORMAL.DOTM, but no prompt
>> there.
>
> --
> .NET: It's About Trust! http://vfred.mvps.org
> Customer Hatred Knows No Bounds at MSFT
> ClassicVB Users Regroup! comp.lang.basic.visual.misc
> Free usenet access at http://www.eternal-september.org
>
>
From: Karl E. Peterson on
Doug Robbins - Word MVP wrote:
> How about opening the template, running that code and then saving the
> template and remove the code from the autoexec?

Shazbot! That worked!

Dare I ask, how come in all the years of using that before, this one
never bit me before?

Thanks...

--
..NET: It's About Trust! http://vfred.mvps.org
Customer Hatred Knows No Bounds at MSFT
ClassicVB Users Regroup! comp.lang.basic.visual.misc
Free usenet access at http://www.eternal-september.org


From: Doug Robbins - Word MVP on
I have no idea, Karl. I had always thought that you were the Master and I
was just the Hacker.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com

"Karl E. Peterson" <karl(a)exmvps.org> wrote in message
news:OMLMZOcALHA.4652(a)TK2MSFTNGP06.phx.gbl...
> Doug Robbins - Word MVP wrote:
>> How about opening the template, running that code and then saving the
>> template and remove the code from the autoexec?
>
> Shazbot! That worked!
>
> Dare I ask, how come in all the years of using that before, this one never
> bit me before?
>
> Thanks...
>
> --
> .NET: It's About Trust! http://vfred.mvps.org
> Customer Hatred Knows No Bounds at MSFT
> ClassicVB Users Regroup! comp.lang.basic.visual.misc
> Free usenet access at http://www.eternal-september.org
>
>