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

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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
 
Thanks Andy

Do you know the VB code for this at all?

Best regards, Nick
 
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
 

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

Back
Top