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

Hello, we have documents that are in Word, Excel and PDFs that we sent to our trustees to sign.  They normally sign and scan the documents back to us via email.  However, we wish to change this so that they can digitally sign the documents (Word, Excel and PDF) and email to us.  What is the best way to do this?  Thanks.
0
New feature and membership benefit!
LVL 9
New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Hi,

about 10 word, pdf documents i refer almost daily. Can i save the path of the documents to  microsoft edge or other browser like favorite so that i can open quickly? please advise
0
What is the best method to get SharePoint list items from Office Web Addin using the credentials of the logon user?

We have migrated to Office 365, I am not sure whether i must authenticate on AD or Office 365, the Office Addin App will be deployed on SharePoint on Premise

I have tried rest services but I am not sure of how to pass the user token, for authentication.

   function GetSharePointListItems() {
        $.ajax({
            url: "weburl/_api/web/lists/getbytitle('listname')/Items?$select=Title,ParagraphText&$filter=ParagraphText isnotnull ",
            type: "GET",
            Authorization: {"Bearer " + accessToken},
             headers: { "accept": "application/json;odata=verbose" },
            success: function (data) {
                if (data.d.results) {
                       OnSuccessSharePointData();
                }
            },
            error: function (xhr) {
                alert(xhr.status + ': ' + xhr.statusText);
                OnErrorSharePointData();

            }
        });
any ides
0
I am looking forward the position of the cursor with two information: which paragraph, inside which character.
Many thanks.
0
Hi Everyone

I am having a problem opening Hyperlinks in Excel 2016 running on Windows 10.  I have also replicated the problem on some of our other machines that are running Excel 2013 on Windows 8.1.

Hyperlinks that link to other Excel workbooks do not open.  No error message or warning appears, and all that happens is the application hangs with the spinning blue circle.

Hyperlinks to other documents such as Word files open without a problem.

When I re-create a hyperlink to an Excel sheet in say Word 2016.  I get a warning message to say it could be potentially unsafe and then the Excel sheet opens.

I have tried hyperlinks to other spreadsheets on my C:\ and also to network shares, neither will open.

I have checked EventViewer but I haven't been able to identify any issues there.

We are using Sophos Central Anti-Virus, but I haven't come across this issue when using the product elsewhere.

The only other thing we tried is a registry fix to turn off the "potentially unsafe" message, which now doesnt appear, but we were having the issue before that anyway.
0
Hello,

I use a customized Outlook form that runs VB Script.  I have a command button that opens up a Word template and prints it to a PDF file.  What happens though is when printing, the save PDF dialog box comes up.  I don't want that.  I want it to save it as a PDF automatically without the dialog box coming up.  Let's just say C:\test.pdf.  Here's the code that I currently use.

Sub CommandButtonShipLabelUSPS_Click()

On Error Resume Next

Dim strCurrentPrinter' As String

	Set objDoc2 = GetWordDocLabel("\\TGPS13VM1\drawing$\Jobs\Task_Templates\Ship-Ship Label USPS.dot")
    	Call FillFieldsShipLabel(objDoc2)
    	objDoc2.Application.Options.PrintBackground = False
    	objDoc2.Application.DisplayAlerts = False

if Item.UserProperties("PrintHold") = True then
  	Set objDoc2 = Nothing
  	Set strCurrentPrinter = Nothing
  	Set objWord2 = Nothing
	Exit Sub
end if

    	strCurrentPrinter = objDoc2.Application.ActivePrinter ' store the current active printer
    	objDoc2.Application.ActivePrinter = "Adobe PDF" ' change to another printer

    	objDoc2.PrintOut ' print the active sheet
	Call RestoreActivePrinter

	objDoc2.Application.DisplayAlerts = True
    	objDoc2.Application.Options.PrintBackground = True

objDoc2.Close wdDoNotSaveChanges
objWord2.Quit wdDoNotSaveChanges

	Set objDoc2 = Nothing
  	Set strCurrentPrinter = Nothing
  	Set objWord2 = Nothing

End Sub

Open in new window




Thank you,
Joel
0
I'm working on a macro that inserts a style separator before the first period in every heading level 2 paragraph. It is also set up to skip any paragraph that is not heading 2. Currently it only works as many times as you specifically trigger it, but I would like it to continue looping until the last style separator is inserted in the last heading 2 paragraph. I can't figure out how to loop this without creating an infinite loop. I'm new to the macro writing game so please excuse my code:

      
 If Selection.Style = "Heading 2" Then
            Selection.MoveUntil Cset:=".", Count:=100
            Application.Run MacroName:="LWmacros.basHNum.InsertStyleSeparator"
            ActiveWindow.Selection.GoTo wdGoToHeading, wdGoToNext

ElseIf Selection.Style <> "Heading 2" Then
             ActiveWindow.Selection.GoTo wdGoToHeading, wdGoToNext

End If 

Open in new window



 I'm not sure what sort of condition I would need to set for the Do Loop for it to end after the last heading level 2 paragraph is found.
0
I have a client who created a document is Word 2013. She made some changes to it, saved it and closed Word. She came back from lunch and opened the document. All of her text, images and everything is gone. The 8 page document is now 225 pages. I verified that show hidden text was checked, but nothing. I copied the document and opened it in WordPad and I can see all the text and images.

Any ideas?
0
I converted my DOC - 2003 fle into PDF by pdf2print, the page number is not  properly displaying. Why?
But when I did this before, it showed the page number properly. Please explain
Ambiguous01.doc
Ambiguous01.doc
0
I use VBA to create custom toolbars for MS Office applications.  For Word 2007, 2010, 2013, and 2016, I've always deployed global templates as a .dotm file in the user's AppData\Roaming\Microsoft\Word\STARTUP folder.  For Excel and PowerPoint, either .xlam or .ppam in the AppData\Roaming\Microsoft\AddIns folder.  

Clients are asking me whether these same tools can be made to work in Office 365 where the applications are cloud-based rather than installed on the local machine.

Do global templates and Add-ins work with the cloud-based versions of O365 applications?  Can they be deployed as-is, or do they require modification, or do they need to be recreated in an entirely new language?  Can anybody point me to some documentation on this topic?

Thanks
0
Free Tool: Port Scanner
LVL 9
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.

My client reported that his list of recent documents in Word 2016 disappeared after updating the Office software.  How does a person restore an earlier version of the recent document list?  Where is it located?
0
Hi,

We have noticed in various occasions that Microsoft Word when exiting, it display a screen (see pix below) with contents of the documents in order to sk us permission to send to Microsoft.  Usually we don't have problem  with this but we noticed  working with key sensitive files we don't want to be sending MS our contents.  How can we disable this altogether? never ask or do  any "sending" to Microsoft of our data?"

word send to microsoft
0
When we go to print to PDF a word document nearly everything prints fine.
There is a area of the right side of the page that has some border coloring that isn't following the pdf. I believe its shading.

We highlight a couple of values with green but they don't come through as shaded when we convert the word document to a PDF.
I have gone through and tried to adjust acrobat and word settings. But the document conversion still doesn't appear to be working.
0
Users with office 2016 are trying to save files including word and excel as PDFs, they go to the print option and choose adobe 9, once they do so and click print the office application crashes, we have tried other print to PDF options and they have worked successfully, can anyone advise?
0
Can the MS Word Merge field formula be calculated using OpenXML

Thanks
Imran
0
Can the MS Word Merge field formula be calculated using VBA

Thanks
Imran
0
Greetings,
Can a formula used in MS word merge field be calculated using VBA
0
How to append HTML to word interop. Following code doesnt seem to work
0
I have one MCQ's Based type exam word document paper. I have to make Presentation in which each question will carry one slide.

I search different methods to create PPT from Word document. But I need little more help that is there any quickest way that select only questions and format them Heading style 1 and then select only QUestions options like Bullets as Heading 2.

or any other quickest way or macro which can convert my word document to PPT and each question should be on one slide.
0
Free Tool: ZipGrep
LVL 9
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.

Im  attempting to consolidate 6 different forms into one. The content of the forms is not different apart from the title and the pricing for each form. I know how to insert check boxes into word, so I was thinking if there was a way to make a table with the various form names at the start of the form with check boxes, so that the user can check the desired box for the from, as the form was selected the pricing would change in the designated part of the paragraph along the form. The paragraph where the price will have to change will always be the same. also if more than one box is checked (which is possible as this is for a service) then i would like the figure that comes out to be the sum of the prices for the forms selected. I would like to do this without having to have a list of the different prices displayed on the form, it can be hidden or else where in the program.  

I have a good base knowledge for Office, but have never encountered how i would go about doing this in Word. i know how i would do this in Excel, dont know if that helps.

Thanks in advance!
0
Hi

A user contacted me because she can't use the context menus in Word, Excel or Powerpoint 2016 (Office 365)

They appear as normal but quickly disappear before the user has had the time to select the required option

The right click (context) menus work fine everywhere else in Windows 7 64bit, even under Outlook

I created a new user profile and logged on to test the same Office apps and they worked fine so I guess that it is with the current user's profile that the problem lies

Any ideas ?

thanks
yann
0
Good Morning,

Yesterday I posted a question about saving file locations within Word VBA, I was very kindly pointed in the right direction SaveSetting \ GetSetting however when I tried the suggested code it didn't work and my knowledge is limited - so I am not even sure if it possible hence posting again

I want to use GetSetting to capture the ActiveDocument.name, ActiveDocument.Path and then pull that info back into a variable so I can use it at a later date but I get "Run Time Error 5 - Invalid Procedure Call or Argument" at the line that read StrPath = GetSetting("CMS", "File Locations", strFileName, "Not found")

The code with Comments at bottom of post is what I am trying to achieve, the code is totally wrong but might help

Sub TestSave2()
'
' TestSave2 Macro
'
'
Dim StrPath As Variant
SaveSetting "CMS", "File Locations", ActiveDocument.name, ActiveDocument.Path
StrPath = GetSetting("CMS", "File Locations", strFileName, "Not found")
ChangeFileOpenDirectory _
"File Locations"
            ActiveDocument.SaveAs2 FileName:= _
        "CMS", FileFormat:=wdFormatXMLDocument, LockComments:=False, Password:="", _
End Sub

This code with Comments is what I am trying to achieve, the code is totally wrong but might help

Dim DocName As Variant
Dim File_Locations As Variant
SaveSetting "CMS", ActiveDocument.name ' I want to Save the Document Name
SaveSetting "File_Locations", ActiveDocument.Path ' I want to Save the FileLocation
0
Hi All,

I appreciate your support with this question. I'm looking for support with the implementing of this GP & how & where to do it?

Thank you
Hpow-to-set-this-in-word.PNG
0
Good Morning Experts,

This is the situation

We use a case management system to produce word files, they are created and a initial save done back to the server when the users has finished and closes the document it saves again and then save into the CMS.

What I want to know is this - when it first saves can I store the directory location into VBA and use it to save document back at later date.

For example

1.) User creates a letter in CMS and it opened in word and saves to \\server\location\123.docx
2.) I want to record or save \\server\location\123.docx somewhere
3.) I then want to save the document locally on the C:\Drive with the same name
4.) when uses is finished I want to save back to \\server\location with the original file name

At the moment ifI change the file location to local and then exit back to CMS - CMS doesn't reflect the changes.

I've a reason  want to try and achieve this, but not sure if it even possible?

Let me know points up for grabs
0
I have a word document that was saved on a users computer but while he was in the middle of working on the document, the Pc crashed now the word document is not there and when i try open a previous saved version it says the file is corrupt and cannot open,
any ideas on how to fix this issue or any free Tools to fix the corrupted file?
0

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.