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

In a terminal server (RDP) server environment, one of our 100 users is having a problem with Word telling her "Sorry, another account from your organization is already signed in on this computer". Her Excel allows her to sign in, however - and other users are ok on Word and do not get this.  What would cause this?  Also - is there a way that an administrator can access her Crednential Manager entries on the server, in spite of the Control Panel being blocked for all non-admin users?  Because while logged in as this user, I am unable to get to the Control PAnel.  Thanks for your help.
0
I wrote a code in word with vba.
The first time after a restart with the computer, it creates many emails and i received a run time error. They are all in the background. If I click debug it brings me to the .Display.
When I execute the code a second time it works and the email are pop up and filled with the text.

I am using Windows 10 and Office 2013.

Sub
Dim olApp As Object, objMail As Object
Dim Text As String
Dim TempReceiver As Variant
Dim TempNames As Variant
Dim FinalSalutation As String


TempReceiver = Split(Receiver, "@")
TempNames = Split(TempReceiver(0), ".")
FinalSalutation = StrConv(TempNames(0), vbProperCase) & " " & StrConv(TempNames(1), vbProperCase)

     Set olApp = CreateObject("Outlook.Application")
     Set objMail = olApp.CreateItem(0)
        Text = "Dear " & FinalSalutation & "," & "{ENTER}" & "{ENTER}" & "I would like to request for our new employee " & Employee & " that he will receive own Business Cards." _
        & "{ENTER}" & "{ENTER}" & "Job Title " & "{TAB}" & "{TAB}" & "{TAB}" & JobTitle & "{ENTER}" & "Global Function " & "{TAB}" & "{TAB}" & GFunction & "{ENTER}" _
        & "Global Sub-Function " & "{TAB}" & "{TAB}" & GSubFunction & "{ENTER}" & "Line Manager " & "{TAB}" & "{TAB}" & "{TAB}" & LineManager & "{ENTER}" & "{ENTER}" _
        & "Thank you in advance." & "{ENTER}" & "{ENTER}" & "Kind Regards"
     With objMail
         .To = Receiver
         .Subject = Topic
         .Display
    
        End With
      SendKeys Text

Open in new window

0
Hi,

I have an application which "read" a word document and collect sentences or paragraphs that contain a number of keywords and save it in a memo field. Today I just collect the text but I would like to collect the formatting and show it in a textbox with Rich Text property for show the formatting. I have tried to use the word .formattedText propery of sentence or paragraph object without success.

Is it possible to do in vba (manually cut and paste seems to work) ? If yes how?

Thanks in advance.

BAnders
0
I'm trying to figure out how to delete from my Word document, the row that I've highlighted in red in the example below. The content has been redacted, but the formatting symbols have been retained. Typically these formatting symbols relate to tables, but I'm not sure what they mean in this context. Regardless, I'd like to delete that line. So far, nothing that I've tried has worked.

Redacted-resume-example.png
0
I have a train of Gmail emails where many of the lines are very long.

I want to copy this set of emails over to MS Word so I can highlight the pertinent points & print them out.

When I copy to Word, the long lines are truncated.

I thought of editing in GMail by manually inserting CR, it wont' let me.

Any solutions?

I'd prefer NOT to show any of the email content on EE because t is sensitive in nature.

Any ideas?

Thanks
0
Is there a way to select and copy some of pages from a word document so I can copy them to new document. Like page 1,3,7,8,10. There may be some pictures and tables inside. I  use word 2016

Thanks for your answer.
0
I am trying to get data from a few tables in a Word document into Excel using a macro in Excel.
I am getting an "Application-defined or Object-defined error" on the following line in my code. I would appreciate help on resolving this error.

Range("A1").End(xlDown).Offset(1, 0).Select

Sub CreateWordReport()
' Early Binding

Dim strDocName As String
Dim WordDoc As Word.Document
Dim wdApp As Word.Application
Dim tabl As Word.Table
Dim rng As Word.Range
Dim tableNumber As Long

Set wdApp = New Word.Application
strDocName = "C:\WPF\Test Document.docm"
wdApp.Visible = True
wdApp.Activate
wdApp.Documents.Open (strDocName)
Set WordDoc = wdApp.Documents.Open(strDocName)
WordDoc.Activate
ThisWorkbook.Sheets(1).Activate

tableNumber = 1

For tableNumber = 1 To 3
Set tabl = WordDoc.Tables(tableNumber)

Set rng = tabl.Rows(1).Cells(1).Range
rng.End = rng.End - 1

' on the next line I am getting an Application-defined or Object-defined error
Range("A1").End(xlDown).Offset(1, 0).Select
ActiveCell.Value = rng.Text
Set rng = tabl.Rows(1).Cells(2).Range
rng.End = rng.End - 1
ActiveCell.Offset(0, 2).Value = rng.Text

Next
wdApp.Quit saveChanges:=False

End Sub

Open in new window

0
Unable to get rid of small border sticking out of the right side of this table.
I can't see that little stub when I'm editing.
I can't see it in print preview.

I can only see it when printed on hard copy .
I can only see it when converteed into a PDF.
WHY?

Please tell me how to do it. I have many tables I need to fix wit this glitch.
scratch.docx
0
I am trying to get data from a table in a word document into an Excel WorkSheet by running a Macro in Excel.
I am getting a "Type mismatch" error at one line in my code. I would appreciate help with understanding why I am getting this error.
My code is as follows:

Sub CreateWordReport()
' Early Binding
Dim strDocName As String
Dim WordDoc As Word.Document
Dim wdApp As Word.Application
Dim tabl As Word.Table
Dim rng As Range

Set wdApp = New Word.Application
strDocName = "C:\WPF\Test Document.docm"
wdApp.Visible = True
wdApp.Activate
wdApp.Documents.Open (strDocName)
Set WordDoc = wdApp.Documents.Open(strDocName)
WordDoc.Activate


Set tabl = WordDoc.Tables(1)
' On the next line I get Type mismatch error
Set rng = tabl.Rows(1).Cells(1).Range
ActiveSheet.Cells("A1").Value = rng.Text
MsgBox WordDoc.Words(1)

wdApp.Quit saveChanges:=False



End Sub

Open in new window


Thank you for your help.
0
I would like to get data from an existing word document using VBA from within Excel. Most tutorial on the web show this by creating a new Word Application Object and then creating a new Word Document and working with this new document  (as I show in the code window). I would however like to open an existing word document (say Test.docx) using this word object and display the first word in this document in a MsgBox from a Macro in a Module in a Macro enabled Excel Document. I would appreciate help with the code which would achieve this for me.
Set WordApp = New word.Application
With WordApp
    .Visible = True
    .Activate
    .Width = 400
    .Height = 600
    .Documents.Add Template:="Normal", NewTemplate:=False, DocumentType:=0
' instead of adding a new document here I would like to open an existing word document Test.doc from the root folder of the C drive on my machine and get the first from this document for example.
End With

Open in new window

0
I have a form I am trying to create that has checkboxes and then sections related to each checkbox.  I tried using a drop down and I could never make the selection run a macro like I wanted, so went to checkboxes instead.  

My form has 5 checkboxes and 5 related sections.  If a person checks checkbox 2 - it automatically deletes sections 1 and 3-5 leaving only section 2 to fill in.  I used ActiveX checkboxes because the text is built in.  I used Legacy text boxes because I wanted to manipulate the max size.   I have found macros to make the deletion of sections work because I don't know anything about writing macros or VBA except the snippets I've found on the web.  The current macros  work very well!  

i'm trying to make this as user friendly as possible.  The staff i work with work wth people, not computers so much...  So the last thing I want to do is "hide" or delete the checkboxes that are not selected so the end user won't get an error if they try to select more than one.  Because once one has run, it can't run another.  And if there was a way to pop up a message vs the error message when/if they try to deselect their choice or not even allow to uncheck once selected.    I have tried several different lines in my macros, but obviously, I have no idea what I am doing, because I get errors and help just leaves me more confused.  

Maybe there is no way to do what I want to do.  If so I just need to train them again and if they mess up they have to start over... :)…
0
Access: printing form with subforms  -  can't get the text field to word wrap.

The sub form show the text wrapping.

I can't get the sub form to word wrap when I print the form.
0
Old Word and Adobe documents from 2007 fail to open.

Adobe Error:
adobe
Word Errors:
word1
After clicking OK
word2
Backups are the same and I'm checking the retention policy to see how far back data is archived. Assuming data may not be available from 12 years ago are these files repairable? Likely a 3rd party app needed, please feel free to share which one's have worked and which ones have not.
0
I would like to know how to prevent my word document from keep shifting location on my desktop every time I access it it moves to a different location location. Why does that happen and how do I fix this permanently?
0
Hi,

I have lots of quotes stored an Excel spreadsheet.

Something like:

The quick brown fox jumped over the lazy dog.

Have already set the cells to Text format.

No matter what width I set the cells to, there are

CR & LF

inserted randomly into the text.  So that, if I try to copy the quote and paste into Word, it comes out as

The
quick brown fox
jumped over the
lazy dog

Same for Notepad.  Or Wordpad.  Any text-focused destination.  

Is there any way I can copy text from a cell in an Excel spreadsheet and have these CR & LFs suppressed or removed automatically when I hit paste.

Many thanks!

OT
0
I am trying to disable switch account feature and one drive in word document

I can do this through registry change

is there any group policy from active directory side I can do
Office-Proplus-features-2.docx
0
Word won't allow me to write name of my figure.  Please see attached.

After my figure, I just want to type, "Fig. 1. Name of the figure" but word starts typing at the top of the page.

I'm using Microsoft Office Professional Plus 2016
0
Appearance Issues - Have a Netscaler v 11.1 sitting in front of StoreFront 3.15.  I am trying to do a couple of things and would like some guidance.  I have provided my current configuration as well.

Things to Solve -
#1 - I have some apps that will Word Wrap properly, but others get cut off as shown in attachment - how to force a wrap?
#2 - How to reduce the amount of white Space between Application Name and Folder
#3 - Has anything evolved to provide a detailed view of the applications like in the previous WebInterface display.

Thanks in Advance.

Current config located in \Inetpub\ctxfolder\Citrix\CitrixStore_web\custom\style.css

USE
.storeapp-icon {
    height: 30px;
    width: 30px;
}
.storeapp  .storeapp-name {
    position: absolute;
    top: -64px;
    left: 39px;
}
.folder-count {
    left: 2px !important;
    top: 12px !important;
}
.storeapp-action-link {
    display: none;
}
.customAuthFooter {
font-size:12px;
color:white;
text-align:center;
}
StoreFrontAppearanceApps.png
0
Hi,

I created a shortcut to the Macro in Word's Quick Access toolbar: https://wordribbon.tips.net/T006011_Adding_a_Macro_to_the_Quick_Access_Toolbar.html

Now, whenever I click the shortcut to run the Macro I get this message:

The macro cannot be found or has been disabled because of your Macro security settings

What do you think is happening?

Thanks!

OT
2019-04-12_21-00-34-601.png
quick-access-shortcut.png
0
File synchronization - what are my options?  I'd like my Word and Excel documents stored online and synchronized with my desktop, accessible with my phone and tablet.
0
When previewing a Word or Excel document in Outlook, doesn't that use a "read only" kind of mode that just displays the data inside without running any macros or other embedded code? I've found a few things online saying it does not, depending on the version of Outlook used. I was just looking for something with more confirmation.

My reason for asking is we get so much junk mail at my domain that this morning a legit email was almost missed because the sender didn't put much in the body of the message to describe what the attachment was about. Basically, we're looking to see how save it is to preview Word or Excel docs in Outlook for those times where you can't quite tell if the message is legit.
0
user  is wanting to change his default Outlook fonts to a larger size to help with reading emails.
any way to see  if word wrap settings can be limited as well.
0
Hello All.  I have a MS Word Document.  I have code to find "TBD".  When it is found, I need VBA Code to capture the Section Number.
In the attached example, "TBD" is in there 2 times.  When it finds the "TBD", I need code to capture:

1.1.2  STAGE 59-6 TASKS (IN DESCENDING PRIORITIZED ORDER)

strSectionNumberCapture = 1.1.2  STAGE 59-6 TASKS (IN DESCENDING PRIORITIZED ORDER)
EE_Sample_02_Get_Section_Number.docx
0
I have a table with 2 rows in a Microsoft Word document.

Row 1 has a dark blue backgroud with the text in white:  go to "https://www.website.com" for more information.

Row 2 has a white background with the text in black:  sign up here for the webinar:  https://www.seminarname.com

See image below:


Hyperlink Issue in Microsoft Word


When I click "Mailing", "Email",

In the email message row 1:  Outlook has the hyperlink properties as dark blue (against a dark blue backgroup), which is very hard to read.  
In the email message row 2:  Outlook has the hyperlink properties as dark blue (against a white backgroup), which is easy to read.

How can I prevent only row 1 from turning the hyperlink dark blue?  I would prefer the hyperlink color to be white?
0
Can anyone explain why you need to provide the page and section information in order to print a specific range for SOME multi-section documents but not others?   I know how to print using p#s#-p#s# format but I need to know why.  I have two very similar documents and one requires me to put in the page and section info and the other does not.   I haven't found the answer as of yet.  We are using Windows 10, Office 2016 Pro Plus and everything is 64 Bit.
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.