Go Premium for a chance to win a PS4. Enter to Win

x

Microsoft Word

27K

Solutions

20K

Contributors

Microsoft Word is a commercial document editing program that is part of the Microsoft Office suite. It features numerous text-editing tools for creating richly formatted documents, along with tools for the use of macros in Word documents. Word's native file formats are denoted either by a .doc or .docx file extension. Plugins permitting the Windows versions of Word to read and write formats it does not natively support, such as the OpenDocument format (ODF) are available. Word can import and display images in common bitmap formats such as JPG and GIF. It can also be used to create and display simple line-art.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi experts.

Please only participate if you have experience with word 2016 usage with 3 or more people working on the same document at the same time.

Our office uses Word 2016 to work together on sharepoint 2016 hosted documents. Sometimes, up to 4 people are working on the same document at the same time. We had tested that feature extensively with 2 people - never a problem. Lately, with 4, funny effects started to happen, like word parts appearing out of nowhere or word doubling.

Is this feature known for being not-that-stable when being used by more than 2 people at the same time?
0
Free Tool: Site Down Detector
LVL 11
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

I am trying to rewrite this in a VB.NET form which is manipulating a Word document, but running into a number of problems.

Original VBA in Word
Dim rng As Range
Dim intPages As Integer

With ActiveDocument
    For intPages = Selection.Information(wdNumberOfPagesInDocument) To 0 Step -1
        Set rng = .GoTo(What:=wdGoToPage, Name:=intPages)
        Set rng = rng.GoTo(What:=wdGoToBookmark, Name:="\page")
        If Len(rng) = 2 Then
            rng.Delete
        End If
    Next
End With

Open in new window


My attempt to rewrite in VB.NET
    Private Sub Button2_Click_1(sender As Object, e As EventArgs) Handles Button2.Click

        Dim oWord As Microsoft.Office.Interop.Word.Application
        Dim oDoc As Microsoft.Office.Interop.Word.Document
        Dim oTable As Microsoft.Office.Interop.Word.Table
        Dim oPara1 As Microsoft.Office.Interop.Word.Paragraph, oPara2 As Microsoft.Office.Interop.Word.Paragraph
        Dim oPara3 As Microsoft.Office.Interop.Word.Paragraph, oPara4 As Microsoft.Office.Interop.Word.Paragraph
        Dim oRng As Microsoft.Office.Interop.Word.Range
        Dim oShape As Microsoft.Office.Interop.Word.InlineShape
        Dim oChart As Object
        Dim Pos As Double

        Dim oPages As Microsoft.Office.Interop.Word.Pages
        Dim intPages As Integer

        'Start Word and open the document template.
        oWord = CreateObject("Word.Application")
        oWord.Visible = True
        oDoc = 

Open in new window

0
I have a document that has track changes, it is in RTF format but when I open it in Word 2010, and try to accept/reject or see the reviewing pane, it tells me there are no track changes in the document. How can I get this document to acknowledge the track changes and allow me to accept/reject?

Thanks,
0
I have some old files in MS Word. To open them, I'm required to provide a password. How do I do this to files created in Win 10?  Also, how do I created a password to gain access into the computer (i.e. after it boots up, but before going into windows?)
0
In the past 3 weeks, user's have received attachments from their email accounts and/or company drives which have not allowed them to open the attachments in Word, Excel and PowerPoint.  The current work around is to open the application, file, options, trust center, trust center settings, protective view and remove the check marks from all 3 boxes.  This was not an issue before but just started.  Any input on what might have caused this change or why it's occurring now?
1
Hello,

I have a program that makes calls to Word 2010 through IIS. When the process is finished WORD is supposed to close. These steps are performed by a service account, labeled "WORD"

However, temporary files for for are created in the following folder:

C:\Users\Default\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.Word

I do not understand why these files are getting created in this location i.e. under default

The other problem is the files created here are locked and cannot be deleted, even though WORD has closed. As a side effect of this problem, since the files are locked, new users who try to log on to this particular server get cannot log on and get the error :

"Profile not available"

The reason this happens is that when a new profile is created, the system tries to copy the default user folder to the new user. The copy process fails because in the Content.Word folder are temp files that cannot be copied as they are locked by WORD. Hence the creation of the new profile fails, and the user cannot logon.

I am going to change the default location for temp files for WORD, so hopefully this resolves the profile issue, but having these temp files locked indefinitely is causing the IIS process to crash.

It seems to be some sort of bug in Office 2010. I cannot change the version of WORD at this time.

Any suggestions on how to fix?

Thanks,

Mark
0
Typically, when I open an Office document via My Documents, Outlook, etc., the Office application will bring the document to the forefront. Recently, if Excel is minimized to the taskbar, it has decided to stay minimized. If it is not minimized or not running then it acts as expected bringing the document to the forefront. Not a huge deal but is frustrating when I am waiting for the spreadsheet to pop up when my query in another program completes.

Suggestions?
0
Can we sort references year wise based on style ("pub_year") in the year to the whole document?

Kopp, C.B. (2015). Emotional distress and control in young children.
Aopp, and P.P. (1992). Emotional distress and control in young children.
Lopp, and Williams, P. (2017). Emotional distress and control in young children.
Popp, A.B. (1996). Emotional distress and control in young children.
0
I am trying to copy text from the terminal in Ubuntu and paste it into windows word using copy from the terminal and paste into windows, but it does not work.  How can I solve this?
0
Hi,
I am new to Outlook programming and am trying to print a form from Outlook 2013.  It defaults to printing a summary version of the form, which is not what I want.  I saw a previous post in this forum about using Outlook to open up and print the form correctly from Word.

I am having issues if I run the form as a macro, it will open up in Word, however the data will not pull in.  I do get an error that is labeled Microsoft Visual Basic and the error is Run-time error '91'.  Object variable or With block variable not set.  Here is my script and I have the word template attached as well.  Can someone help me or point me in the right direction?

Sub printOrSave
    ' Print or preview the Word document
     Dim oWordApp ' As Word.Application
     Dim strMyField ' As String
     Dim oDoc ' As Word.Document
     Dim bolPrintBackground
     
     Set oWordApp = CreateObject("Word.Application")
     If oWordApp Is Nothing Then
     MsgBox "Couldn't start Word."
     
     Else
     oWordApp.Visible = True
     ' Open a new document
     
    Set olkMsg = Application.ActiveInspector.CurrentItem

     Set oDoc = oWordApp.Documents.Add("C:\Users\c7033\Documents\Custom Office Templates\FormFieldSample.dot", True, , True)
                                    'Template, NewTemplate, DocumentType, Visible
   
   'Map the data in the Outlook form the the field in the word template
    ' Set the first bookmark to the To Field

    oDoc.Bookmarks("txtTo").Result …
0
Free Tool: Subnet Calculator
LVL 11
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

I'm doing some research on securing Word documents and trying to determine if documents are encrypted. First question, is password protection and encryption the same thing in MS Word?

How secure is MS Word encryption/PW protection? I've heard it was rather easy to crack, but I've nothing other than anecdotal commentary to support this assertion.

I've posted 2 images. One claims to be a "Protected" document. I know this document to be malware. Is the message the document displays when opened a Microsoft thing or something the perpetrator created? The other image is a "normal" dialog for a password protected document.

Finally, is there a way to examine the contents of MS Word encrypted/PW documents to determine if they are encrypted?

More Info ...

I've discovered that the document giving that "Protected" message isn't really protected at all. The word/document.xml component of the archive is readily extractable and readable. The "Protected" message is bogus and must not be a Microsoft thing.
protected.png
passwordDialog.png
0
I need to retain all styles like paragraph style, list styles, & font colors & bold formatting as per original document while search & move the regex-based text. Pls suggest code if is it possible.

Sub RegexSimple()
Dim regex As Object
Dim arrSentences()
Idx = -1
Set regex = CreateObject("VBScript.RegExp")

    With regex
        .Global = True
        .IgnoreCase = False
        .Pattern = "\b(?:https?:\/\/)?(?:www\.)?(?=\w+\.)[a-zA-Z0-9.\/]+\b"
    End With
    Set Mtchs = regex.Execute(ActiveDocument.Range.Text)
    For Each Mtch In Mtchs
        Idx = Idx + 1
        ReDim Preserve arrSentences(Idx)
        arrSentences(Idx) = Trim(Mtch)
    Next
    Documents.Add
    ActiveDocument.Range.Text = Join(arrSentences, vbCrLf)
Set regex = Nothing
End Sub

Open in new window

0
I had this question after viewing Populating a Microsoft Word Document from Microsoft Access VBA.

Hi. I have a similar challenge as in that thread. May I also take a look at the example that you have please?
0
My mail merge in Word is not sending out of Outlook. Everything appears to be fine... write the email in work, attached the excel spread sheet, preview the result, go to send. In word it counts as if it is sending. However, outlook never does anything.

Any idea's why it is not going into Outlook outbox and then sent box?

Thanks for the help!
0
I have a weird behavior with one user's MS WORD not saving the windows size or location after adjusting.  Once you close the application and reopen it, the application is right back to where it was when it was first opened.  


The system is a Citrix VDI XenDesktop running on a WYSE Zenith zero client OS.
0
Hi,

In the font dropdown of Word several fonts show extraneous characters.  

Need help to suppress or to delete these from the font file names.

Have tried to look at the properties of the fonts, as well as a few other things I could reach.

Any ideas?

Seems to show only in Office programs:
Wordpad - no
Excel - yes
Notepad - no
Outlook - yes
Word - yes.

Illustration attached.

special-char.jpg
Thanks!

OT
0
Hello!!

I hope u can help with my problem, please.

I want to create a table that has this format ( Test2.png)
but
I only get this result (Test1.png)

This is the code:

------------------------------------------------------------------------------------------------

On Error Resume Next
 
Set objSysInfo = CreateObject("ADSystemInfo")
 
strUser = objSysInfo.UserName
Set objUser = GetObject("LDAP://" & strUser)
 
strName = objUser.FullName
strTitle = objUser.Title
strFName = objUser.FirstName
strLName = objUser.LastName
strInfo = objUser.info
strMobile = objUser.Mobile
strWebAddress = ""
Logo = "\\opdc01\Logo\1.jpg"
Logo2 = "\\opdc01\Logo\2.jpg"
strDepartment = objUser.Department
strAddress = objUser.StreetAddress
strCity = objUser.l
strState = objUser.St
strco = objuser.co
strPostalCode = objUser.PostalCode
strCelular = objuser.homePhone
strPhone = objUser.telephoneNumber
strExt = objuser.ipPhone
strFax = objuser.faxnumber
strEmail = objuser.mail
strExtend = objuser.extensionAttribute3 
Set objWord = CreateObject("Word.Application") 
Set objDoc = objWord.Documents.Add()
Set objSelection = objWord.Selection
Set objRange = objDoc.Range()
objDoc.Tables.Add objRange,1,3
Set objTable = objDoc.Tables(1)
Set objEmailOptions = objWord.EmailOptions
Set objSignatureObject = objEmailOptions.EmailSignature
Set objSignatureEntries = objSignatureObject.EmailSignatureEntries
objTable.Range.Font.Size = 20
objTable.Range.Style = "Table Contemporary"
objTable.Range.Bold = 

Open in new window

0
Windows 10 updated, and Word no longer saves a copy of the last iteration of a document after a change is made.  The changes used to be saved in a file with the .wbk extension.  Is that feature no longer available?
0
I have a user who used 365 Sharepoint and Office 2016.  She isn't being offered the chance to check out the Docx file when opening it from Sharepoint with Word locally. (Word Online works fine)   I can open the file and save it as something else back to Sharepoint.  In explorer her shares and files from SP show up.  This isn't a permissions issue.  If I log into her computer with another profile and back into 365 as her, everything works properly.  If she logs in from another computer, everything works as it should.

Here;s what I can't figure out:  1)  Why isn't she getting the option to check out the same file she can check out on another computer?  and 2) Why is Word showing the Sharepoint server offline?  I saw this when clicking on File.

I can Save As back into the same directory as the file I opened but can't Save if the file isn't checked out first.

Thank you
0
Free Tool: SSL Checker
LVL 11
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

I need to find url text(with & without hyperlink) using multiple type of RegEx then if it's found import all url text to new word document from current active document. Is it possible in word VBA? Can anyone ​suggest code?
RegEx Types
Type 1: with https://
Type 2: without https://
Type 3: with www.
Type 4: without www.
0
I have been given hundreds of PDF files that need to be searchable.  When I enter search word, it can't find. Please help me. Earlier it was fine.
0
How to visible a filename*esy pattern related all files simultaneously from the directory. Please find the below code and suggest.

Const SOME_PATH As String = "C:\Anderson\"
Dim file As String
file = Dir(SOME_PATH & "filename*esy" & ".")

If (Len(file) > 0) Then
  MsgBox ("Found")
  Else
  MsgBox ("Not Found")
End If
End Sub

Open in new window

0
I want a text box cover an entire page but cannot get it to extend into the top margin area. It will extend into the side and bottom margins but not the top. How do I do this? Thank you.
TextboxCoverage.PNG
0
I'm working on a Word document that has a dropdown list and a plain text content control, I want the plain text to be filled based on the dropdown selection. I have the dropdown entries and plain text description in an Excel document. I have been able to successfully do this by assigning the description to the value of the dropdown entry, but the character limit is too small. Is there any way to implement this?
Thanks!
0
I am having an issue on a network share where temp files are being created for example 273890DF.tmp.

In these folders there are office files like word and excel which seem to be linked in some way.

Thanks.
1

Microsoft Word

27K

Solutions

20K

Contributors

Microsoft Word is a commercial document editing program that is part of the Microsoft Office suite. It features numerous text-editing tools for creating richly formatted documents, along with tools for the use of macros in Word documents. Word's native file formats are denoted either by a .doc or .docx file extension. Plugins permitting the Windows versions of Word to read and write formats it does not natively support, such as the OpenDocument format (ODF) are available. Word can import and display images in common bitmap formats such as JPG and GIF. It can also be used to create and display simple line-art.