Copying and pasting from my form to a web-based application

N

Nick

Hello All

I wonder if anyone can help?

I need to add a control to my form to display some data that my users will
be able to copy and paste directly into a web-based application.

I don't want to use a textbox as that would mean the data could be deleted....

Can anyone suggest a method?

Many thanks in advance and kind regards

Nick
 
A

Andy Hull

Hi

You should still be able to use a text box with the following properties (on
Data tab):

Enabled = Yes
Locked = Yes

hth

Andy Hull
 
A

Andy Hull

Hi

You can set these properties when desigining your form - no need for vba code.

Select the text box - go to its properties - choose the data tab

However, if you still need the code, it is...

Me.MyTextBox.Enabled = True
Me.MyTextBox.Locked = True

(replace MyTextBox with the real name of your text box)

hth

Andy Hull
 
Top