Lock the text area and enable controls for editing

Z

Zoom

Hi,

I have to generate a document which contains text and textbox control. I
need to prevent user from editing the text in the document whereas they
should enter value in the textbox and save the document. Please suggest how
to do using vba.
 
J

Jezebel

What are you trying to do with VBA? -- create the document? enter the text?
prevent users from editing the text?

Why are you doing this with VBA rather than setting up a template?
 
Z

Zoom

Actually i need to provide a document generated at runtime which should have
control(textbox/textarea) between paragraphs. User should not eidt the
content or remove the control from the document. They should read the
document, fill the control with value, save the doc and upload it to my
server using an specific interface. I'm trying to do this using C#. I'm
unable to lock the document content from editing and also im unable to
convert the textbox to textarea.
 
J

Jezebel

What you describe is a Form. Well explained in Help and in a squillion other
places.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top