Creating a word doc from a webpage.

MS WORD

    Next

  • 1. Select whole word at cursor position
    Hi, Assume my cursor is placed within a random word of a document. I'm looking for VBA commands which will select this whole word. (Similar to double-clicking). The code should select the word in 3 various cursor positions: 1) Within the word (between its characters). 2) At the beginning of the word (between the first character and the leading space). 3) At the end of the word between the last character and the following space). I'm familiar with the code for selecting the whole line, at the cursors position: Selection.HomeKey Unit:=wdLine Selection.EndKey Unit:=wdLine, Extend:=wdExtend but could not figure out how to implement it for a single word. As more as I think - it sounds very similar to the inner Dictionary implementation - saying: the recognition of the whole word from only placing the cursor between its characters. Farther more, if the code could return the words number - I would be able to implement what ever I want by selecting: ActiveDocument.Words(x).select Thanks, Elm
  • 2. The help pane has clickable words to expand meaning How?
    I'm writing a procedure in Word and it is long. I'd like to set it up similar to how Microsoft's help pane set things up such as At the Kickoff Meeting (Kickoff Meeting: Called by the PM to ...) the team reviews the kickoff docs. Where the words in parenthesis would be hidden and "Kickoff Meeting" would be a hyperlink so that when you click on it, you see the definition. Can this be done in Word? How? thanks in advance for your help!

Creating a word doc from a webpage.

Postby nuve » Thu, 07 Aug 2003 07:24:14 GMT

Hi 
Please help.. What I want to do is to create a web form 
that once submitted it takes the fields and opens a new 
instance of a Word Template and populates bookmarks within 
the document with the fields from the web form, then saves 
it to a specified location with a specified name... 
does anyone know of an article or tutorial about this....

cheers
nuve

Similar Threads:

1.creating webpage from doc file

2.Parsing a Word doc and using data to create new doc

I want to programatically parse a Word document and create a new Word 
document with the extracted data.  I think creating a wizard/VB application 
to do this would be ideal.  As an alternative, I guess I could create a 
macro.  Does anyone have some VB code that I could look at?

3.Right click, create new Word doc creates Word plain text doc

Right clicking in a folder or on desktop and choosing 
create new Microsoft Word Document creates a "plain text" 
Word doc instead of a "Normal" Word doc. Create new doc 
from within Word is OK and file associations show Word 
for Doc extension.

4.creating word doc from a word template by macro

Can anyone help please, I have an excel spreadheet that when a cell is 
controlled by a Y or N answer only, it selects a word document to complete. 
This form shoudl be created from a template in the normal way word does, but 
my macro is simply opening the template (.dot file openining, not a .doc 
file), not creating from the template.  Can anyone help as to how I can 
achive this by modifying the VBA below.

Sub GetWordDocument()
Dim oWordApp As Object
Dim oDoc As Object
Dim sFilename As String

    Set oWordApp = CreateObject("Word.Application")
    If Range("G3").Value = "Y" Then
        sFilename = "M:\001_Quality\Manual advice Notes\Template\ST011AFO 
Issue 1 Advice note AND Customs invoice.dot"
    Else
        sFilename = "M:\001_Quality\Manual advice Notes\Template\ST011FO 
Issue 4 Manual Advice Note.dot"
    End If
    Set oDoc = oWordApp.Documents.Open(sFilename)
    oWordApp.Visible = True
    Set oDoc = Nothing
    Set oWordApp = Nothing
End Sub


Private Sub CommandButton1_Click()

End Sub


thank you

5.Webpage created with MS Word...new PC has Word Perfect Office 12

Hi,
I am struggling with setting up my new Dell.  Just wasted 45 min. on hold 
with their help line.  *sigh*.
I created my webpage using MS Word 97.  PC arrived with Word Perfect Office 
installed.  I cannot seem to understand the "MS Word Mode" in the WP Office 
so I installed my old CD of MS Word 97....it would not let me install "html" 
something?  sorry..forgot to write it down.  Installation would complete if 
"html" was not checked to install.  
Is the old MS Word 97 not compatable with Windows XPs2?

When I open my homepage in MS Word 97, none of my pictures show up & the 
columns are all to the left side.  I just know this must be ignorance on my 
part but I can't figure out how to make it look like before!  I'm scared to 
upload the edited page via Ace FTP for fear of crashing my website, which DID 
happen once when I used an outdated Frontpage.  

Should I just go out & buy Frontpage & start all over from scratch?
Thanks in advance for any & all help on the subject.

6. Webpage created with MS Word...new PC has Word Perfect Office

7. In VB6 - open word doc and set doc properties, then exec a macro in the doc

8. Using Word to create webpage



Return to MS WORD

 

Who is online

Users browsing this forum: No registered users and 0 guest