Microsoft Word

28K

Solutions

21K

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

I am designing a web application using HTML5, bootstrap and javascript using .net core.
I need to take the data gathered (saved from the web form) and get it to print in a word (.docx) template.

This word template will have static text and need to accept the data from the the web form.
I was "thinking" about trying to save the data as .xml...

I also need for the word template to handle "if" statements because some things may or may not print based on certain variables or flags.

The challenge here is all this needs to use aws and formatted for the cloud. NO IIS!!!!!

Please help!!!!!!!!!!!!!!
1
Hello Experts Exchange community !

I have a question about a Word 2013 customization at my workplace.
We created a new Normal.dot with a custom style set and we added a new tab in the ribbon with a classic style menu (StyleGalleryClassic).
So far, all was OK. Our users can create a new .docx document and they will have the custom style set by default, and they can quickly pick a style from the menu (StyleGalleryClassic) in the custom tab.

Now we have a problem when a user opens a document from another source.
Word will open the document with the original document's style set as default (not the one from Normal.dot).
This is a normal behavior.
But then the style menu in our custom tab will not display the styles from the Normal.dot but the ones from the current document.
We would like the style menu to always point to our custom style set.

I am trying to find a workaround.I have exported our custom style set in a quick style file.
The problem is that if you choose the quick style it will change the whole document style.
This is not what we are looking for, but just to have the style menu always pointing to this specific style set.

Do you know if ther is a way to create a style menu like the StyleGalleryClassic pointing to a defined style set and not the current default style set ?

Thank you for your attention.
0
Hi,

After a recent update to Office 2016 ( via Office 365 Subscription ), all of the standard Emoji Auto Correct Options that worked perfectly before the update have been screwed up and just turn into a square when used now.  Ie: :) :( etc.  See example below..

:-) turns into a square instead of a smiley face, as does :-( or :-D or :-o etc..

Emoji Fail Example Snapshot
A Repair of Office 365 (both offline and online) didn't help, nor did uninstalling and then downloading and reinstalling from scratch.

Anyone know of an easy way of fixing this problem?

Thanks..
0
Hi,

Outlook email has a table. when i click print it prints half of table not complete table. How to fit whole table and print.
I copied content to MS word document and tried to print which again prints half of table. please advise
0
Office 2010 installed on server 2003 x86 (Terminal Server). Used to work perfectly untill last saturday.
Now does not work in any user profile, any program Word, Excel or Outlook fails ...
Application Log shows 'event id 1000' source 'Microsoft Office 14' Type 'Error'
Details:
Faulting application excel.exe,
version 14.0.7180.5001, stamp 58dcb93d,
faulting module msvcr90.dll,
version 9.0.30729.6161, stamp 4dace5b9, debug? 0,
fault address 0x000320f0.


I tried to reinstall Microsoft Visual C++ 2008 Redistributable (x86) - had no success

Any idea ?

Thanks for your help,
Kind Regards,
Francis
0
Unfortunately, this scenario can’t be changed at this time. Running 2003 Terminal Server with Office 2010. Suddenly Outlook, Word or Excel will not open. Wants to send message to Microsoft and asks if want to open in safe mode but just tries over and over and will not open. I have uninstalled and reinstalled worked for less than a day and same problem reoccurred.
0
Well, it was opening in read only mode and in read mode (meaning with the arrows). Then, I Googled a bit, and Microsoft said to:

Go to File | Options | General and uncheck the Open email attachments and other uneditable files in reading view. So, it does now open in Edit Document "view" but I still have to click on Edit Document in order to edit it. (even hit the return key).

I read somewhere to uncheck the three boxes under Protected View in the Trust Center. Did nothing for this.

I should say that my Word documents on the client computers open in Edit Mode. It is when I open it from SharePoint that I have the problem.

FYI: I am leaving work to go home, so I may not see your answers until tomorrow, but I will get back to you promptly.
0
I am creating a document in Microsoft Word.
I would like to have several lists of items and be able to cross reference them among themselves. The problem I am facing is that i need to have the reference in the numbering.

Example:
M-01
M-02
M-03

A1-02 - where "02" is reference to M-02
A1-03 - where "03" is next item of the list -  previous item +1
A2-02 - again reference to M-02
A2-03 - +1
A2-04 - +1

These lists are long enough to do it by hand and are changing time to time, hance the cross-reference.

I do not need that to be headlines or lists, just any automated solution is ok. I do not even mind using Excel to do that, but I am not sure how to reference there.

Thanks a lot, any help appreciated!
Michael
0
I would like to have a macro that:
1.  Searches for the character string "(FIG".  Open Parentheses fig
2.  I would like to SEE the character string (FIG that I just found and continue selecting characters to the right until the close parentheses ")" is reached.
4. I would like to pause and have a pop up message appearing that says "erase?"
5. I would like to delete the selected character string if I click the "yes" button. And I'd like to terminate the macro if I click the "no" button.
6. If I say yes delete, I"d like the macro to go back to step 1 above
0
what tool can I use to manually open a malicious Microsoft word document to view what it is trying to call out to?
I know the file calls up .vbs scripts which will have the instructions for the malware.  What is the best way I can look into this script on my windows 7 computer?
0
I have about 100 images in a word document and I would like to change the "Wrap Text"  attribute to "In front of text" in all of them. (See graphic).
err
0
I downloaded the Word VBA reference guide from here:
https://www.microsoft.com/en-us/download/confirmation.aspx?id=40326
But when I click on a specific topic, I can't read the content!  Weird. I can see the chapter headings on the left but not the actual page contents in the right pane. How can I see the actual page contents?
err
0
How can I assign a keyboard shortcut to a macro that already exists?
0
I have followed other help here (thanks) to create a PERSONAL Word template folder in Word 2016.
Now how do I save my template alan.dotx copied from my Personal folder in word2013
0
I would like to have a macro that:
1.  Searches for the character string FIG.
2.  I would like to select the character string FIG and continue selecting characters to the right until the hard return character is reached.
3.  I would like to move backwards one character because I do  NOT want to select the hard return character. I'm just using the hard return character as a marker for how long I would like my selection to be.
4. I would like to pause and have a pop up message appearing that says "erase?"
5. I would like to delete the selected character string if I click the "yes" button. And I'd like to terminate the macro if I click the "no" button.
I do not need to loop or do until, etc.
0
I use Microsoft Word
I want to print a barcode which represents a simple 8 digit number.

I appreciate that there are multiple protocols with barcode but I just want a very mainstream ordinary - out of the box - barcode.

Is it necessary (or easiest) for me to BUY additional software to achieve this?
0
I am creating hotkeys for an application in connection with a VSTO Office addin.

I have started with control + alt + F and control + alt + T.  I have a European keyboard so I have a special key Alt-GR which is actually control + alt. In case you are not familiar with this see here.

These have worked well even when Office had focus.  Now suddenly today when I use them the T key combination makes the TM sign and F creates a footnote.  

How did these suddenly get turned on?  Can I turn them off?  How am I supposed to choose keyboard shortcuts that do not conflict with Microsoft?
0
Hi,
I would need vbscript code for below. please help me.

Search for given string in word document and select them if they appeared multiple occurrences.
0
The client would like to pull the Cell phone number from the patients demographics. In the database, the patient has 3 phone options (Phone1, Phone2 and Phone3), each with a Phone Type.

Presently, the following Formula is being used and the client is reporting the patients phone number is not printing on the form. Is there a simplified trimmed down version I can use for this? This seems too complex. Essentially, I need to look at the 3 phone types and whichever has the word 'Cell' in it, pull that phone number and format it like so (972) 904-9000

StringVar phone := '';
StringVar phone1 := '';
StringVar phone2 := '';
StringVar phone3 := '';
StringVar phone1Type := '';
StringVar phone2Type := '';
StringVar phone3Type := '';

IF isnull({vPatientProfile.phone1}) THEN phone1 := '' ELSE phone1 := {vPatientProfile.phone1};
IF isnull({vPatientProfile.phone2}) THEN phone2 := '' ELSE phone2 := {vPatientProfile.phone2};
IF isnull({vPatientProfile.phone3}) THEN phone3 := '' ELSE phone3 := {vPatientProfile.phone3};

IF isnull({vPatientProfile.phone1type}) THEN phone1Type := '' ELSE phone1Type := UpperCase({vPatientProfile.phone1type});
IF isnull({vPatientProfile.phone2type}) THEN phone2Type := '' ELSE phone2Type := UpperCase({vPatientProfile.phone2type});
IF isnull({vPatientProfile.phone3type}) THEN phone3Type := '' ELSE phone3Type := UpperCase({vPatientProfile.phone3type});

if((phone1 <> '') and ('CELL' in phone1Type)) then
    phone := phone1
else if((phone2 <> '') and 

Open in new window

0
I would need vbscript code for following. please help me.

Search for text in word document and then place cursor in front of that string if the string is found.
0
Hi,

some headings in my Word document are blacked out (see attached picture).
I use CTRl+Shift+S and use Reapply button and that fixes it, but only while the document is opened.

When the document is saved and opened again it is blacked out once more.

Is there a permanent fix?
0
Hi,
i have a Word document with 15+ VBA Forms, and in each form about 30-50 checkboxes.
How do i clear all the Checkboxes in the Active form w/o having to write names of each Checkbox?

Checkbox1.Value = False
Checkbox2.Valuse  = False
...etc.

I know i need to Loop through all the Controls in the Active Form, but i can not write it :(

Thank you,
0
I created a Macro in Outlook 2010 that successfully creates and sends emails using text from a word document.

I'm trying to convert this macro to run from Excel and I continue to get an application defined or object defined error 287 at the wordeditor and send lines.

Please help!

The same code works under outlook:

Option Explicit
Public OutlookApp As Outlook.Application
Public objMsg As Outlook.MailItem
Public olNs As Outlook.Namespace

Public sub sendemail()


Dim bodyMsg As Object

'outlook exchange connection

Set OutlookApp = GetObject(, "Outlook.Application")


If Err <> 0 Then
    Set OutlookApp = CreateObject("Outlook.Application")
Else
    Set OutlookApp = GetObject(, "Outlook.Application")
End If

Set olNs = OutlookApp.GetNamespace("MAPI")

'Word Code to open, Edit document purposely left it out

Set objMsg = olNs.Application.CreateItem(olMailItem)

 With objMsg


       .To = 'Email address
      .Subject = 'Subject
        .Display

      wordApp.ActiveDocument.Range.Copy
         
      Set bodyMsg = Application.ActiveInspector.WordEditor 'line that causes error
                           
      bodyMsg.Application.Selection.Paste      'line that causes error      
      
      
      .send      'line that causes error

End with      

end Sub

Please help!
0
Hi,

I am using the RawPrinterHelper class as described here:  https://support.microsoft.com/en-us/help/322091/how-to-send-raw-data-to-a-printer-by-using-visual-c-.net

I am using the code exactly as per the example and it appeared to work immediately with no errors - except that it didnt actually print.

Inspected the print queue shows the print job appearing, and immediately disappearing. If I change the properties to keep old prints I can see that it classes the job as "Printed". However nothing has actually printed!

I have tried printing directly to the printers using Notepad, Word and excel and all were successful. I have tried 3 different printers, and even re-done the work on a different machine with a different printer but still have the same issue.

I am using Windows 10 professional, and VS2017.

Any advice would be greatly appreciated.

 private void button1_Click(object sender, EventArgs e)
        {
             //Allow the user to select a file.
           OpenFileDialog ofd = new OpenFileDialog();
            if (DialogResult.OK == ofd.ShowDialog(this))
            {
                // Allow the user to select a printer.
                PrintDialog pd = new PrintDialog();
                pd.PrinterSettings = new PrinterSettings();
                if (DialogResult.OK == pd.ShowDialog(this))
                {
                    // Print the file to the printer.
                    

Open in new window

0
Hi:

I'm writing a user manual with step-by-step actions and I'm looking for a web site or blog or pdf that has best practices for using colors in callouts, documenting keyboard mouse actions, etc.
0

Microsoft Word

28K

Solutions

21K

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.