Microsoft Word

27K

Solutions

42

Articles & Videos

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,
I'm the Systems Admin for a SME
Some word/excel doc's on our file server have my username populating the 'Last Saved By' field yet I have not accessed these files
Has anybody else seen this behaviour ?
I'm sure my account hasn't been compromised, I have however changed my password and run multiple anti virus/malware scans on my workstation & file server
0
On Demand Webinar: Networking for the Cloud Era
LVL 8
On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Hello,
I am trying to merge word document  from vb.net
Please find the code :
                            oDoc.Content.Find.Execute(FindText:=StrRoomRouting,
                                                        ReplaceWith:=StrRoomRouting & " #" & StrRoomNo, Replace:=Microsoft.Office.Interop.Word.WdReplace.wdReplaceAll, MatchCase:=True)

Open in new window


I get an COM error:

String parameter too long
StrRoomRouting & " #" & StrRoomNo, this is  a long string more than 255

Thanks
0
Hi,

Need VBA to recursively select all Doc files in the folder and sub folders to split word document based on the section break and save in the same folder to where the master file is located.

I have attached my code and I really dont know whats wrong with that. Please help.
Sub test()
'DECLARE AND SET VARIABLES
Dim Dbk As Document
Dim Filename As String
Dim Path As String
Dim i As Long
Dim DocNum As Long
Dim docOld As Document
Dim docNew As Document

Path = "\\Test-pc\d\Table Issue\"
Filename = Dir(Path & "*.doc")
'--------------------------------------------
'OPEN EXCEL FILES
 Do While Len(Filename) > 0  'IF NEXT FILE EXISTS THEN
    Set Dbk = Documents.Open(Path & Filename)
    
Dim DocPath1 As String
Dim DocName As String
    DocPath1 = ActiveDocument.Path
    DocName = Split(ActiveDocument.Name, ".")(0)

    ' Used to set criteria for moving through the document by section.
    Application.Browser.Target = wdBrowseSection

    'A mail merge document ends with a section break next page.
    'Subtracting one from the section count stop error message.
    For i = 1 To Dbk.Sections.Count
        'Select and copy the section text to the clipboard.
        Dbk.Bookmarks("\Section").range.Copy

        'Create a new document to paste text from clipboard.
        Set docNew = Documents.Add
        Selection.Paste

        ' Removes the break that is copied at the end of the section, if any.
        Selection.MoveUp Unit:=wdLine, Count:=1, Extend:=wdExtend
        

Open in new window

0
Sir, manually selection of text in word shows default format is used...but when I press Ctrl+a, it shows default format is not used... I have copied text from notepad n even though I m getting same problem.. Please let me know how to fix it
0
Hi Experts!

I did search here but didn't find this. I have two two-dimensional arrays (extracted from tables in Word docs), ARRAY1(0 to 100) and ARRAY2(0 to 300). Can I create an ARRAY3(0 to 300?) that only has those elements in ARRAY2 which are not in ARRAY1?

Thanks!
0
Hi
I have a ms word document with a table in it, I am going to scan a date code into one of the columns a number of times and I would like to be able to add the current time into another column each time I scan the date code in. Unfortunatley the user will not be able to use shortcut keys and i would prefer to give them a command button to press each time they scan a new date code.

Can anyone help please.
Thanks
Andy
0
I had this question after viewing VBA to change source of links in PowerPoint.

I tried this code in PowerPoint 2013 but it doesn't seem to word there, any suggestion of how can we link all the links to a different Excel file or folder?
0
I am convinced there will be a special "ring in hell" for whoever is responsible for the header and footer layout in Word. Why can't there be a Section - LAST page break that ends the document without destroying headers and footer prior to that point?

I have a letter in Word that on the last page as the final entry is a Section - Page Break.

The document contains a header which has

Page X or Y

There is an errand line after the Section - Page Break forcing the document to have one more page than necessary. If you delete the Section - Page Break to delete the line, you lose the Header all the way back to Page Two.

I have attached the file. I know someone is going to easily fix this problem. Please carefully explain how to fix the problem so I can fix it myself next time.
EE-Test---Schedule-of-Related-Notes.docx
0
It windows 7, Office 2016 home and student. im trying to download templates for word but it gives error: something went wrong....
0
I have a number of old word documents that I need to migrate to pdf but first I need to save them as DOCX but I want to save them without the Encryption password (which I have).

Anybody know how to do this?
0
Free Tool: ZipGrep
LVL 8
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

This is a workaround for Office/Outlook/Word 2013. Office keeps an index of the last 100 files that Outlook has sent as attachments. It is used to coordinate merging.  Find it at:

C:\Users\<USERNAME>\AppData\Roaming\Microsoft\Office


File is named "AdHoc.rcd"


Prior to making changes, I suggest making a backup of this file in the same directory; for example "AdHoc.rcd.old" leaves a clue behind that this was the original.

Open the file with notepad and delete all of the text. Save the file. 


NOTE: ".rcd" isn't recognized as a text file by Windows, so you'll probably have to tell the system which program to use to open. If you cannot see the file extension at all, you will have to set Windows explorer to show those. There are many resources on the internet for doing so.


Right click "AdHoc.rcd" file and select "Properties"

Under the "Attributes" section, place checkmark in "Read Only"


This prevents Office from recording file names/locations for tracking, which eliminates the message offering to merge. This disables a collaborative feature of Office - use this workaround at your own risk.


Many blog posts and a few articles on the net refer to a page which no longer exists:

http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=107

If anyone has a cached version of this page it would be helpful to post this link in the comments. 


A good explanation of the background and use of the AdHoc.rcd file is at:

http://www.securityfocus.com/archive/1/299761


Many posts I've read pertain to Outlook 2002, but the file is still there and seems to function in the same way in Office 2013.

0
Find before dollar symbol content(Billion) from text file and then if text found in word document replace it as after dollar symbol content(1,000,000,000) using arrays in visual basic application.

Input text file(.txt) contains below:

Billion $ 1,000,000,000
Million $ 1,000,000
0
Custom built computer, Windows 10 64 bit, up-to-date; Core i7 3.5 6-core; 32 gig ram; Invidia GTX 980 video card

My computer is set up for graphics and motion, I use several of the Adobe Creative Cloud programs plus Microsoft 365 Word, Excel and occasionally PowerPoint to pursue my business. I use a Wacom Intous 3 tablet for navigation with a mouse on the side.

This setup has operated flawlessly for two years — and then for some reason Adobe InDesign either does not respond to input from the tablet, or there is a delayed response in selecting objects or editing text. If I click on the object or text with the mouse, the response is normal. After I click on the object with the mouse, then the tablet will work normally for a while and then go back to slow or no response. The tablet works fine in Photoshop and Illustrator and Dreamweaver.

For the Microsoft programs, in Word and Excel, with the tablet, I get a small dot instead of a normal cursor which I believe is the pencil tool instead of the normal cursor. All of this began simultaneously. Sometimes I also get the dot with the mouse, but manage to get it to work normally most of the time.

I have the latest updated driver installed for the tablet. I have a current model tablet I use with my laptop and I thought since the Intuous 3 is an older tablet, that might be the problem, so I removed the old driver and tablet and installed the new tablet and driver and the results were the same, so I know the problem is not …
0
Hi,
In working on my novel, I need to have my manuscript superimposed (if that's the correct word) on an Excel spreadsheet containing some relevant info. I need it to look like the following:
Word over Excel
I did the above by bring up two Word docs, going to View Side-by-Side, going to Excel and then activating only one of the Word doc windows.

However, I'd rather not have to bring up that 2nd document. However, if I open Word, and then select only one doc to view, it looks like the below....the doc in the middle...all that whitespace on either side...hiding Excel
.Word only
Bottom line: How can I bring up a single Word file and have it look like my first screenshot above?

Thanks,
Steve
0
i am copying and pasting from webpage .  when i copy and paste it to word images show as blank objects.

for example, try to copy this article and paste it in word document, you will not see images in pasted in word.

how can i paste where pictures are also pasted and are visible.  this issue is only in some websites,.
0
Hey

When opening Word from a file extension - it opens in full screen

When opening Word from an application - it opens minimized (for example merge)

Howto change this behavior? (I didn't have this problem in Office 2013)

Thx in advance
0
Does autosave in Word, Excel or any other app overwrite the original file?  Say you have a doc open for a day or two and the file is backed up during those tow days does autosave overwrite the original file?
Hope this isn't too confusing.

Thanks
0
Hi,

How to save opened word with macro, in sharepoint 2013 on premise?

I want to save the word with his current name and add client name and date of creation.

I tried this, but not working:
Sub save()
Dim Client As String
Client = InputBox("Saisie de votre Client : ")
sDocName = Left(sOrigName, Len(sOrigName) - 4)
sDocName = sDocName & Client & MonthName(Month(Date))
sDocName = sDocName & ".docx"
ActiveDocument.SaveAs FileName:= _
    "https://sharepoint.contoso.com/conventions/Documentspartages/" & sDocName, _
     FileFormat:=wdFormatXMLDocument, _
LockComments:=False, Password:="", _
AddToRecentFiles _
:=True, WritePassword:="", ReadOnlyRecommended:=true, _
EmbedTrueTypeFonts _
:=False, SaveNativePictureFormat:=False, SaveFormsData:=False, _
SaveAsAOCELetter:=False
ActiveDocument.Convert
End Sub

Open in new window

0
hi,

sometimes when word opens, it displays " compatibility mode" at the top of the document. can someone explain what that is, and why I a see it from time to time .
0
Free Tool: Port Scanner
LVL 8
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

hi,

I need help in effectively using headers and footers.
if I want a four line header in a document , what is the proper way to make this happen ?

and for a footer, I would like to number my pages, but start at page 6 how do I accomplish this in word 2016 ?
0
Hello,

I have this word :

 
Address __________________________
ID: ____________________________________

represented by : _____________ with : ______________ 

Open in new window


And this is a template document, so when users open it, word prompt for "address", "ID" ,"represented by" and  "with". Then informations auto full fill at the right position.

 I tried with fillin/ask... Not working.
Is it possible?
0
how to reset a q see gt series dvr with h.264  the pass word is not working.
thanks.
0
I would like to create a Macro in MS Word, 2013 that, when run, deletes any line or paragraph that begins with "I:"  I would also like to replace all paragraphs with this with "*".
Does anyone have a code?  Thank you so much!
0
I can't use file save or file save-as in excel, word, open office and several other programs - get error in application logs iforming that it's not possibell

We have alrady this problem in 2 more PC
0
Hi,

I'm getting up to speed with using SnagIt for screen captures. I'm trying to add a text box with an arrow pointing to a component of the screenshot.

While I can type text into a whitespace area of the screenshot, it displays w/o a border.  So, I need to figure out how to add the border. If SnagIt could do it automatically, like MS Word does for text boxes, that would be great. In addition, what's the best way to add a red arrow?

Thanks,
Steve
0

Microsoft Word

27K

Solutions

42

Articles & Videos

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.