ActiveX Text box question. need help!

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Hi Pedie,
I'm not sure what you mean by enable right click on it. There's no Right Click property for them.
What do you want to be able to do with it?
 
Upvote 0
What exactly does "enabling right click" mean to you?

There's no click event but it does recognize the
Code:
Private Sub TextBox1_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)

End Sub

Private Sub TextBox1_MouseUp(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)

End Sub
events so could be made to act on a right button click.
 
Upvote 0
Hi DAn, it was just out of ciriousity i am asking this question...because i use the activex text box vrey often and thought might be possible.
I thought you're busy today....:biggrin:

snowblizz, great learning. Thanks alot!
 
Upvote 0
Nope. There's a lot of things we can do with them but a straight right click isn't one.

I was busy today, but now it's tonight (9:45 PM)
Are you still working?
 
Upvote 0
dan...sorry didnt check out the reply again untll i got notified in my mail..

I was not at work today but was just trying few things here and there.
Now it is night for you and morning for me...lol
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top