Computer Forum Forum Index
Register  FAQ Profile Log in to check your private messages Log in Register 

Hiding word in built styles and displaying only the custom s

 
Post new topic   Reply to topic    Computer Forum Forum Index -> microsoft word vba general
View previous topic :: View next topic  
Author Message
Styles and formatting
Guest





PostPosted: Tue Dec 18, 2007 10:50 am    Post subject: Hiding word in built styles and displaying only the custom s Reply with quote

in the Hi,

In my project i have to migrate from word 2000 to 2007 fo which i need to
hide all the built in styles available in word 2007 and display only the
custom styles which i have in the template normal.dotm.
Currently what is happening is styles are available in normal.dotm but when
i open a document style pane only show me some of my custom styles not all.
Please help me.

Note : If any code needs to be written in the template then please let me
know that also.

Thanks,
Shikha
Back to top
Google
Sponsor





PostPosted: Tue Dec 18, 2007 10:50 am    Post subject: Advertisement

Back to top
NZ VBA Developer
Guest





PostPosted: Tue Dec 18, 2007 10:19 pm    Post subject: RE: Hiding word in built styles and displaying only the cust Reply with quote

Your uninvited email contact has been marked as SPAM and ignored. Unless you
want to contract for my services on a paid basis, please make all
communication through the forum.

FYI, I don't provide support for Office 2007 anyway.
--

"Styles and formatting" wrote:

Quote:
in the Hi,

In my project i have to migrate from word 2000 to 2007 fo which i need to
hide all the built in styles available in word 2007 and display only the
custom styles which i have in the template normal.dotm.
Currently what is happening is styles are available in normal.dotm but when
i open a document style pane only show me some of my custom styles not all.
Please help me.

Note : If any code needs to be written in the template then please let me
know that also.

Thanks,
Shikha
Back to top
Styles and formatting
Guest





PostPosted: Wed Dec 19, 2007 3:54 am    Post subject: RE: Hiding word in built styles and displaying only the cust Reply with quote

So can u please let me know any other person who can help me in this regard.

"NZ VBA Developer" wrote:

Quote:
Your uninvited email contact has been marked as SPAM and ignored. Unless you
want to contract for my services on a paid basis, please make all
communication through the forum.

FYI, I don't provide support for Office 2007 anyway.
--

"Styles and formatting" wrote:

in the Hi,

In my project i have to migrate from word 2000 to 2007 fo which i need to
hide all the built in styles available in word 2007 and display only the
custom styles which i have in the template normal.dotm.
Currently what is happening is styles are available in normal.dotm but when
i open a document style pane only show me some of my custom styles not all.
Please help me.

Note : If any code needs to be written in the template then please let me
know that also.

Thanks in advance
Back to top
Styles and formatting
Guest





PostPosted: Wed Dec 19, 2007 3:56 am    Post subject: RE: Hiding word in built styles and displaying only the cust Reply with quote

"Styles and formatting" wrote:

Quote:
in the Hi,

In my project i have to migrate from word 2000 to 2007 fo which i need to
hide all the built in styles available in word 2007 and display only the
custom styles which i have in the template normal.dotm.
Currently what is happening is styles are available in normal.dotm but when
i open a document style pane only show me some of my custom styles not all.
Please help me.

Note : If any code needs to be written in the template then please let me
know that also.

Thanks,

Back to top
Stefan Blom
Guest





PostPosted: Wed Dec 19, 2007 11:43 am    Post subject: RE: Hiding word in built styles and displaying only the cust Reply with quote

Open the template file. On the ribbon, click the Developer tab, and then
click Protect Document (in the Protect group). Click "Limit formatting to a
selection of styles." Click Settings. The dialog box allows you to choose
exactly which styles should be available. (You cannot remove the Normal
style, though; it will always be accessible.) When you are done, click OK.
Click Yes, Start Enforcing Protection, type a password if you want to, and
then click OK.

Note: If you cannot se the Developer tab, display it via Office button |
Word Options, Popular category.

--
Stefan Blom
Microsoft Word MVP


"Styles and formatting" wrote:

Quote:
in the Hi,

In my project i have to migrate from word 2000 to 2007 fo which i need to
hide all the built in styles available in word 2007 and display only the
custom styles which i have in the template normal.dotm.
Currently what is happening is styles are available in normal.dotm but when
i open a document style pane only show me some of my custom styles not all.
Please help me.

Note : If any code needs to be written in the template then please let me
know that also.

Thanks,
Shikha
Back to top
Styles and formatting
Guest





PostPosted: Wed Dec 19, 2007 1:01 pm    Post subject: RE: Hiding word in built styles and displaying only the cust Reply with quote

Thanks for the Help Stefan it work fine ...but can you please tell if I have
to do same thing with the template (normal.dotm) then how can I achieve the
same thing.
As I want to that whenever the new document get open in any version of MS
Word by any other person only the my custom styles should be visible to him.

Will Wait for a positive response from your side.
Thanks in Advance.


"Stefan Blom" wrote:

Quote:
Open the template file. On the ribbon, click the Developer tab, and then
click Protect Document (in the Protect group). Click "Limit formatting to a
selection of styles." Click Settings. The dialog box allows you to choose
exactly which styles should be available. (You cannot remove the Normal
style, though; it will always be accessible.) When you are done, click OK.
Click Yes, Start Enforcing Protection, type a password if you want to, and
then click OK.

Note: If you cannot se the Developer tab, display it via Office button |
Word Options, Popular category.

--
Stefan Blom
Microsoft Word MVP


"Styles and formatting" wrote:

in the Hi,

In my project i have to migrate from word 2000 to 2007 fo which i need to
hide all the built in styles available in word 2007 and display only the
custom styles which i have in the template normal.dotm.
Currently what is happening is styles are available in normal.dotm but when
i open a document style pane only show me some of my custom styles not all.
Please help me.

Note : If any code needs to be written in the template then please let me
know that also.



Back to top
Stefan Blom
Guest





PostPosted: Wed Dec 19, 2007 1:32 pm    Post subject: Re: Hiding word in built styles and displaying only the cust Reply with quote

To apply the settings to a template (and to all documents later created
from that template), just open the template as you would open a document,
via the Open dialog box.

Note that you may want to leave users' Normal templates alone, though, and
instead create a *custom* template that has these settings.

Since you mentioned Word 2000, I'd like to point out that restricting the
styles of a Word file is only possible with Word 2003 and later. In older
versions, the file(s) will be completely locked.

--
Stefan Blom
Microsoft Word MVP


"Styles and formatting" wrote in message
news:54A6F3C4-2B0D-4860-B784-81FA26C565E9@microsoft.com...
Quote:
Thanks for the Help Stefan it work fine ...but can you please tell if I
have
to do same thing with the template (normal.dotm) then how can I achieve
the
same thing.
As I want to that whenever the new document get open in any version of MS
Word by any other person only the my custom styles should be visible to
him.

Will Wait for a positive response from your side.
Thanks in Advance.


"Stefan Blom" wrote:

Open the template file. On the ribbon, click the Developer tab, and then
click Protect Document (in the Protect group). Click "Limit formatting to
a
selection of styles." Click Settings. The dialog box allows you to choose
exactly which styles should be available. (You cannot remove the Normal
style, though; it will always be accessible.) When you are done, click
OK.
Click Yes, Start Enforcing Protection, type a password if you want to,
and
then click OK.

Note: If you cannot se the Developer tab, display it via Office button |
Word Options, Popular category.

--
Stefan Blom
Microsoft Word MVP


"Styles and formatting" wrote:

in the Hi,

In my project i have to migrate from word 2000 to 2007 fo which i need
to
hide all the built in styles available in word 2007 and display only
the
custom styles which i have in the template normal.dotm.
Currently what is happening is styles are available in normal.dotm but
when
i open a document style pane only show me some of my custom styles not
all.
Please help me.

Note : If any code needs to be written in the template then please let
me
know that also.



Back to top
Styles and formatting
Guest





PostPosted: Thu Dec 20, 2007 12:52 pm    Post subject: Re: Hiding word in built styles and displaying only the cust Reply with quote

Could please tell me how can i achieve the same thing thru. VBA programming.
If i have to write code for it in the template how can i do so?

Thanks

"Stefan Blom" wrote:

Quote:
To apply the settings to a template (and to all documents later created
from that template), just open the template as you would open a document,
via the Open dialog box.

Note that you may want to leave users' Normal templates alone, though, and
instead create a *custom* template that has these settings.

Since you mentioned Word 2000, I'd like to point out that restricting the
styles of a Word file is only possible with Word 2003 and later. In older
versions, the file(s) will be completely locked.

--
Stefan Blom
Microsoft Word MVP


"Styles and formatting" wrote in message
news:54A6F3C4-2B0D-4860-B784-81FA26C565E9@microsoft.com...
Thanks for the Help Stefan it work fine ...but can you please tell if I
have
to do same thing with the template (normal.dotm) then how can I achieve
the
same thing.
As I want to that whenever the new document get open in any version of MS
Word by any other person only the my custom styles should be visible to
him.

Will Wait for a positive response from your side.
Thanks in Advance.


"Stefan Blom" wrote:

Open the template file. On the ribbon, click the Developer tab, and then
click Protect Document (in the Protect group). Click "Limit formatting to
a
selection of styles." Click Settings. The dialog box allows you to choose
exactly which styles should be available. (You cannot remove the Normal
style, though; it will always be accessible.) When you are done, click
OK.
Click Yes, Start Enforcing Protection, type a password if you want to,
and
then click OK.

Note: If you cannot se the Developer tab, display it via Office button |
Word Options, Popular category.

--
Stefan Blom
Microsoft Word MVP


"Styles and formatting" wrote:

in the Hi,

In my project i have to migrate from word 2000 to 2007 fo which i need
to
hide all the built in styles available in word 2007 and display only
the
custom styles which i have in the template normal.dotm.
Currently what is happening is styles are available in normal.dotm but
when
i open a document style pane only show me some of my custom styles not
all.
Please help me.

Note : If any code needs to be written in the template then please let
me
know that also.








Back to top
Display posts from previous:   
Post new topic   Reply to topic    Computer Forum Forum Index -> microsoft word vba general All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Computer Forum