|
-
Feb 29th, 2012, 05:25 AM
#1
Thread Starter
Member
Filling an online form with content from a word doc.
I would like to write a Macro that does the following.
1.) Takes the first paragraph from my word document
2.) Opens internet explorer and goes to the following link: http://onebank.intranet/news/_layouts/CreatePage.aspx?
This page is a form on our company intranet.
3.) Pastes the first paragraph from my word doc into one of the input-boxes of the form.
4.) Pastes the first paragraph from my word doc into a second input-box in the form but with all spaces replaced for hyphens. I.e. if the first paragraph read "the quick brown fox jumped over the lazy dog", this should paste "the-quick-brown-fox-jumped-over-the-lazy-dog".
I know that for points 3 and 4 you will need some source code for the macro to be able to select the input boxes, but I am not really sure what to look for. If someone could guide me that would be great.
I am very new to VBA, I posted a similar thread about a month ago but my knowledge of VBA was so low that I could barely understand the help people were trying to give me. I have since done an online course, my knowledge is by no means good but I think I now understand some of the very basic terminology, still it would help if you write your answers as if you are talking to complete novice.
Thanks in advance .
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|