[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

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

Hi

My form login in my Ms Access application hide immediately after login in a user because I use it to reference the user name control and store the names of the users and those approving documents in the table  called tblcontrol for purpose of a proper audit trail. Now I want to reference also all the massages so that they become personalized, I have massages like:
 MsgBox “Please check your book keeping entries are not balancing”
Now I want personalize the massage by ensuring that it pick the user name as the starting word like below:
MsgBox “Chris please check your book keeping entries are not balancing”
How can I insert this reference like below within the above message?
Forms!FormName!ControlName.Value
What I want to achieve is that all error messages must be personalised, this will help the users to think psychologically that the system knows exactly what they are doing:
I want to replace the   (MsgBox “Chris please check your keeping entries are not balancing”) with
MsgBox “Forms!FormName!ControlName.Value please check your keeping entries are not balancing”
 but does not work any suggestion here or is there other ways of achieving that?


Regards

Chris
0
OWASP: Forgery and Phishing
LVL 12
OWASP: Forgery and Phishing

Learn the techniques to avoid forgery and phishing attacks and the types of attacks an application or network may face.

Hi, is there a reliable free PDF to word converter that does not have malware.
Thanks
0
I have a 75-page Word document that is giving me fits with paginaton.

When I first created the document, I set it to start numbering the pages at 454. In the earliest drafts of the document (a chapter of a book), that worked.

Now it's time to create a new starting page number to more accurately reflect the pagination of the preceding chapters. No matter how many times I remove and recreate all the footers, the first five pages number correctly (500-504)... and then page 6 numbers itself 454. It carries on that way for a while (pages 454-459), and then instead of going to page 460 it starts with 454 again. It then does the same thing: numbers 454-459, then starts page with 454. It then manages to go from 454-485, then starts again with page 454. This occurs even though every footer is "Linked with Previous," and when I look at the format of the page numbers it says "Continue from previous section."

The document has a lot of section breaks -- I go from two column for text to one column for figures. I have seven other chapters in the book that I've handled the same way, and none of them is giving me fits the way this one is. It's as if that page #454 is buried somewhere ... but I sure can't find it.

Help?
0
We have Excel & Desktop objects embedded into a Word doc
which by clicking on the objects' icons, will launch Excel/objects
but when the Word doc is printed/converted to PDF (using
Adobe PDF printer or CutePdf writer), these objects became
images in the converted PDF.

Is there a way to embed these Excel objects in the PDF such
that we can still open/launch the Excel from within the PDF?

Free tools will be appreiciated.
0
Hi All

I'm hoping someone can help me with the following Word 2016 settings.

I want to be able to change the Smart cut and paste settings within Word 2016 via a group policy.  I cant see the settings I'm looking for within GP editor and also cant spot where the registry setting sit.

I've attached a screen shot of the setting I want to untick. Any ideas how I could change this.

Many thanks
0
Having some problems with the office package.
Freshly installed laptop, domain-joined.

Service: Office365
Application: Word, Outlook

The application itself works, however when we close the application we are met with an error message.
(Outlook gives same error message, except file is named "NormalEmail.dotm")

Error message: "Word cannot create or save the file, Disk could be full, write-protected or damaged.
(Normal)

If i start the application as an admin, then try to close it:
Error message: "Word cannot create or save this file, Disk could be full, write-protected or damaged.
(C:\Users\XXXX\...\Normal.dotm)

Closing down the error message gives us a prompt to save Normal.dotm to a location.
Saving the file to e.g Desktop, then opening up word and closing it gives us same error msg.

Checked the access-rights to: AppData\Roaming\Microsoft\Templates - User has full access
Checked if the files in the location written above were write-protected - They arnt write protected
Tried to transfer my ..\Template folder to his computer - No difference, same error message
Ive done quick repair, online repair, full re-install of office package - Same error message

We are using a template add-on/program if that could cause any issue?
User is local admin.

I have attached a image of the error message, however, its in Swedish.
0
MS Word Envelope Tool is failing

When I take a normal address and select Tools > Envelope

I get some strange view where only the left few characters in the address are shown, and the envelop is the wrong orientation.

Looks normal
Looks wrong
Why?
0
Canon ImageRunner C5250 with Fiery unit.
All of a sudden, the printer crashed MS Office apps on many computers and I had to remove and reinstall the printer driver.
More details
- When printing in Excel, Excel crashed and prompted to troubleshoot.  Word and other apps did the same thing. If printing a self-test page, Windows Explorer crashed and prompted to troubleshoot.
- To fix the problem, i removed the printer and reinstalled the driver.
- All computers were configured to print to this printer directly. A print server was not used as we found it had more problem with this printer.
- The driver was the one downloaded from the printer itself. (Go to the printer's IP, then go to Download tab)
This printer has a Fiery unit. We were told we should use the driver downloaded from the printer itself
- This happened on Monday

More More Details
- This printer has been a trouble.
At the very beginning, we used a print server (Win2K8) for this printer. People had problems with it all the time. It looked like the problem happened in the early morning for the first user who printed, usually Monday morning. To fix the problem, we asked the user to remove and re-add the printer back.
- Then we were fed up with this and took the advise from the company we leased this printer from - configured this printer directly on computers via the printer's IP address. This has seemed to give us less problems. But what happened on this past Monday was the first time that the problem …
0
Syntax Error in expanding Page {Page} of {PageNumb}.

Various literature suggests you can limit the PageNumb aspect of the above statement with

Page {Page} of {={PageNumb}-1}

All I get is a Syntax Error. This function is used when your document contains miscellaneous pages at the end that you do not intend to utilize in (in our case) a pdf file.

Sample file indicating Syntax Error is attached. Any thoughts?
Master-GSKE-Investor-Verification-L.docx
0
One of my MS Word documents has at least 80 pages of text and images and more. I was given a template and upon filling it, I finally had 80 pages. But now I can only see 4 pages in the Print layout. However everything shows up in Web layout or when I upload and open the file in Google docs. Downloading the full file doesn't get rid of the problem.  If I change the file to older formats I can see the contents but are rearranged and I don't want that.
I wan't to know what causes this and I I can see all the information back in Print layout.
Please advise. Thanks.
0
PMI ACP® Project Management
LVL 12
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

I think it is impossible to do what I want in MS Word 2010. Can anybody prove me wrong?  And is there a way to do it in Word 2016?

I want a picture to always appear after the word “icon” as shown in scenario 1 below, except I want the top of the picture to align with the top of the text line?   as is shown in scenario 2.

I know many unsatisfactory solutions such as floating the picture or adding 12 points of padding before each paragraph, but those are not the goal here. Most of those options use an  anchor which is hooked to the page, rather than to the word “icon”.  Also MS Word's Drop Cap function is similar to my goal, but doesn't do the job.

PICEE.docx
0
Dear Experts:

I was gonna search for numbers with the following make-up in the current document witht the following search expression ('use wildcards' is checked)

Numbers to be searched: 77-88-23-44, 99-22-34-11 etc.

Search expression: <[0-9][0-9]-[0-9][0-9]-[0-9][0-9]-[0-9][0-9]>

I am greeted with the following prompt when running the search operation: 'The expression in the search field is too complex'

Any idea from the experts what is wrong with my expression.

Thank you very much in advance for your professional help.

Regards, Andreas
0
Hi All,

Is this possible to check if any character style is applied on some specific text using vba macro?

For eg:- We are here in Expert (1) Exchange.
This is used to provide (2) help by experts.

Here, we have to check, if number in braces (i.e. (1) and (2)) having any character style, it will pop up an alert.

Thanks
0
I have a project where I need to print the line numbers in the left margin. I am not sure how to make that happen. Can you assist me in finding a way to print the line# for each line in a document? Thank you!
0
I would like someone to help me please in hopefully making the scroll bar on the right side of the screen more darker so that I can see it better. See screen capture. It seems to be worse on Word or other applications.






0
I've programmed in vb6 and am trying to learn VBA for Word and Excel.  Intellisense doesen't seem to be working properly.
In the editor tab all the boxes are checked.
If I type Excel I get intellisense to type selection.  However if I put a dot after selection I get no intellisense.


I found this page useful, but it doesn't have what I want http://spreadsheetpage.com/index.php/tip/C32
0
I'm trying to format text in MS Word using Visual Basic (Using Visual Studio 2017) and can only find examples in C# on the web.

Can you point me to a few links that show how to manipulated text in a Word doc with VB (alignment, bold, etc)?

Thanks!
0
Using VS 2017 to open an MS Word 365 doc, but how can I create a new MS Word 365 document and then put text in it?

THIS WORKS TO OPEN EXISTING:
    Private Sub btn_print_Click(sender As Object, e As EventArgs) Handles btn_print.Click
        Dim objWordApp As Microsoft.Office.Interop.Word.Application
        objWordApp = New Microsoft.Office.Interop.Word.Application
        objWordApp.Visible = True
        objWordApp.Documents.Open("C:\NP_EVAL.docx")
    End Sub
0
I need help with Word Macro that would select all text in a sentence from the current cursor position (in the sentence) to the end of the sentence (marked by full stop).
So if I have a sentence "An apple a days is good for health. " and the cursor is just to letter "d" in the word "days" when I call the Macro all text to the right up to and including the full stop "days is good for health. " should get selected.
0
Introduction to R
LVL 12
Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

We have 15 users using a SQL dB with an Access front end.  Everyone can run a report that grabs a MS Word header (header.doc) and then closes it when the report is done so it can be used again.  One user's PC will not kill the open doc which means if she tries to run the report a second time she gets an error message saying the file is locked.  Going into debug shows the following command that runs:

If dir("C:\Accesssystemfiles\header.doc") " " Then _
     Kill ("C:\Accesssystemfiles\header.doc")

it appears to be locked by MS  Word process that starts on the first run and then remains open in the background.
Since it works on everyone elses' PCs I presume there might be something in Word that is causing the issue. We are all running the MS Suite 365 latest and greatest but the header.doc was created in an older version; could that possibly be a problem?  Does anyone have any thoughts on how to proceed to fix this or troubleshoot it?  When I try this on the user's desktop the Word

Added information:
I opened Task Manager and saw on my machine (which works fine) that when I run the report (which technically is using Access for the report and SQL for the data) I find that I click the Run Report and about 1 second later a Word (Background Process) opens up and stays open for about 2 seconds and then closes. I can keep doing this over and over again and my local header.doc file is not locked.  When I go to the problem machine I click on Run Report and the Word …
0
Hi I've created a form in ms word and included a submit button.
I can get the submit button to work which opens my email and attaches the form ok.
Private Sub CommandButton1_Click()
Options.SendMailAttach = True
ActiveDocument.SendMail

End Sub

However lots of my users use web mail via office 365 and do not have outlook configured.

Does anyone know the code that would send the email direct to an address without the end user have outlook configured on the client device?
0
Hi All -
#1 I just want to highlight all occurrences of a word and save the Document, without going thru one-by-one ... I have hundreds of Documents.
For example, if it is possible, I want to do a Find/Replace and:
Replace ALL "Automobile"
with
 "Automobile" <--- This one highlighted or Shaded in Yellow
#2 Is there a tool or way to do this with multiple documents without opening/finding/closing each Document?
0
Hi experts!

I wrote this macro:

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

Sub BoldSelectedColumn()
'
' This macro will bold the column that has the search text in it
' by Ed (07/24/18)
'
' Below only works if no merged cells
' Selection.Tables(1).Columns(7).Select

'------------------------------------------------------------------------------------------------------------

Dim x As Integer
Dim NumberTables As Integer

Dim oTbl As Table
 
For Each oTbl In ActiveDocument.Tables
    NumberTables = NumberTables + 1
Next

For x = 1 To NumberTables
    Selection.GoTo What:=wdGoToTable, Which:=wdGoToFirst, Count:=x, Name:=""
    GoSub BoldIt
Next x

Exit Sub

BoldIt:

'    .Text = "CRS Members"

' selection.Find.Font.Bold = True

Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
     .Text = "Qtr 3                          2018"
    .Replacement.Text = ""
    .Forward = True
    .Wrap = wdFindContinue
    .Format = False
    .MatchCase = True
    .MatchWholeWord = False
    .MatchWildcards = False
    .MatchSoundsLike = False
    .MatchAllWordForms = False
End With
       
If Selection.Find.Execute Then
    Selection.SelectColumn
    Selection.Font.Bold = wdToggle
    Selection.Find.Execute
End If

Return

End Sub

0
In a Word document I have a number of tablea. Each Table has 2 columns and multiple rows.
In the first cell of each table (ie in the first column of the first row) other than the first two tables, I have the full name of a person (made up of a first name and a last name).
I would like to have a macro that would pull out the first name (from the full name) of every table in my word document (with the exception of the first two tables) and put it into an array of strings (called clientNames in my code). So after the macro runs my clientNames array should have the first names of all clients (having pulled them out from the first cell of every table in word document (with the exception of the first 2 tables.
The first two tables do not have any names in the first cell but have some different type of data, that is why I want to ignore them.
I have tried doing this with the code in the code window, but I keep getting either an error (subscript out of range) or my clientNames array does not get filled.
I would appreciate your help.
Private Sub cmdPullOutFirstNameNames()

Dim firstRow As range
Dim ClientFirstAndLasName As String
Dim FullName() As String
Dim FirstName As String
Dim i As Integer
Dim tableCount As Integer
tableCount = ActiveDocument.Tables.Count
tableCount = tableCount - 2

Dim clientNames() As Variant
i = 3

For i = 3 To ActiveDocument.Tables.Count
Set firstRow = ActiveDocument.Tables(i).Rows(1).range
ClientFirstAndLasName = 

Open in new window

0
I need to pull MS Word data into Excel using VB.  Getting error message.
VB.PNG
VBA-code---copy.docx
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.