Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Dantrickillac Dantrickillac is offline
external usenet poster
 
Posts: 1
Default How can I create a copy and paste macro in a protected Word Form?

I have created a form using MS Word with tables text fields and check boxes.
I have sections of the form that may need to be duplicated for some people
and not for others. I am looking for a way to (hopefully) create a checkbox
that will allow the user of the form to check it and duplicate section will
appear. I would like the header to remain the same, but the footer to have
the next page number, but this is not necessary if it is not possible to
create. The fields in the section that is being copied and pasted will not
have any of the same information as the fields from the section being I need
created, so the REF does not work in my situation. I can create this macro
when the form is unprotected, but once the form is protected the macro no
longer works. Can anyone offer me some help or guidance? It would be much
appreciated.
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Cindy M. Cindy M. is offline
external usenet poster
 
Posts: 2,416
Default How can I create a copy and paste macro in a protected Word Form?

Hi ?B?RGFudHJpY2tpbGxhYw==?=,

I have created a form using MS Word with tables text fields and check boxes.
I have sections of the form that may need to be duplicated for some people
and not for others. I am looking for a way to (hopefully) create a checkbox
that will allow the user of the form to check it and duplicate section will
appear. I would like the header to remain the same, but the footer to have
the next page number, but this is not necessary if it is not possible to
create. The fields in the section that is being copied and pasted will not
have any of the same information as the fields from the section being I need
created, so the REF does not work in my situation. I can create this macro
when the form is unprotected, but once the form is protected the macro no
longer works. Can anyone offer me some help or guidance? It would be much
appreciated.

To achieve this, you need to add code to the macro that unprotects the
document, then reprotects it. You'll find the basic commands for these two
actions in the "forms" section of my website.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

  #3   Report Post  
Posted to microsoft.public.word.docmanagement
[email protected] danieljhart@gmail.com is offline
external usenet poster
 
Posts: 1
Default How can I create a copy and paste macro in a protected Word Form?

On Apr 9, 4:34 am, Cindy M. wrote:
Hi ?B?RGFudHJpY2tpbGxhYw==?=,

I have created a form using MS Word with tables text fields and check boxes.
I have sections of the form that may need to be duplicated for some people
and not for others. I am looking for a way to (hopefully) create a checkbox
that will allow the user of the form to check it and duplicate section will
appear. I would like the header to remain the same, but the footer to have
the next page number, but this is not necessary if it is not possible to
create. The fields in the section that is being copied and pasted will not
have any of the same information as the fields from the section being I need
created, so the REF does not work in my situation. I can create this macro
when the form is unprotected, but once the form is protected the macro no
longer works. Can anyone offer me some help or guidance? It would be much
appreciated.


To achieve this, you need to add code to the macro that unprotects the
document, then reprotects it. You'll find the basic commands for these two
actions in the "forms" section of my website.

Cindy Meister
INTER-Solutions, Switzerlandhttp://homepage.swissonline.ch/cindymeister(last update Jun 17 2005)http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)



Cindy, your help is much appreciated and the protect/unprotect worked
great. I am having trouble copying and pasting the exact text that I
need to after I protect and unprotect it. I am trying to copy the
previous 2 pages of the document and then pasting them into the
document. How do I do this? I can't figure out how to make this
happen. Any help you can give me is much appreciated.

  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Cindy M. Cindy M. is offline
external usenet poster
 
Posts: 2,416
Default How can I create a copy and paste macro in a protected Word Form?

I am having trouble copying and pasting the exact text that I
need to after I protect and unprotect it. I am trying to copy the
previous 2 pages of the document and then pasting them into the
document. How do I do this?

Are these always the same two pages, or could "the previous two
pages" be different pages, depending on where the user is working?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17
2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :-)

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy & paste formatting changes in forms protected document spiderjohn Microsoft Word Help 0 November 3rd 06 10:42 PM
Macro to copy-paste web page to word Purnima Microsoft Word Help 2 December 21st 05 09:50 AM
Help to create a macro to copy a Highlighted word and paste it? Jerry Mailmerge 2 September 14th 05 01:08 PM
Macro with copy and paste command Dudley Microsoft Word Help 1 July 8th 05 06:52 PM
copy and paste into word form Maxwell Page Layout 3 April 27th 05 06:38 PM


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

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"