Pages

Search

Microsoft Word - Strange behavior on word form goto command buttons

Microsoft Word - Strange behavior on word form goto command buttons


Strange behavior on word form goto command buttons

Posted: 08 Aug 2014 01:19 PM PDT

I have a Word form (Link to Document) that contains a variety of FORMTEXT fields, and button to update all of the REF fields that are further down in the document. These fields pull selected data from the form fields to display it for different users. The first page of the document contains command buttons for "jumping" to different section of the document (using Selection.goto). This document was originally created in Word 2010, then converted to 2013.

In Word 2010, the document works just as expected, but after opening the document in 2013 and clicking on any one of these buttons, something seems to break. After clicking on one of the "jump" buttons, the cursor moves to the specified section of the document. If I scroll up to the top, all of the other buttons simply become selected when clicked. It is almost as if it is in design mode (although double-clicking does not go to the VBA code). After banging my head into the wall for hours, and doing an exhaustive internet search, I did discover that if I toggle Design Mode on, then off, at this point, any one of the other buttons becomes click-able and jumps the corresponding section as expected, but again, if I scroll up, the buttons are no longer working.

On the same page as the "jump" buttons (in fact, in adjacent cells in a table) are buttons to print the corresponding sections. These buttons work as they always did without needing to toggle design mode. However, if one of the jump buttons is clicked first, then the print buttons become dead.

It should be noted that the button to update the fields works just fine.

Private Sub gotoVicePresident_Click()
Selection.GoTo What:=wdGoToSection, Name:=Sections(3).Index
End Sub
Private Sub gotoAreaController_Click()
Selection.GoTo What:=wdGoToSection, Name:=Sections(4).Index
End Sub
Private Sub gotoProgramDirector_Click()
Selection.GoTo What:=wdGoToSection, Name:=Sections(5).Index
End Sub
Private Sub gotoHumanResources_Click()
Selection.GoTo What:=wdGoToSection, Name:=Sections(6).Index
End Sub
Private Sub gotoQIDA_Click()
Selection.GoTo What:=wdGoToSection, Name:=Sections(7).Index
End Sub
Private Sub gotoLAC_Click()
Selection.GoTo What:=wdGoToSection, Name:=Sections(8).Index
End Sub
Private Sub gotoFinance_Click()
Selection.GoTo What:=wdGoToSection, Name:=Sections(9).Index
End Sub
Private Sub gotoFacilities_Click()
Selection.GoTo What:=wdGoToSection, Name:=Sections(10).Index
End Sub
Private Sub gotoAdvocacy_Click()
Selection.GoTo What:=wdGoToSection, Name:=Sections(11).Index
End Sub
Private Sub gotoDirectorOfPrograms_Click()
Selection.GoTo What:=wdGoToSection, Name:=Sections(12).Index
End Sub
Private Sub gotoCommunications_Click()
Selection.GoTo What:=wdGoToSection, Name:=Sections(13).Index
End Sub
Private Sub gotoTechnology_Click()
Selection.GoTo What:=wdGoToSection, Name:=Sections(14).Index
End Sub
Private Sub printVicePresident_Click()
ActiveDocument.PrintOut Range:=wdPrintRangeOfPages, Copies:=1, Pages:="s3"
End Sub
Private Sub printAreaController_Click()
ActiveDocument.PrintOut Range:=wdPrintRangeOfPages, Copies:=1, Pages:="s4"
End Sub
Private Sub printProgramDirector_Click()
ActiveDocument.PrintOut Range:=wdPrintRangeOfPages, Copies:=1, Pages:="s5"
End Sub
Private Sub printHumanResources_Click()
ActiveDocument.PrintOut Range:=wdPrintRangeOfPages, Copies:=1, Pages:="s6"
End Sub
Private Sub printQIDA_Click()
ActiveDocument.PrintOut Range:=wdPrintRangeOfPages, Copies:=1, Pages:="s7"
End Sub
Private Sub printLAC_Click()
ActiveDocument.PrintOut Range:=wdPrintRangeOfPages, Copies:=1, Pages:="s8"
End Sub
Private Sub printFinance_Click()
ActiveDocument.PrintOut Range:=wdPrintRangeOfPages, Copies:=1, Pages:="s9"
End Sub
Private Sub printFacilities_Click()
ActiveDocument.PrintOut Range:=wdPrintRangeOfPages, Copies:=1, Pages:="s10"
End Sub
Private Sub printAdvocacy_Click()
ActiveDocument.PrintOut Range:=wdPrintRangeOfPages, Copies:=1, Pages:="s11"
End Sub
Private Sub printDirectorOfPrograms_Click()
ActiveDocument.PrintOut Range:=wdPrintRangeOfPages, Copies:=1, Pages:="s12"
End Sub
Private Sub printCommunications_Click()
ActiveDocument.PrintOut Range:=wdPrintRangeOfPages, Copies:=1, Pages:="s13"
End Sub
Private Sub printTechnology_Click()
ActiveDocument.PrintOut Range:=wdPrintRangeOfPages, Copies:=1, Pages:="s14"
End Sub
Private Sub updateFields_Click()
Dim oStory As Range
For Each oStory In ActiveDocument.StoryRanges
oStory.Fields.Update
If oStory.StoryType <> wdMainTextStory Then
While Not (oStory.NextStoryRange Is Nothing)
Set oStory = oStory.NextStoryRange
oStory.Fields.Update
Wend
End If
Next oStory
Set oStory = Nothing
End Sub

If anyone can figure this out, I will be very appreciative.

Thank You,

Matthew Weber

Using both an image and a text box in a quick part?

Posted: 08 Aug 2014 01:00 PM PDT

I'm working on Word creating templates for an organisation. I'm using Office 2007 (although I think it will go onto a system using 2010).

I want to be able to make a quick part that includes both an image and a text box (caption) and that gets inserted at particular co-ordinates on the page. This I can do: I put the elements in a drawing canvas in the right place, saved it as a quick part and, yep, works OK. Except for one thing.

The point is for other users to be able to change my image for their own. Now, if I just make a quick part from a single image, the user can right-click and change it. But put together with a text box, this doesn't seem possible. Is there a way to do it, does anyone know?

MS Word 2010 freeze when I type a linefeed (Enter)

Posted: 08 Aug 2014 12:32 PM PDT

Hi,

There is a problem that have been affecting Word starter in my computer since the last few days:

Whenever I edit a document (existing or new), Word become unresponsive and grayed out every time I type Enter after or before any letters of the text. In others words, when I type only linefeeds or only letters everything is OK, but if one letter is in the text when I type Enter, everything freezes in the next second or so. Also, I can type normally on any line if there are more than one, but Word is going to freeze when I click on another one. Nothing abnormal is happening when automatic linefeed are generated from typing until the end of a line.

The question is, what is happening and how could this be fixed?

Thanks to anyone willing to save my life.

Mat 

Office 2010 Starter Edition

Posted: 08 Aug 2014 11:42 AM PDT

I received a new Hard drive recently from after my old one crashed. I installed MS Office 2007 after installing / setting up my new hard drive not knowing MS 2010 Starter was there.

I find that MS 2010 Starter "interferes" when I am working on Office 2007. can I disable MS 2010 Starter so that I can work solely on MS Office 2007 (which I like and prefer), or, do I have to delete MS 2010 Starter. If I have to delete, can I reinstall OK at a later date. I am frustrated when I am working on an existing 2007 document either Word or Excel the document appears to "switch" over to MS 2010 Starter

Whenever I print a word document the information gets copied to One Note instead of the printer.

Posted: 08 Aug 2014 11:42 AM PDT

Whenever I print a word document the information gets copied to One Note instead of the printer.

Office icon

Posted: 08 Aug 2014 11:30 AM PDT

How do I get the Office icon on my desktop?  I had an Office icon but it always took me to the setup page.  I've used both office and excel so I have the download already.  I can only get to there by selecting an old document and then selecting New.  Thank you, Jess

Envelope prints in like chinese

Posted: 08 Aug 2014 11:00 AM PDT

Don't know if anyone has the answer but on two of my computers the envelope prints like it is in Chinese and one computer prints envelopes perfectly. The have all the exact setting on them. an example is:

K3

a2

r2

l2

z3

eg

ni                                                                                                dfsdfffsff

copy and paste in Word 2013

Posted: 08 Aug 2014 10:46 AM PDT

I recently bought Office 365 2013 and am running Windows 7.   I am unable to copy and paste pictures from email or the Internet into Word 2013.  It will paste the text but not the pictures.  How can I copy and paste pictures?

Office 365 Home Edition Hangs when opening multiple documents quickly on Windows 7

Posted: 08 Aug 2014 10:32 AM PDT

This is specially happening if I have a .doc file opened and if I click on .docx file. The Word just hangs and I have to restart MS WORD 2013 everytime. Please could you help.

Microsoft Word 2010 is saving filenames with the full path as the filename.

Posted: 08 Aug 2014 10:27 AM PDT

Good Afternoon,

When opening a file from a synology cloudstation, after I work on the file and select save, the file name changes to include the computer name. For example if the file was opened from "Favorites\Couldstation\My Documents" and was called "Consoto version1", when I click save, the filename now shows as " Consoto Version 1_Mycomputer-PC_AUG-06-1203-2014_Conflict.docx" (Mycomputer is the generic name of the computer on the domain, Italics was what was added)

Any way I can turn this off? I am thinking it is part of an Autosave feature.

Windows 7 Professional

Office 2010

Intel i3

4GB RAM.

Respectfully,

Vincent

High contrast/ Office compatibility

Posted: 08 Aug 2014 09:22 AM PDT

I just switched to a high contrast theme, love it and really hoping not to look back but Word 2013 appears not to love it so much and won't allow me to change the page or text colour of a document (or at least the changes aren't visible)  It does  change highlight colours, but inverted.  I use Word quite a lot and would prefer to just work on it in high contrast but often need to change and see changes to page and font colour.

Is there a way round this? 

 

Moved from windows XP to Windows 2007 and moved from Office 2003 Professional to Office 2007+ and having printing issues

Posted: 08 Aug 2014 09:20 AM PDT

I keep getting the error code "One or more margins are set outside of the printable area of the page.  Choose the fix button to increase the appropriate margins." when going to print a document.  These documents are not outside of the printable area.  Why am I getting this message and how do I correct it?

Also, I had another document with a boarder around the edge.  I would receive the same message when printing the document in the old version, I chose to ignore it, and it printed just fine.  Now, the boarder only shows up on the top edge, the text is enlarged, and the formats are all askew.  Why does this new version change formats in documents?

The margin issue also is happening in excel.

Styles scrambled in document

Posted: 08 Aug 2014 08:39 AM PDT

I have a large document (~27 MB, ~700 pages) in which several styles (about 7 of them) are used consistently to format text in various parts of the document.

Lately I noticed that text that used to be formatted with StyleA or StyleB in several parts of the document is now formatted with StyleC, even though I made no such change manually, nor have I made any other 'dodgy' changes/edits to the document.

Any idea what might have happened, and is there any way to revert those sections of text to their initial style (A or B)?

Thanks.

Frustrations with Headers & Footers remaining fixed when created

Posted: 08 Aug 2014 08:14 AM PDT

I am an author and have finished my manuscript and formatted it to create a paperback.  I have spent too many wasted hours trying to keep my headers and footers from constantly changing, especially when saving.  For example, when I create the header on an odd page using my name and a different header on an even page using the name of the novel, it works until I put page numbers on the odd and even pages.  Then, my name or the novel name changes to be the same on both odd and even pages.  Sometimes, my page numbers start at the correct odd number, ex. 5, 6, 7, 8, but then they automatically change to 5, 8, 6, 8, 7, 8, 9, 8, etc.  My frustration is that no matter how many times I try to format my pages, I end up with these problems.  I've checked numerous resources, but this issue is not addressed.  Help, please!

Lost Word documents

Posted: 08 Aug 2014 06:46 AM PDT

I'm using W 8.1 Outlook's email and Office 2010.  While attaching 8 saved Word documents to an email they disappeared.  They are no longer listed in my Word folder.  I thought if they had been recovered I would find them by searching for any file ending in .asd.  Nothing found. The only place I find them listed is in the "Recent" list in Word but, when I click to open it the error message reads "file cannot be found".                                                                                          I believe that these 8 documents still exist but have no idea how to retrieve them.   Help please!    

MS Office Word 2003 - Document failed to recover changes

Posted: 08 Aug 2014 06:07 AM PDT

I came into work today to discover the my workstation had been rebooted (most likely a forced reboot to apply security updates, but with no real warning the day before). This always vexes me as it closes everything I had been working on, including updating a document in MS Office Word 2003. Of course this has happened before so I always save every few minutes, generating TMP files, until I eventually close the document.

This time however, when I opened the document I expected to see a "recovery" request, but there was none. The ~name.doc version of the original file and several TMP files are occupying teh documents directory. Is there any way for me to recover my changes...?

Error Code 0x404

Posted: 08 Aug 2014 04:56 AM PDT

I receive this error code when trying to log in to Microsoft Word and it says I have to activate my account. (Also, I don't understand why I have to "activate" my account EVERYTIME I log into Microsoft Word)

Continuous Section Break giving me the wrong page number

Posted: 08 Aug 2014 01:22 AM PDT

Hi,

I work in IT and regularly answer 'How To' questions on MS Office.  We are running Office 2010 and I have also tried this in Word 2013 with the same outcome.

An example scenario is as follows:

  • Page 1
  • Page 2
    • Continuous Section break on page before page break
  • Page 3 (re-numbered to read Page 8)

The issue I am experiencing is that following the continuous section break, the subsequent page number increases by 1 from the one I have selected.  So in order for my document to display page 8 I have to select 'start at page 7' from the page number format dialogue box.   Please see the picture below for an example.

I have replicated this using Windows 7 Office 2010 and Windows 8.1 Office 2013 and I am struggling to believe this is by design, is anyone able to shed any light on this situation?

I eagerly await a response as this has been bugging me for a couple of days now!

Thanks in advance

Chris

Saving to hard drive is slow

Posted: 08 Aug 2014 01:09 AM PDT

I am using Word 365 with Windows 7 and saving a 20-page text to my hard drive is taking up to two minutes! it should be nearly instant. In my case, saving the same document to the network drive is normal (a second or two).  The automatic saves to my hard drive are also excruciatingly slow.  This is a recent problem - in other words, I've been using the same program in the same way on the same computer for quite some time with not such issue.  Any ideas?

[Moderator note: Split from the thread at http://answers.microsoft.com/en-us/office/forum/office_365hp-word/office-365-word-save-as-extremely-slow-on-windows/171479f3-212a-455b-af41-8ff16545fd02]

My laptop has frozen completely

Posted: 08 Aug 2014 01:02 AM PDT

Guys,

I have windows xp,using word 2010.

My laptop has frozen completely while saving all my days work on my thesis which is due in the post Monday. Please help!

The screen is frozen on the word document while the save icon is in the middle of saving the document,no response from curl,alt,delete on the keyboard and mouse pad is also frozen...

How can I recover my paper??

Big thanks in advance..

[Moderator note: Split from the thread at http://answers.microsoft.com/en-us/office/forum/office_2007-word/how-to-recover-unsaved-word-document-computer-shut/7f0da8ff-f497-41a9-a4c6-a713bbff6834]

Office 365 Apps for iPad crashing

Posted: 07 Aug 2014 06:14 PM PDT

Hi,

I have several of the Office 365 apps (Excel, Word and Powerpoint) on my iPad and sign in with my university ID. However since the update on the 1st August, I can't get any of these applications to open. Once I tap which application I'm after it starts to load but crashes before getting to the start screen. I'm afraid to reinstall the apps or reset them, as I haven't had the chance to email my files created in these applications which were only saved to my iPad and I can't afford to lose them. 

Please help me resolve this issue as soon as possible, as not being able to access these applications is affecting my study.

Regards,

Naomi

copy document to new document saving all formats, indents, etc.

Posted: 07 Aug 2014 05:34 PM PDT

How to make additional copies of a 1930 page text document for editing, creativity, etc.  It has no tables, bullets, etc.  When I copy the document using ctrl 'C', it gets altered badly (small font, no breaks, bold lost, indents lost, etc.).  Is there something I'm missing?  Maybe use a different command or shortcut?  I'm not an expert at this. Thank you.

return address in word is printing partially, I print from another computer with the exact same specs and options, it prints fine, not from this computer

Posted: 07 Aug 2014 04:26 PM PDT

I am using Microsoft word for all our mailing needs, since yesterday and for  some weird reason, I can't print the return address on a # 10 white envelope. I only have a partial print. I tried different things, and finally I printed the envelope from a different computer, with all the same specs and with the same printer ( both computers are connected to the same printer), the return address was fine as it should be.

I don't understand what's the reason, is there a fix??