Pages

Search

Microsoft Word - Opening a pdf document using a Word macro

Microsoft Word - Opening a pdf document using a Word macro


Opening a pdf document using a Word macro

Posted: 18 Aug 2014 02:25 PM PDT

I have a macro that I want to use to open a pdf document.  I am not sure how to do that.  I can make it open a Word document, but not a pdf.

The bolded code is what I am using to open a Word version of the document.

Any help will be greatly appreciated.

Thanks, 

**************************

Private Sub cmdOK_Click()

    Dim rng As Range
       
    Unload Me
    ActiveDocument.Close
   
    If lstForms.ListIndex = 0 Then
        Word.Application.Documents.Open "R:\IPSCMACROS\Fiscal Year Accrual.dotm"
    End If
   
    If lstForms.ListIndex = 1 Then
        Word.Application.Documents.Open "R:\IPSCMACROS\Book Order Info.dotm"
    End If
   
    If lstForms.ListIndex = 2 Then
    Word.Application.Documents.Open "R:\IPSCMACROS\CALENDAR\Calendar.docx"

    frm.Everyone.Hide

End Sub

system service error windows 8

Posted: 18 Aug 2014 02:02 PM PDT

New Mac partitioned with Windows 8.  Mac is set for shared files.  MS Word crashes 100% of the time when trying to access shared drives.  What is the problem with MS Word?

DELETING SPLIT WINDOWS

Posted: 18 Aug 2014 01:47 PM PDT

I have read your prior posts learning that I can get rid of the split screen by raising or lowering it and view only one document.  However, when I open a new file/document, the same thing happens on the new one and I can't figure out how to restore my documents to full screen view.  Under the View tab, there are different options to view various documents, but now I'm afraid to use any of them because there is no way to return to normal view.

Microsoft Word malfunction

Posted: 18 Aug 2014 01:06 PM PDT

I just installed Office 2013 last week. I set everything up and used Excel. I have not used my computer since and now when I try to open Word, it says "We're sorry, but Word has run into an error that has prevented it from working correctly. Word will need to be closed as a result." Then its asks "Repair now?" When I click repair now, nothing happens. Is there some way that I can manually repair it or something else I need to do? PowerPoint and Excel work as usual.

How do I set my Microsoft Word 2010 text as black

Posted: 18 Aug 2014 12:56 PM PDT

I am trying to make my default text color in Microsoft office 2010 black and it doesn't seem to be working. What am I doing wrong?

Word Crashes after nearly opening document

Posted: 18 Aug 2014 12:08 PM PDT

Hi there,

Thanks for reading!

I am in a bind. I cannot open a document I am working with. This happened suddenly.

There is no 'Autorecovered' file.

I have been using all the fortmatting features in Word but the file was saved as .htm

I have been working on this file for 6 months without any major issues.

When I tried to open the file today -- It crashed after the progress bar for opening the file reached ~ 100%.

Now when I try to open → "The document caused a serious error the last time it was opened"

It offers a choice to attempt to:

1) reopen which results in Word crashing after the progress bar for opening the file reaches  ~ 100%.

2) recover which extracts text regarding formatting, fonts, etc. that is essentially useless 

Any suggestions on ways to move forward?

Thank you so much in advance!

How to enhance Word 2010 Indexing Features with VBA

Posted: 18 Aug 2014 12:06 PM PDT

Microsoft Word 2010, Windows 7

I need to do two things pertaining to an ordinary Word index (the kind you find in the back of books):  For one,  when I "Include the selected text in the index of the document" I would like it to show up as red text in the "Show paragraph marks and other hidden formatting symbols" view.  Secondly, I would like to view my current index without inserting it into a document.  For example, I'm marking an entery and the Mark Index Entry dialog box is open.  I'm marking the entry as a "Subentry" but I'm not sure what I used in the "Main Entry" for other text of similar concordance.  I can open the index in my document but it would be much easier to open it in another window so I can take a quick glance at it without having to close the Mark Index Entry dialog.  Any suggestions on how to accomplish these two index procedures using VBA?

Les Coover

VBA to save as PDF based on ref number and date contained in a word form field

Posted: 18 Aug 2014 11:58 AM PDT

Hi,

I created a form in word with legacy tools only.

I created a save as command button which works but it saves under a predetermined name: "safety tour".

I was wondering if it is possible to save as by defining the name of the file on the content that would be filled in by users adding the ref number and the date to the name, & & . Is it possible to ask to find the content by bookmarking the fields?

the code I have so far is:

Private Sub CBSave_PDF_Click()
' SavePDF Macro
'
'
    ChangeFileOpenDirectory "C:\Temp\"
    ActiveDocument.ExportAsFixedFormat OutputFileName:= _
        "C:\Temp\Safety Tour.pdf", ExportFormat:=wdExportFormatPDF, _
        OpenAfterExport:=True, OptimizeFor:=wdExportOptimizeForPrint, Range:= _
        wdExportAllDocument, From:=1, To:=1, Item:=wdExportDocumentContent, _
        IncludeDocProps:=True, KeepIRM:=True, CreateBookmarks:= _
        wdExportCreateNoBookmarks, DocStructureTags:=True, BitmapMissingFonts:= _
        True, UseISO19005_1:=False
        
End Sub

Thanks for your help

Office installation terminates

Posted: 18 Aug 2014 11:50 AM PDT

windows 8.1 is taking office 10 key but in the mid way of installing it hesitate/terminate the installation.what is the solution?? pls advise

[Moderator note: Split from the thread at http://answers.microsoft.com/en-us/office/forum/office_2010-word/windows-81-does-not-recognize-product-key-of/f34db51d-01fa-4cc3-90eb-77c1c098e94f?msgId=e4947a21-120f-49b5-9b43-7a1c2ea9f279]

Corrupted .docx file (Start and end tags error)

Posted: 18 Aug 2014 11:49 AM PDT

Corrupted .docx file (Start and end tags error)

Hello there

I would like some help with opening a word document that has got corrupted when I saved it. From what I notice, this occurred after I put in a header for the pages and saved it. I get this error message and details on trying to open it

The name in the end tag of the element must match the element type in the start tag

Location: Part:/word/document/xml, Line:2, Column: 147619

I would very much appreciate any help with recovering the document. I have uploaded it here.

Please have a look and see if you can recover the document for me

https://onedrive.live.com/redir?resid=7FF27FD6F4E21B83!9100&authkey=!AOiQWVBbpusqZ1Y&ithint=file%2cdocx

many thanks

Luciano

The certificate you selected cannot be verified. Please check your network connection. Do you want to use this certificate? Microsoft Word 2013

Posted: 18 Aug 2014 10:45 AM PDT

I added a signature line to my Microsoft Word 2013 document (using Office365) and with inserting the signature image I get and error message:

The certificate you selected cannot be verified. Please check your network connection. Do you want to use this certificate?

If I continue, the signature is inserted with Recoverable Signature and it doesn't date stamp the signature.

I have a valid internet connection (attested by the fact that I am creating this question) and have confirmed that tracking is turned off, since I thought this may be the culprit.

Please advise.

Field in Footer disappears when selecting Print from the File menu (MS Word 2013)

Posted: 18 Aug 2014 10:35 AM PDT

I have created a document with a Footer that has two lines, and six fields.  Two fields are StyleRef fields; one field is a Page Number field; one field (which may just be a placeholder) contains manually entered content; and two fields are Ref Bookmark fields. The two fields that reference Bookmarks were created in the exact same way, but behave differently when I select Print from the File menu; one remains, and one disappears from the Footer entirely.  Sometimes, along with the disappearing field, the line spacing and arrangement of the remaining fields in the Footer changes.  I tried using Cross-References instead of Bookmarks, which made no difference.  I'm not sure if the problem is with the Footer, or some wonky setting in Word Options. Does anyone know why these two fields in my Footer would behave differently, and/or how to keep the one that disappears on Print to remain?

Amount format showing in Word after a merge

Posted: 18 Aug 2014 10:00 AM PDT

I produce check requisitions by merging data in an Excel 2007 workbook with a document in Word 2007 on a PC running Windows 7.  For all the similarities in both the Excel sheet's cells and the mergefield properties in Word, the second row's amount is different to the first line's result in the merged "letters1' document.  I have reformatted the entire Excel workbook, deleted and reinstated the second row of the receiving Word document, all to no avail.  The first line has 1,800.00 and the second line has 1500.  I have looked at Update Fields, Edit Fields, Sally Fields and Brooke Shields and Sanity Shields.  I deleted that line from the receiving document and saved it before reopening and reinserting that line; reinserted the specific fields and checked the aforementioned fields and shields. I have pulled seven of the three hair I have left and goofed around on Facebook.  Now I am hoping someone can help me. So many of the the online forums label their sites as applicable to Office 2007 when they are not - either 2003 or 2010.

Edit envelope in mail merge

Posted: 18 Aug 2014 09:29 AM PDT

After going through the mail merge process, the font I chose is too big and the address location needs to be changed. How do I do this without starting all over?

Extra line break above table after column break

Posted: 18 Aug 2014 08:52 AM PDT

WORD 2013, PC...

I have 2 columns on my page, the second page starts with a table.

If I use a column break to move the table to the second column, Word inserts an extra line break which means that the top of the table is not in line with the 1st column.

I think older versions of Word allowed this to be 'Suppressed' but this feature doesn't seem to be available in Word 2013. Is there any way to remove this extra line?

(Background - I can repeat the issue creating a new document. The extra line break also appears if I do a page break. The line does not appear if there is no column or page break before the table)

I urgently need to get this resolved to any help would be grately appreciated

Thank you

clipboard/hyperlink

Posted: 18 Aug 2014 08:52 AM PDT

When I copy a link (from the address bar) it creates 2 links on the clipboard, identical except that one includes http// in the address.  OS is windows 7, I have went through all the word options, set it exactly like the one on my old computer (XP OS still on that one).  I am at loss..

Suggestions?

Thanks

Table Columns with Track Changes

Posted: 18 Aug 2014 08:22 AM PDT

I recently discovered what I would call a bug in Microsoft Word. I was making revisions to a document, and as such had "Track Changes" turned on. In order to keep the document looking as intended, I was not displaying deletions.

I copied new data from a spreadsheet into a table in the document and found that it re-sized the columns of the table, despite the fact that the new data was exactly the same size as the old data, and the table was set to auto fit columns. I could find no settings that had changed as a result of the operation, and nothing would get the table to auto fit the columns back to the sizes they should be.

After some messing around, I determined it had to do with Track Changes. After manually accepting only the deletions in the table, it reverted back to behaving normally.

It appears that with Track Changes turned on, Word includes the deleted text when calculating the width of a column, even though the deleted text is not being displayed, making it nearly impossible to determine that that is the cause of the issue.

This creates a major headache, since part of the revision control process at my company includes marking changes with a bar in the margin, which Track Changes is able to do automatically. So in order to keep the "rev bar" and format the table correctly, I have to manually accept just the deletions.

restore document

Posted: 18 Aug 2014 07:50 AM PDT

I am using Word app on my iPad and accidentally deleted a document. Is there any way to restore it?

 

Needed: a macro to update a Word Table of Contents

Posted: 18 Aug 2014 07:29 AM PDT

I create documents with tables of content often.  I then update the document with added sections, but forget to update the table of contents. 

Can someone create a macro to automatically update the table of contents (if it has one) when the document is saved or closed? 

When using the "wrap text - behind text" option and/or when I use "watermark" I get the text on a white background obscuring the graphics behind

Posted: 18 Aug 2014 12:59 AM PDT

When using the "wrap text - behind text" option and/or when I use "watermark" I get the text on a white background obscuring the graphics behind

Office 365 for 6.99 a month

Posted: 17 Aug 2014 10:38 PM PDT

This is a great way for a student to get the new office program. At 6.99 a month, any student could afford that... I have had a chance to look it over and if I didn't have office 2013, I would get it! There isn't a ton of differences between office 2007 and office 2013 which I have now. It seems as though Microsoft makes subtle changes slowly over time which helps the user adjust slowly.

Position 'Figure' captions above, not below, figures

Posted: 17 Aug 2014 10:30 PM PDT

I want to insert captions above the figures in my document but, in the insert Caption dialogue box, when I select Figure as the Label, the Position dropdown is greyed out and the option 'Below selected item' cannot be changed.

The only Label options that result in 'Above the selected item' are Equation and Table ... but these are not tables, they are graphs, and in any case I want the Label to be Figure.

waste paper with micrsoft word 2013 print report comes with every document printed!

Posted: 17 Aug 2014 10:20 PM PDT

Regards Microsoft word 2013: When ever I print any document I get a print Record that print sheet that gives a report that details what was printed, i.e., Filename, Directory, template, creation date,  who authored, etc. this is info I don't often need! It is wasting considerable paper. How do I turn this feature off or on?

       Thanks, not-a-techie

Missing menu in Open

Posted: 17 Aug 2014 09:13 PM PDT

I am trying to recover a document in Word 2007 after a power surge (repaired version is the same as unsaved version) and am trying to follow suggestions online, which say to use the "files of type" menu to select "recover text from any file."

Having looked at some pictures of this menu I can see that for some reason when I go into "open" I do not have a "files of type" drop down box at all, just file name, all files dropdown, tools, open, cancel. 

Any ideas how I get that menu?? Thanks!

End tag does not match - ERROR - please help!

Posted: 17 Aug 2014 08:25 PM PDT

Hello all,

I have a very important document (my MS thesis!) that has been corrupted.  I downloaded the support package and Tony Jolan's repair but neither one worked.  I am DESPERATE to recover this file.  I believe the error is due to an image within the document but I don't know how to fix it.  PLEASE HELP!!

-Tristan

My Office 2013 is not working!!

Posted: 17 Aug 2014 08:01 PM PDT

Everytime I go to open Office Word 2013 or any other Office program it says 'something's wrong' and that I have to go to Control Panel and repair the program. Which I did and it still didn't work and said it could not do it and say ERROR: something something.

I really need help.

Thank you ,

Kirra

Microsoft Word 2013 Only Printing Some Graphics/Photos

Posted: 17 Aug 2014 07:42 PM PDT

Hi,

I have Windows 8 with Microsoft Word 2013.

I am working on large document with headshot photos of people.

All the photos show on the screen but when I print the document only about 10% of the photos actually print!

Really weird!!

Please help!

Cannot open Microsoft Word, PPT, 2013 etc... without getting "something went wrong" error message

Posted: 17 Aug 2014 07:14 PM PDT

I have Windows 8 and downloaded the new Microsoft Office Professional Plus software a few weeks ago. It has been working great! However, I go to pull up Word documents today and I keep getting the following message:

Something Went Wrong

We couldn't start your program. Please try starting it again.

If it won't restart try repairing Office from "Programs and Features" in the control panel.

I went to my control panel under "programs and features" but I do not see the option to "repair" anything. Can someone that is better at this than me tell me what I need to do?

Thanks!

Word 2007; the normal.dotm is 'corrupt', then change it.

Posted: 17 Aug 2014 06:48 PM PDT

I have a problem in word 2007; the normal.dotm is 'corrupt'.  I search for the file to delete it to no avail.  I would like the original default back and then make a few changes.  Where can I get the default?

Office 365

Posted: 17 Aug 2014 06:33 PM PDT

When I open a new Word 2013 document in Windows 8.1, the menu bar shows a highlighted >FILE< box that I never use, since it doesn't show the ribbon features. How do I disable/bypass the >FILE< box so that a new word document (with ribbon) automatically opens on the >HOME< box? Thanks.

How to reference ENDNOTE multiple times, being linked back accurately?

Posted: 17 Aug 2014 05:04 PM PDT

How do we reference a source at the endnote of our document within Microsoft Words 2003 multiple times?

I already inserted Reference > Footnote, and I also did the Reference > Cross-Reference; everything works fine.

HOWEVER...

The problem is I want the consecutive reference that follows after the first one to a particular endnote...to go directly back to that itself.

For example:

I have reference "i" in the document going to exactly the endnote "i", then I have a second reference "i" later in the document that goes to that same endnote "i."

Doing the cross-reference for the second reference "i," clicking on it goes back to that first reference "i" before it, instead of going to the endnote "i."

While the first reference "i", if you click on it, it conveniently goes to its corresponding endnote "i", unlike the second reference "i" that goes back to first reference "i."

Is there anyway possible I can have the second reference "i" clicking on it goes directly to its "i" endnote at the end, instead of going back to its prior reference "i," (and even for a third or fourth reference "i" to do so)

Last thing, clicking on the endnote "i" goes straight back to the first reference "i", can it go directly back to its last "CLICKED" reference "i" either that its first, second, third, or fourth.

This should seem like something Microsoft should know.

This is giving me a headache for something pure logic should be able to do.

My Word does not work

Posted: 17 Aug 2014 04:31 PM PDT

I have downloaded Office 2013 (several times).  I uninstalled my older version of Office.  I uninstalled Abbey Reader.   When I try to use Word I get this message:  "We're sorry but Word has run into an error that is preventing it from working correctly.  Word will need to be closed as a result (it had never been opened).  Would you like us to repair now?"  There are three options at the bottom...Repair Now, Help, Close.  I click "Repair Now" and nothing happens.  What do I have to do to be able to use Word?  By the way, all the other Office programs work perfectly.