Pages

Search

Microsoft Word - Highlight Current Line

Microsoft Word - Highlight Current Line


Highlight Current Line

Posted: 20 Apr 2015 02:30 PM PDT

I was wondering if Word can highlight the line where the cursor is located , similar to any decent text/program editor?

Microsoft Word 2010 Help Needed With Macro

Posted: 20 Apr 2015 01:15 PM PDT

I am a retired Pastor and have 30 years of Bible Studies and Sermon I need to convert from .doc to .docx format. My current Bible software will allow me to create a personal Book of Sermons and Bible Studies if they are in .docx format. This would allow all these documents to be compiled into a book which in turn would make it searchable like any other reference book within the program.

In Documents on Windows 10 I have a folder named "Sermons and Bible Studies" and within it I have a separate folder for each year. I also have a backup copy of this structure on OneDrive and again on my backup pc.

I use Word 2010 and have found a macro on the web that allows me to run it, select the folder I want to convert and seems to work beautifully. Unfortunately, This requires me to repeatedly run the macro each time and then manually go back and delete the original .doc files. The macro code looks like this:

Sub ConvertDoc2Docx()
'
' ConvertDoc2Docx Macro
'
'
Dim strFilename As String
Dim strDocName As String
Dim strPath As String
Dim oDoc As Document
Dim fDialog As FileDialog
Dim intPos As Integer
Set fDialog = Application.FileDialog(msoFileDialogFolderPicker)
With fDialog
.Title = "Select folder and click OK"
.AllowMultiSelect = False
.InitialView = msoFileDialogViewList
If .Show <> -1 Then
MsgBox "Cancelled By User", , "List Folder Contents"
Exit Sub
End If
strPath = fDialog.SelectedItems.Item(1)
If Right(strPath, 1) <> "\" Then strPath = strPath + "\"
End With
If Documents.Count > 0 Then
Documents.Close SaveChanges:=wdPromptToSaveChanges
End If
If Left(strPath, 1) = Chr(34) Then
strPath = Mid(strPath, 2, Len(strPath) - 2)
End If
strFilename = Dir$(strPath & "*.doc")
While Len(strFilename) <> 0
Set oDoc = Documents.Open(strPath & strFilename)
strDocName = ActiveDocument.FullName
intPos = InStrRev(strDocName, ".")
strDocName = Left(strDocName, intPos - 1)
strDocName = strDocName & ".docx"
oDoc.SaveAs FileName:=strDocName, _
FileFormat:=wdFormatDocumentDefault
oDoc.Close SaveChanges:=wdDoNotSaveChanges
strFilename = Dir$()
Wend
End Sub

What I'd like to be able to do is automate the process even further. Instead of having to repeatedly have to run the macro, select the directory, manually go in and delete the old .doc files, I would like to be able to select the "Sermons and Bible Studies" or whatever directory I select and have it run in each sub-directory converting the .doc files to .docx and then going back to the directory selected and go through each sub-directory and deleting the original .doc file. Is this possible? Can anyone help me?

As I mentioned, I have these files in at least 3 locations. I really don't want the location to be hard-coded with "Sermons and Bible Studies" because I have several different other places that have .doc files in them and I eventually want to convert them as well such as "Funerals", "Weddings", "Baby Dedications", etc., each of which have sub-directories by year.

Hope this makes sense. Thanks,

Section headings in Word 2010 starting at 2

Posted: 20 Apr 2015 12:52 PM PDT

I have a document with multiple sections. Naturally, I want to start with Section 1. But when I select headings starting with Section, it automatically starts at Section 2 instead of Section 1. I am able to fix this if I get rid of the word Section and just put in the numbers. It will start at 1 if I do that. But the style guide for my company requires the word Section in the heading. I have tried right clicking on the section heading to try to set the numbering value, but the Set Numbering Value option is grayed out. Anyone have an idea what I can do to fix this?

Thanks in advance.

Lara

Quickstyle template creates linked not paragraph style for headings

Posted: 20 Apr 2015 09:35 AM PDT

Hi

We have created a Word Office 2010 styleset for creating our standard house style. In the quickstyle template the Heading styles are set to paragraph style type however when we apply this styleset to a blank or existing document, the heading styles are shown as linked.

I wondered if anyone knew

a) what effect will this have?

and

b) how can you stop it doing it?

Many thanks in advance

Locking the vertical cursor position in Word while editing

Posted: 20 Apr 2015 08:16 AM PDT

While editing (in Dutch) I need to be 100% concentrated on the current line I'm editing, and would like to be able to keep my eyes fixated/fixed at the same vertical position.  I've already switched to the modus in which all functions on the ribbon ar hidden. Great! But... it would be better if there would be a horizontal transparent kind of ribbon overlaying the current line. This way;

1) I don't have to search for the cursor by moving the arrow keys – the thin cursor line is easily lost after I come back from the kitchen with my coffee.

2) More and most important: I would like the text to scroll instead of the cursor moving downwards. Now this only happens when I reach the bottom line, after which the text automatically scrolls while jumping to the next line. But this way, I don't have a clear vision on the remaining number of lines in the current paragraph – an important aspect for editing properly.

So, hopefully my second point is clear enough. It means 'locking' the text vertically, so that jumping to the next line using the downwards arrow key (I don't use my mouse/touchpad while editing) would mean that I can keep my eyes fixed/fixated(?) on the same position; enabling me to concentrate completely on one line at the time – of course still being able to scroll horizontally for editing.

Surely this must be a highly desired function for other editors as well?? Or is there already a Word function for this that I haven't discovered yet? 

Thanks, let me know if I need to clearify,

   Rob

 

Quick Parts

Posted: 20 Apr 2015 07:43 AM PDT

I have an issue with quick parts where by it is losing the fonts size, and on occasion the paragraph brakes. This happes intermitently so it is hard to find the exact problem,

This is the process is follow to save the quick part.

1) Type the block of text i wish to save with the correct font, font size and line breaks etc.

2) hilight the text. Insert> Quick Parts > Save selection to quick Part gallery

3) Change the save in Option to Normal ( this is for the purpose that the quick parts are saved in the normal.dotx template and it can be copied to multiple machines) Select the option Insert Content in its own paragrah.

This issue happens on the original machine the Quick Part was created on and also other machines all with the latest version of office installed and all the updates for both office and the OS

Font formatting system

Posted: 20 Apr 2015 06:16 AM PDT

Hi community!

First of all, I want to apologize for not knowing proper terminology, so an example should do:

when bolding a selected text, MSW unbolds the part of such text which is originally in bold, e.g. a)example of selected text → b)example of selected text.

I'd like to change that behavior to the one the one that this box in which I'm writing right now my post shows, i.e., bolding the whole text without unbolding what's originally in bold, e.g. a)example of selected text → b)example of selected text.

I assume this issue has to do with the many styles the text I am working on has been applied to.

Also, I guess it can be applied to all the features related to the font formatting, so bolding is, as I said, just a random example thereof.

Hope to hear news soon.

Thanks in advance!

Userform generating in the wrong places

Posted: 20 Apr 2015 06:02 AM PDT

Following the advice of a previous thread, I created a userform to hide select sections within a word document.

I placed the code in "Userform1" which was in the "Normal" Branch (also within Normal is: Module1, ThisDocument, Userform1)

When I open the file nothing happens. However, when I open every other word file on my computer, the userform generates and I can not cancel out of it.

I assume I put the code in the wrong place. Where should it go and how do I get it there?

Thank You!

Kevin

Creating A Letterhead in Microsoft Word 2010

Posted: 20 Apr 2015 12:23 AM PDT

               Hello

              I thought   let me   ask   what  to do   about   creating  a  letterhead   now that I have  used   word  97, 2000,2003  XP  2007 & am  using    2010 I  had  till   2007 the full  version      I   got  home & student  in  2010 when I     was still using  Windows  XP Pro    I bought   windows 7  U   and  installed office 2010 H&S   with   Hindi  Language Pack   I want to   create  a    letterhead a personal   and custom      both  templates    for  many  years  and   I   did not    find  anything     I   wanted   for  Word 2010 I hope  tutorials  for  2013    can help  me   as the youtube video showed  a    2013  document  I look forward to  design my own letterhead    please  guide me I wondered for years  as to why  there is   no      tutorial  on this topic  on   www.office.microsoft.com

Not able to add,save and close the Word document which is opened already by using UFT tool.

Posted: 20 Apr 2015 12:03 AM PDT

Hello,

 

I have a vbs file which contains the below code,

 

on error Resume Next

                Set objWord=GetObject(,"Word.Application")

                                If objWord is Nothing Then

                                                Set objword=Createobject("Word.Application")

                                End If

                On Error GoTo 0

                objword.visible=True

                objword.Documents.Open "C:\Users\narayanasamy_r\Documentum\Checkout\ccrr005066.doc"

                objword.ActiveDocument.Activate

                objWord.Selection.TypeText "Hello World-Testing happening here buddy"

                objWord.ActiveDocument.save

                objWord.ActiveDocument.Close

                objWord.Quit

                Set objWord=Nothing

 

The main objective here is to add some content, save and close on my highlighted document,

 

Note:My highlighted Document Already Opened

 

Scenario 1àSince vbs file can be directly launched(double click) from desktop, I do the same and Expectation achieved

 

Scenario 2àI am running that vbs file in Qtp in 2 different ways and I am ending up unsuccessful. Here a pop up comes up saying the document is locked by user

       

a)

                Set oShell = CreateObject("WScript.Shell")
                    oShell.Run"E:\QTP-Test_data\Word_Handling.vbs"
                Set oShell=Nothing

  1. ("E:\QTP-Test_data\Word_Handling.vbs")

 

 

 

Thanks,

Narayan

 

 

Contact card shows an unknown presence status

Posted: 19 Apr 2015 11:58 PM PDT

Hi,

The contact card shows an unknown presence status for myself. I notice this issue when I was adding a new comment to a Word document. I then realised that the contact cards for the file's owner and last modifier are broken in all Office apps. However, I'm signed in to my Office 365 account in all Office apps, so it looks like that Office isn't linking my contact details with the online account.

The option "Always use these values regardless of sign into Office" is unchecked in settings. Could you help me to solve this issue?

Unspecified Error /word/document.xml Line: 2 ...

Posted: 19 Apr 2015 11:28 PM PDT

I was working on my program I saved the file and it crashed when I tried to reopen it it said Unspecified error line 2 column 19752
How do fix it?
Help me!! please
My file is below.

https://www.dropbox.com/l/D6eV7gryJusxR1KcesLgGu

Help me!! please

Help me!! please

I have done some solution but the problem didn't solve

Help me!! please

how to i get word to stay with the outline i chose for a document

Posted: 19 Apr 2015 10:42 PM PDT

I need to use a specific type of outline for a class. when i click it, it works for one or two lines and then reverts to no outine.

Saving to PDF tries to OCR images within Word

Posted: 19 Apr 2015 10:15 PM PDT

Hi, I am trying to save a docx file to PDF, and am having problems.

The document has some complex equations in there, these have been inserted as images, as our word version here has no mathtype or anything.

Anyways, when I try to save as PDF (using native word function), it tries to OCR the equation images and convert them to text.

As you can imagine it makes an absolute meal out of it, with boxes all over the place.

Is there a way to stop word from trying to OCR image sections of a Word document?

Thanks,

Nathan

Printing unusual size photo

Posted: 19 Apr 2015 08:15 PM PDT

I have created an A4 banner for the outside of a 3-ring binder and now wish to use that banner to produce a spine label.

I have changed the size of the A4 sheet to fit the area of the spine.

When I print the new document I am restricted to the default sizing using Windows PhotoViewer.

Does anyone have an answer for being able to print photos using individual sizing?

Thank you

Sharyn

Incompatible application

Posted: 19 Apr 2015 06:25 PM PDT

I have not had any previous problems with my Microsoft office 2013  since I purchased it. Now I can't open word documents because it states it is incompatible please help.

Microsoft No Longer Working for Downloaded Files

Posted: 19 Apr 2015 03:30 PM PDT

Since last August I have been actively downloading .doc, .docx, and .ppt files from an online program, Blackboard, that I am required to access for my college. Recently, out of nowhere, I am no longer able to open any new downloaded files on Microsoft Office. Every time I attempt to open a new downloaded file, I get the error message:

"Word experienced an error trying to open the file. Try these suggestions: Check the file permissions for the document or drive; make sure there is sufficient free memory and disk space; open the file with the Text Recovery converter." 

I have tried all of these suggestions and more. I fixed my settings under options to ensure that Protected View was not interfering with reading the file. I have ample memory available, and attempting to open the files with Text Recovery yields the same exact error message. I even uninstalled the entire Office program and reinstalled it to ensure that my version of the program wasn't corrupted. I have even attempted accessing the files after turning off my antivirus program to ensure that it wasn't causing any issues either.

I am positive that the files I am downloading are not the problem, as I have been doing this all year long and various types of files are no longer being opened. I can't even open downloaded .docx files emailed to me. Everything yields the same error message. I am not sure what to do at this point, and any assistance would be extremely appreciated! I'm getting very overwhelmed and frustrated because I just don't understand what else I could possibly do to fix this issue. 

Thank you for any and all who can assist me!