Complete the project of Posting VBA Code

hmk

Active Member
Joined
Jun 8, 2004
Messages
423
Hello there

I am trying to post the a question to the MrExcel Forum using this userform.

I managed to open the web page on the New Thread page, but i need a help how can copy the text inside the thread

i.e. need a vba code to copy the text to the new thread box ?

here are the codes:
Code:
'*Open Web Page
Private Sub PostVBA_Click()

'*Shows how to open websites using the FollowHyperlink method
    Dim strWebsite As String
    
    strWebsite = "http://www.mrexcel.com/forum/newthread.php?do=newthread&f=10"
                     
'* Open Web Page VBA MrExcel
    ActiveWorkbook.FollowHyperlink Address:=strWebsite, NewWindow:=True
     
End Sub

' I write a text inside this TextBox1 and need to copy it into the new thread via vba code.....this is what i need ?
your help would complete the code and make good pice.
 
Last edited:

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

Forum statistics

Threads
1,215,758
Messages
6,126,698
Members
449,331
Latest member
smckenzie2016

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