List Randomizer Macro for Word 2010

Way back with Word '97 one of my students wrote a convenient macro for randomizing lists of words.
Briefly, the list was highlighted and the Macro button (or keystrokes) pushed - and the list was nicely randomized.
I do not have this Macro anymore and need a similar one for Office 2010 32 bit (MS Word only).
Note: I am well aware of online randomizers as well as using Excel to randomize a list. However, I wish to eliminate time/energy wasted steps and randomize word lists within Word 2010 itself.
Any suggestions?

One approach is:
Sub Demo()
Dim Rng As Range, i As Long
Dim StrIn As String, StrOut As String, StrTmp As String
Randomize Timer
Set Rng = Selection.Range
StrIn = Rng.Text
StrIn = Trim(StrIn) & " "
While UBound(Split(StrIn, " ")) > 0
  i = UBound(Split(StrIn, " "))
  StrTmp = Split(StrIn, " ")(Rnd(i)) & " "
  StrOut = StrOut & StrTmp
  StrIn = Replace(StrIn, StrTmp, "")
Wend
StrOut = Trim(Trim(StrOut) & " " & StrIn)
Rng.Text = StrOut
Rng.Select
End Sub
The above assumes a list separated by spaces. For lists separated by paragraph breaks or tabs, insert:
StrIn = Replace(StrIn, vbCr, " ")
or:
StrIn = Replace(StrIn, vbTab, " ")
before:
StrIn = Trim(StrIn) & " "
and insert a corresponding:
StrOut = Replace(StrOut, " ", vbCr)
or:
StrIn = Replace(StrOut, " ", vbTab)
before:
Rng.Text = StrOut
Cheers
Paul Edstein
[MS MVP - Word]

Similar Messages

  • WRITE MACRO FOR WORD IN ORACLE FORMS 6I

    Dear All
    I want to know the coding to write a macro for word document to print , when i open the word document using ole2. I am able to open word, insert the header and footer but i want to print the document also. Since I dont want to write the macro in word file because i have lot of files , so whenever the user run the form i just want to take print . Is there any way.
    V.S

    V.S.,
    I suggest you open a Word document and record a macro that prints a document. Then edit the macro and you will see all of the commands that were issued to print the document. Then try to emulate these commands in your OLE calls from Forms.
    I tried searching the internet for a comprehensive list of OLE commands, but never found anything. Through trial and error, I discovered if I open the application and recorded a macro to perform that action I want (in this case - printing a Word document) - I could edit the macro and see the commands used by the application to perform the action. Then base your Form OLE code on the macro. ;-)
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Acrobat pdfmaker com addin for word 2010 crashes when processing large files

    I am trying to use the pdfmaker com addin for word 2010 to create a PDF document. Whenever I try and create the document, the acrobat addin crashes word.
    I attempted to perform this on both an x86 and x64 machine and it failed both times at around the approximately same point (during/immediately after determining the bookmarks).
    The document is large (862 pages, 2425 bookmarks, 311 300dpi graphics, for a total file size of 49.2MiB)
    I can generate the PDF by just printing, but the whole point of using the pdfmaker is so that we don't have to perform 2.5K of manual cross-links.
    Machine information:
    Windows 7 (x64) SP1
    Office 2010 (x64) 14.0.6112.5000
    Acrobat X Pro (x86) 10.1.3
    Crash Report:
    Version=1
    EventType=APPCRASH
    EventTime=129853934132967189
    ReportType=2
    Consent=1
    UploadTime=129853934134215189
    ReportIdentifier=4e4f5b16-c16a-11e1-ae3f-5c260a5c33cf
    IntegratorReportIdentifier=4e4f5b15-c16a-11e1-ae3f-5c260a5c33cf
    Response.BucketId=41559749
    Response.BucketTable=4
    Response.type=4
    Sig[0].Name=Application Name
    Sig[0].Value=WINWORD.EXE
    Sig[1].Name=Application Version
    Sig[1].Value=14.0.6024.1000
    Sig[2].Name=Application Timestamp
    Sig[2].Value=4d83e2f6
    Sig[3].Name=Fault Module Name
    Sig[3].Value=wwlib.dll
    Sig[4].Name=Fault Module Version
    Sig[4].Value=14.0.6024.1000
    Sig[5].Name=Fault Module Timestamp
    Sig[5].Value=4d83e39e
    Sig[6].Name=Exception Code
    Sig[6].Value=c0000005
    Sig[7].Name=Exception Offset
    Sig[7].Value=000000000031b4aa
    DynamicSig[1].Name=OS Version
    DynamicSig[1].Value=6.1.7601.2.1.0.256.48
    DynamicSig[2].Name=Locale ID
    DynamicSig[2].Value=1033
    UI[2]=C:\Program Files\Microsoft Office\Office14\WINWORD.EXE
    UI[3]=Microsoft Word has stopped working
    UI[4]=Windows can check online for a solution to the problem and try to recover your information and restart the program.
    UI[5]=Check online for a solution and restart the program
    UI[6]=Check online for a solution later and close the program
    UI[7]=Close the program
    LoadedModule[0]=C:\Program Files\Microsoft Office\Office14\WINWORD.EXE
    LoadedModule[1]=C:\Windows\SYSTEM32\ntdll.dll
    LoadedModule[2]=C:\Windows\system32\kernel32.dll
    LoadedModule[3]=C:\Windows\system32\KERNELBASE.dll
    LoadedModule[4]=C:\Windows\system32\ADVAPI32.dll
    LoadedModule[5]=C:\Windows\system32\msvcrt.dll
    LoadedModule[6]=C:\Windows\SYSTEM32\sechost.dll
    LoadedModule[7]=C:\Windows\system32\RPCRT4.dll
    LoadedModule[8]=C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161 _none_08e61857a83bc251\MSVCR90.dll
    LoadedModule[9]=C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df _5.82.7601.17514_none_a4d6a923711520a9\Comctl32.dll
    LoadedModule[10]=C:\Windows\system32\GDI32.dll
    LoadedModule[11]=C:\Windows\system32\USER32.dll
    LoadedModule[12]=C:\Windows\system32\LPK.dll
    LoadedModule[13]=C:\Windows\system32\USP10.dll
    LoadedModule[14]=C:\Windows\system32\IMM32.DLL
    LoadedModule[15]=C:\Windows\system32\MSCTF.dll
    LoadedModule[16]=C:\Windows\system32\nvinitx.dll
    LoadedModule[17]=C:\Program Files\NVIDIA Corporation\CoProcManager\_etoured.dll
    LoadedModule[18]=C:\Program Files\NVIDIA Corporation\CoProcManager\nvd3d9wrapx.dll
    LoadedModule[19]=C:\Windows\system32\SETUPAPI.dll
    LoadedModule[20]=C:\Windows\system32\CFGMGR32.dll
    LoadedModule[21]=C:\Windows\system32\OLEAUT32.dll
    LoadedModule[22]=C:\Windows\system32\ole32.dll
    LoadedModule[23]=C:\Windows\system32\DEVOBJ.dll
    LoadedModule[24]=C:\Program Files\NVIDIA Corporation\CoProcManager\nvdxgiwrapx.dll
    LoadedModule[25]=C:\Program Files\Microsoft Office\Office14\wwlib.dll
    LoadedModule[26]=C:\Program Files\Microsoft Office\Office14\gfx.dll
    LoadedModule[27]=C:\Windows\system32\WTSAPI32.dll
    LoadedModule[28]=C:\Windows\system32\MSIMG32.dll
    LoadedModule[29]=C:\Program Files\Microsoft Office\Office14\oart.dll
    LoadedModule[30]=C:\Program Files\Common Files\Microsoft Shared\office14\mso.dll
    LoadedModule[31]=C:\Windows\system32\msi.dll
    LoadedModule[32]=C:\Windows\system32\SHLWAPI.dll
    LoadedModule[33]=C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1d f_6.0.7601.17514_none_fa396087175ac9ac\Comctl32.dll
    LoadedModule[34]=C:\Program Files\Common Files\Microsoft Shared\office14\Cultures\office.odf
    LoadedModule[35]=C:\Windows\system32\VERSION.DLL
    LoadedModule[36]=C:\Windows\system32\uxtheme.dll
    LoadedModule[37]=C:\Windows\system32\dwmapi.dll
    LoadedModule[38]=C:\Windows\system32\CRYPTBASE.dll
    LoadedModule[39]=C:\Windows\system32\CLBCatQ.DLL
    LoadedModule[40]=C:\Program Files\Microsoft Office\Office14\1033\wwintl.dll
    LoadedModule[41]=C:\Program Files\Common Files\Microsoft Shared\office14\1033\MSOINTL.DLL
    LoadedModule[42]=C:\Program Files\Common Files\Microsoft Shared\office14\MSORES.DLL
    LoadedModule[43]=C:\Program Files\Common Files\Microsoft Shared\OFFICE14\MSPTLS.DLL
    LoadedModule[44]=C:\Program Files\Common Files\Microsoft Shared\office14\riched20.dll
    LoadedModule[45]=C:\Windows\system32\mscoree.dll
    LoadedModule[46]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll
    LoadedModule[47]=C:\Program Files\Common Files\Microsoft Shared\OfficeSoftwareProtectionPlatform\OSPPC.DLL
    LoadedModule[48]=C:\Windows\system32\Winspool.DRV
    LoadedModule[49]=C:\Windows\system32\SHELL32.DLL
    LoadedModule[50]=C:\Windows\system32\propsys.dll
    LoadedModule[51]=C:\Windows\system32\ntmarta.dll
    LoadedModule[52]=C:\Windows\system32\WLDAP32.dll
    LoadedModule[53]=C:\Windows\system32\CRYPTSP.dll
    LoadedModule[54]=C:\Windows\system32\rsaenh.dll
    LoadedModule[55]=C:\Windows\system32\RpcRtRemote.dll
    LoadedModule[56]=C:\Windows\System32\msxml6.dll
    LoadedModule[57]=C:\Windows\system32\profapi.dll
    LoadedModule[58]=C:\Windows\system32\SXS.DLL
    LoadedModule[59]=C:\Windows\Microsoft.NET\Framework64\v2.0.50727\mscorwks.dll
    LoadedModule[60]=C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.619 5_none_88e41e092fab0294\MSVCR80.dll
    LoadedModule[61]=C:\Windows\assembly\NativeImages_v2.0.50727_64\mscorlib\f73f0a9c9a83dcd3f f428be509a7992f\mscorlib.ni.dll
    LoadedModule[62]=C:\Windows\Microsoft.NET\Framework64\v2.0.50727\mscorsec.dll
    LoadedModule[63]=C:\Windows\system32\WINTRUST.dll
    LoadedModule[64]=C:\Windows\system32\CRYPT32.dll
    LoadedModule[65]=C:\Windows\system32\MSASN1.dll
    LoadedModule[66]=C:\Windows\system32\imagehlp.dll
    LoadedModule[67]=C:\Windows\system32\ncrypt.dll
    LoadedModule[68]=C:\Windows\system32\bcrypt.dll
    LoadedModule[69]=C:\Windows\system32\bcryptprimitives.dll
    LoadedModule[70]=C:\Windows\system32\USERENV.dll
    LoadedModule[71]=C:\Windows\system32\GPAPI.dll
    LoadedModule[72]=C:\Windows\system32\cryptnet.dll
    LoadedModule[73]=C:\Windows\system32\SensApi.dll
    LoadedModule[74]=C:\Program Files\Microsoft Mathematics Add-in\2.0\Word\Microsoft.Education.Word.MathExtension.dll
    LoadedModule[75]=C:\Windows\assembly\GAC\Extensibility\7.0.3300.0__b03f5f7f11d50a3a\Extens ibility.dll
    LoadedModule[76]=C:\Windows\assembly\GAC_MSIL\office\14.0.0.0__71e9bce111e9429c\office.dll
    LoadedModule[77]=C:\Windows\Microsoft.NET\Framework64\v2.0.50727\mscorjit.dll
    LoadedModule[78]=C:\Program Files\Microsoft Mathematics Add-in\2.0\Word\Microsoft.Education.Mathematics.Common.dll
    LoadedModule[79]=C:\Windows\assembly\NativeImages_v2.0.50727_64\System\c40ec0f4cd203c88029 8f94c0427dd54\System.ni.dll
    LoadedModule[80]=C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Drawing\222eb8aa336 953a6b0216db2b0c4770d\System.Drawing.ni.dll
    LoadedModule[81]=C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Windows.Forms\dc5bb 74eefdbf954cdfb70dd534d5564\System.Windows.Forms.ni.dll
    LoadedModule[82]=C:\Windows\assembly\GAC_MSIL\Microsoft.Office.Interop.Word\14.0.0.0__71e9 bce111e9429c\Microsoft.Office.Interop.Word.dll
    LoadedModule[83]=C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Configuration\193d0 3ca60573c92f92d9b07fa5bc243\System.Configuration.ni.dll
    LoadedModule[84]=C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Xml\24d1b7ccbedaa36 02bae6a6acea9929e\System.Xml.ni.dll
    LoadedModule[85]=C:\Program Files\Microsoft Mathematics Add-in\2.0\Word\MathControls.dll
    LoadedModule[86]=C:\Program Files\Microsoft Mathematics Add-in\2.0\Word\MathEngine.dll
    LoadedModule[87]=C:\Program Files\Microsoft Mathematics Add-in\2.0\Shared\sqmapi.dll
    LoadedModule[88]=C:\Windows\system32\shfolder.dll
    LoadedModule[89]=C:\Program Files\Microsoft Mathematics Add-in\2.0\Shared\MathRichEditNative.Dll
    LoadedModule[90]=C:\Program Files\Microsoft Mathematics Add-in\2.0\Shared\mathenginen.dll
    LoadedModule[91]=C:\Program Files\Microsoft Mathematics Add-in\2.0\Word\MathResources.dll
    LoadedModule[92]=c:\Program Files\Common Files\Microsoft Shared\VSTO\vstoee.dll
    LoadedModule[93]=C:\Windows\system32\urlmon.dll
    LoadedModule[94]=C:\Windows\system32\iertutil.dll
    LoadedModule[95]=C:\Windows\system32\WININET.dll
    LoadedModule[96]=C:\Windows\system32\Normaliz.dll
    LoadedModule[97]=c:\Program Files\Common Files\Microsoft Shared\VSTO\10.0\VSTOLoader.dll
    LoadedModule[98]=C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.616 1_none_08e61857a83bc251\MSVCP90.dll
    LoadedModule[99]=C:\Windows\system32\oledlg.dll
    LoadedModule[100]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
    LoadedModule[101]=C:\Windows\system32\MSVCR110_CLR0400.dll
    LoadedModule[102]=C:\Windows\assembly\NativeImages_v4.0.30319_64\mscorlib\ec4aeb1a93320223 07604cba8284778b\mscorlib.ni.dll
    LoadedModule[103]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System\52974bd8d9753cf71a 27181621dcf4eb\System.ni.dll
    LoadedModule[104]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Core\a4252f50e54a5 d2987e41709da9a117a\System.Core.ni.dll
    LoadedModule[105]=C:\Windows\assembly\NativeImages_v4.0.30319_64\Microsoft.V28a60cc2#\f165 482199ea49be235ec53ad93e6889\Microsoft.VisualStudio.Tools.Office.Runtime.ni.dll
    LoadedModule[106]=C:\Windows\assembly\NativeImages_v4.0.30319_64\Microsoft.O5949707a#\6d99 2851fc846eac2e388d2348711376\Microsoft.Office.Tools.ni.dll
    LoadedModule[107]=C:\Windows\assembly\NativeImages_v4.0.30319_64\Microsoft.V883708cb#\bc02 fe4c18b7e176e9bee4c72ff4cb32\Microsoft.VisualStudio.Tools.Applications.Runtime.ni.dll
    LoadedModule[108]=C:\Windows\assembly\NativeImages_v4.0.30319_64\Microsoft.V1955d7fd#\cc04 39da7e5347e89d6586ce262c1f69\Microsoft.VisualStudio.Tools.Applications.ServerDocument.ni.d ll
    LoadedModule[109]=C:\Windows\assembly\NativeImages_v4.0.30319_64\Microsoft.Vf9a08577#\86f6 f20538156d2008fff97542e09765\Microsoft.VisualStudio.Tools.Applications.Hosting.ni.dll
    LoadedModule[110]=C:\Windows\system32\Secur32.dll
    LoadedModule[111]=C:\Windows\system32\SSPICLI.DLL
    LoadedModule[112]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Drawing\1204d7ae7e 0e637669e244a02b97983b\System.Drawing.ni.dll
    LoadedModule[113]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Windows.Forms\d7d8 56d242ddc80d696aa425195e5252\System.Windows.Forms.ni.dll
    LoadedModule[114]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\nlssorting.dll
    LoadedModule[115]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Deployment\475303e 370c565f47cd7d159485f24d9\System.Deployment.ni.dll
    LoadedModule[116]=C:\Windows\system32\dfshim.dll
    LoadedModule[117]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Configuration\0523 c17527d811bdc9606a0c62145f3d\System.Configuration.ni.dll
    LoadedModule[118]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Xml\771d4e20776373 ee95d2058b4d3f20a8\System.Xml.ni.dll
    LoadedModule[119]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Security\819aca5f3 26d35ce5f478c20366d0f5c\System.Security.ni.dll
    LoadedModule[120]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Xml.Linq\76b84571f 4497227f40c72e246939ac0\System.Xml.Linq.ni.dll
    LoadedModule[121]=C:\Windows\assembly\NativeImages_v4.0.30319_64\Microsoft.Oab3f8ec6#\0a3a f5db2975c482e98e96c99bb938af\Microsoft.Office.Tools.Word.Implementation.ni.dll
    LoadedModule[122]=C:\Windows\assembly\NativeImages_v4.0.30319_64\Microsoft.O4a946565#\a550 db8b700051717681470a0b2b07d3\Microsoft.Office.Tools.Common.Implementation.ni.dll
    LoadedModule[123]=C:\Windows\assembly\NativeImages_v4.0.30319_64\Microsoft.O854200f9#\a3df 0bec1a202ce176b839f788d40f44\Microsoft.Office.Tools.Common.ni.dll
    LoadedModule[124]=C:\Windows\assembly\NativeImages_v4.0.30319_64\Microsoft.Oeab01fba#\9d47 6070258253869ff6ca2201f33b54\Microsoft.Office.Tools.Word.ni.dll
    LoadedModule[125]=C:\Windows\assembly\NativeImages_v4.0.30319_64\Microsoft.O2eb0cc9a#\3994 dd35eb969eb2221f1886598f08cc\Microsoft.Office.Tools.v4.0.Framework.ni.dll
    LoadedModule[126]=C:\Users\kking\AppData\Local\assembly\dl3\D5O6KVBP.4TZ\YDKV3YJ1.QPK\2fd1 b7b3\d265be4b_e524cd01\PCREFindAddIn.DLL
    LoadedModule[127]=C:\Users\kking\AppData\Local\assembly\dl3\D5O6KVBP.4TZ\YDKV3YJ1.QPK\21e1 fe8e\00b3e430_67b7cb01\Microsoft.Office.Tools.Common.v4.0.Utilities.DLL
    LoadedModule[128]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clrjit.dll
    LoadedModule[129]=C:\Program Files (x86)\Adobe\Acrobat 10.0\PDFMaker\Office\x64\PDFMOfficeAddin.dll
    LoadedModule[130]=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Visual Studio Tools for Office\x64\VSTOWordAdaptor.dll
    LoadedModule[131]=C:\Windows\system32\MSVCR100.dll
    LoadedModule[132]=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Visual Studio Tools for Office\x64\VSTOWordAdaptor.dll
    LoadedModule[133]=C:\Windows\system32\MSVCR110.dll
    LoadedModule[134]=C:\Program Files\Common Files\Microsoft Shared\OFFICE14\USP10.DLL
    LoadedModule[135]=C:\PROGRA~1\COMMON~1\MICROS~1\VBA\VBA7\VBE7.DLL
    LoadedModule[136]=C:\PROGRA~1\COMMON~1\MICROS~1\VBA\VBA7\1033\VBE7INTL.DLL
    LoadedModule[137]=C:\Windows\assembly\NativeImages_v2.0.50727_64\stdole\be0906e176cf1f8ed8 1084df7042ee1c\stdole.ni.dll
    LoadedModule[138]=C:\Windows\system32\explorerframe.dll
    LoadedModule[139]=C:\Windows\system32\DUser.dll
    LoadedModule[140]=C:\Windows\system32\DUI70.dll
    LoadedModule[141]=C:\Windows\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7 601.17825_none_2b253c8271ec7765\GdiPlus.dll
    LoadedModule[142]=C:\Program Files\Microsoft Office\Office14\msproof7.dll
    LoadedModule[143]=C:\Program Files\Microsoft Office\Office14\MSOHEV.DLL
    LoadedModule[144]=C:\Program Files\Microsoft Office\OFFICE14\PROOF\1033\MSGR3EN.DLL
    LoadedModule[145]=C:\Windows\system32\MPR.dll
    LoadedModule[146]=C:\Windows\System32\drprov.dll
    LoadedModule[147]=C:\Windows\System32\WINSTA.dll
    LoadedModule[148]=C:\Windows\System32\ntlanman.dll
    LoadedModule[149]=C:\Windows\System32\davclnt.dll
    LoadedModule[150]=C:\Windows\System32\DAVHLPR.dll
    LoadedModule[151]=C:\Windows\system32\wkscli.dll
    LoadedModule[152]=C:\Windows\system32\cscapi.dll
    LoadedModule[153]=C:\Windows\system32\netutils.dll
    LoadedModule[154]=C:\Windows\system32\SFC.DLL
    LoadedModule[155]=C:\Windows\system32\sfc_os.DLL
    LoadedModule[156]=C:\Program Files\Common Files\Microsoft Shared\OFFICE14\Csi.dll
    LoadedModule[157]=C:\Windows\system32\WINHTTP.dll
    LoadedModule[158]=C:\Windows\system32\webio.dll
    LoadedModule[159]=C:\Windows\system32\PSAPI.DLL
    LoadedModule[160]=C:\Windows\system32\WS2_32.dll
    LoadedModule[161]=C:\Windows\system32\NSI.dll
    LoadedModule[162]=C:\Windows\System32\netprofm.dll
    LoadedModule[163]=C:\Windows\System32\nlaapi.dll
    LoadedModule[164]=C:\Windows\system32\srvcli.dll
    LoadedModule[165]=C:\Windows\System32\npmproxy.dll
    LoadedModule[166]=C:\Windows\system32\HLINK.DLL
    LoadedModule[167]=C:\Windows\system32\WindowsCodecs.dll
    LoadedModule[168]=C:\Windows\system32\WINMM.dll
    LoadedModule[169]=C:\Program Files\Microsoft Office\OFFICE14\PROOF\MSSP7EN.DLL
    LoadedModule[170]=C:\Program Files\Microsoft Office\Office14\mscss7en.dll
    LoadedModule[171]=C:\Program Files\Microsoft Office\Office14\css7Data0009.dll
    LoadedModule[172]=C:\Program Files (x86)\Adobe\Acrobat 10.0\PDFMaker\Office\x64\PDFMWord.dll
    LoadedModule[173]=C:\PROGRA~2\Adobe\ACROBA~1.0\PDFMaker\Common\X64\ADOBEP~1.DLL
    LoadedModule[174]=C:\Windows\system32\COMDLG32.dll
    LoadedModule[175]=C:\Program Files\Common Files\microsoft shared\ink\tiptsf.dll
    LoadedModule[176]=C:\Windows\system32\apphelp.dll
    LoadedModule[177]=C:\Windows\system32\NetworkExplorer.dll
    LoadedModule[178]=C:\Windows\system32\EhStorShell.dll
    LoadedModule[179]=C:\Program Files (x86)\Google\Drive\googledrivesync64.dll
    LoadedModule[180]=C:\PROGRA~1\MICROS~1\Office14\GROOVEEX.DLL
    LoadedModule[181]=C:\Windows\WinSxS\amd64_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.61 61_none_0a1fd3a3a768b895\ATL90.DLL
    LoadedModule[182]=C:\PROGRA~1\MICROS~1\Office14\1033\GrooveIntlResource.dll
    LoadedModule[183]=C:\Windows\System32\cscui.dll
    LoadedModule[184]=C:\Windows\System32\CSCDLL.dll
    LoadedModule[185]=C:\Windows\system32\ntshrui.dll
    LoadedModule[186]=C:\Windows\system32\slc.dll
    LoadedModule[187]=C:\Windows\System32\StructuredQuery.dll
    LoadedModule[188]=C:\Windows\system32\actxprxy.dll
    LoadedModule[189]=C:\Program Files\Internet Explorer\ieproxy.dll
    LoadedModule[190]=C:\Windows\system32\thumbcache.dll
    LoadedModule[191]=C:\Windows\system32\SHDOCVW.dll
    LoadedModule[192]=C:\Windows\system32\ieframe.DLL
    LoadedModule[193]=C:\Windows\system32\OLEACC.dll
    LoadedModule[194]=C:\Windows\system32\SearchFolder.dll
    LoadedModule[195]=C:\Windows\System32\cscobj.dll
    LoadedModule[196]=C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\x64\ACE.DLL
    LoadedModule[197]=C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\x64\AGM.DLL
    LoadedModule[198]=C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\x64\BIB.DLL
    LoadedModule[199]=C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\x64\BIBUtils.DLL
    LoadedModule[200]=C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\x64\Cooltype.DLL
    LoadedModule[201]=C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\x64\JP2KLib.DLL
    LoadedModule[202]=C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\x64\ARE.DLL
    LoadedModule[203]=C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\x64\AdobePDFL.dll
    LoadedModule[204]=C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\x64\AdobeXMP.dll
    LoadedModule[205]=C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\x64\AXE8SharedExpat.dll
    LoadedModule[206]=C:\Program Files (x86)\Adobe\Acrobat 10.0\PDFMaker\Office\x64\PDFMEngine.dll
    LoadedModule[207]=C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\x64\pdfsettings.dll
    LoadedModule[208]=C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\x64\MPS.dll
    LoadedModule[209]=C:\Program Files (x86)\Adobe\Acrobat 10.0\PDFMaker\Office\x64\PDFPort.dll
    Sec[0].Key=LCID
    Sec[0].Value=1033
    Sec[1].Key=skulcid
    Sec[1].Value=1033
    State[0].Key=Transport.DoneStage1
    State[0].Value=1
    State[1].Key=DataRequest
    State[1].Value=Bucket=41559749/nBucketTable=4/nResponse=1/n
    FriendlyEventName=Stopped working
    ConsentKey=APPCRASH
    AppName=Microsoft Word
    AppPath=C:\Program Files\Microsoft Office\Office14\WINWORD.EXE

    I recently ran into this with a bitmap in a 265 page document. I copied the bitmap to IrfanView and then back (I think that was the step -- I am already forgetting) and the copied it back. The problem went away. My student may look a bit more at the file -- I asked so I could give a more definitive comment here.
    The result I had suggests that it is a problem in WORD or the bitmap that WORD was using. Why WORD can deal with it and not Acrobat, I am not sure. However, when printing to the Adobe PDF printer there was not a problem, just with PDF Maker.

  • Table Context Menu for Word 2010

    I want to create a context menu for Word 2010. I'm using the code below, that works fine if I'm entering text, but menu doesn't show when entering text inside a table cell.
    I tried also the following contextMenu idMso: ContextMenuTable, ContextMenuTableCell, ContextMenuTableCellWhole, and ContextMenuTableCellWholeLinked; but still doesn't work.
    What am I doing wrong? Thanks.
    XML:
    <contextMenus>
    <contextMenu idMso="ContextMenuText">
    <menuSeparator id="CMenuSeparator1" />
    button id="BtnCMenu1" label="Block Text" imageMso="TextToolMenu" visible="true" onAction="StyleBlockText" />
    </contextMenu>
    </contextMenus>
    VBA:
    Sub StyleBlockText(control As IRibbonControl)
    Selection.Style = ActiveDocument.Styles("My Style")
    End Sub

    Hi,
    This is the forum to discuss questions and feedback for Microsoft Office, you'd better post your question to the MSDN forum for Word
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=worddev&filter=alltypes&sort=lastpostdesc
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support

  • Adobe PDF maker add-in for Word 2010 adding strange numbers to headings

    Hi everyone,
    I used the Adobe PDF maker add-in for Word 2010 to export a Word document to pdf. After saving the pdf, I noticed that the headings that are displayed in the navigaton pane now contain strange numbers, eg.
    1.1 14BSecond level heading
    1.2 15BSecond level heading
    The above should be:
    1.1 Second level heading
    1.2 Second level heading
    It's doing this for all second level headings in the document and when I save as a pdf file, these numbers are showing in the pdf bookmarks.
    Does anyone know if this is a known bug with the pdf add-in and if yes, if there's any way to remove the numbers?
    Thanks in advance.

    I am experiencing a somewhat similar problem. In my case the unwanted numbers are being prepended to the running headers at the tops of the pages.
    So for example, I have some Heading 1 text that says Verifying the Required Account Settings. But in the running header, this shows as 11BVerifying the Required Account Settings.
    Unlike the original poster, the 11B does not appear in the text itself - only in the PDF generated by Acrobat's PDF Maker.
    This occurs with this document when output from either Word 2007 or Word 2010 and Acrobat X.
    Any suggested fixes?    ...pt

  • How to remove macros from word 2010 documents?

    I have some .dot files that I'm using as templates for a while.
    They used to have Macros to do some stuff and I started to replace those macros with Add-ins.
    What happens is that the macro menus are still there. I tried to remove the macros (using alt+f8 and even alt+f11) but the custom menus are still there! How do I exactly remove those macros and menus from my .dot files?
    I am using Microsoft Word 2010.

    In addition to what Stefan replied you can also check the attached templates by taking the following steps:
    goto File - Options - Add ins - (Below) Manage : choose templates - in the next dialog click on the template and click remove.
    Maurice

  • Taskbar Jumplist anomalies for Word 2010 and Excel 2010

    I am having problems with missing jumplists for Office 2010 products (Word and Excel) pinned on the Windows 7 taskbar, **BUT** have no problems with jumplists for Notepad and IE pinned on the taskbar.
    Observation 1: I just upgraded from Office 2010 Starter to full Office 2010 by getting a product key. Full Office 2010 was installed on my laptop when I purchased it but only Starter was licensed. Full Office 2010 was unusable until the upgrade. I suspect
    the leapfrog from Starter to full Office 2010 might have a part in this jumplist issue.
    Observation 2: I can see from a DOS prompt that the AutomaticDestinations and CustomDestinations folders exist under Recent. However, from Windows Explorer I cannot see the 2 folders under Recent. (That may be a clue…if other people CAN see the 2 folders
    from Windows Explorer.)
    Observation 3: In DOS, I can see that both directories have files ending in -ms. I can also see updates (new files with fresh timestamps) from opening Word and Excel files in those 2 directories. It’s almost like Word and Excel don’t understand to go look
    in those 2 directories after the Office upgrade, even though Windows 7 (?) generates the -ms files for the jumplist function.
    Observation 4: Again, no problems with Notepad and IE jumplists. I can remove the files from the AutomaticDestinations folder and cause Notepad to have no jumplist items, and then restore them and Notepad has jumplist contents again.
    Observation 5:  I had no problem using jumplists with Word Starter and Excel Starter.  All references to Office/Word/Excel Starter are now gone from the Starter button and All Programs - sent to Recycle bin.  I deleted the Word Starter
    and Excel Starter entries when I upgraded, but I just deleted the Microsoft Office Starter (Englisgh) entry under All Programs today...I thought it was a benign entry and wouldn't hurt since I wasn't using it.  Maybe there's some corruption in registry
    as a result of the mixture.  Interestingly, I can drag a file created in Word Starter to the taskbar and it will try to pin it to the Word Starter taskbar "ghost" that's in the Recycle bin.
    Any clues anyone?  I have no large files in the two destination folders, and have only about 20 files total in each folder...far fewer than the 999 threshhold mentioned in one of the updates for Office 2010.
    Thank you!

    I encountered exactly the same problem, and under exactly the same circumstances as the original poster (upgraded from Office Starter to Home and Business; jump lists worked fine in Starter, then stopped working for Excel and Word after upgrading). 
    Like the original poster, none of the various fixes found online corrected the problem, nor did re-installing Office.
    I also tried what was suggested by Max Meng and created a new User Account. The problem occurred for the new account, just as it did with the old one.
    After about 6 hours of fighting, I have finally solved the problem.  The solution is not easy, fast or pretty.
    What I did was uninstall Office (again) using the Control Panel. Then I ran a FixIt utility found here:
    http://support.microsoft.com/kb/290301 (method 2)
    My hope was that this would do additional registry clean-up.  I knew from earlier attempts that this alone would not fix the problem, though.
    Despite uninstalling twice, there were still a lot of references left in the registry to "Word Starter" and "Excel Starter".  Likewise, there were still references to "WINWORDC.EXE" and "EXCELC.EXE", which are the starter versions of the executables.
    So I went through the registry using RegEdit, and manually deleted every key which included those strings.  The largest number of cases were file type definitions for various Word and Excel file extensions.  When in doubt, I deleted entire tag
    hierarchies for Word and Office file types, figuring that they would be restored when I reinstalled Office.  In the process, I removed pretty much every reference to Word or Excel that I could find in the registry.
    I also deleted any directory on my hard drive (in c:\Program Files(x86), c:\Program Data, and c:\Users\<name>\AppData which appeared to be related to Office.
    Having done this, I reinstalled again, and the jump lists for Word and Excel now work.
    In debugging the problem, I found that .automaticDestination-ms files (which contain the data behind the jump lists) were not being created when I opened Word or Excel documents; they *were* being created when I manually pinned individual files to the
    taskbar, however. 
    I suspect that this might be due to the long hexadecimal filename being based on a hash of the application name, or what the system thinks is the application name based on the file type.  Removing the references to "Word Starter" and "Excel Starter",
    and the corresponding WINWORDC.EXE and EXCELC.EXE in the registry might have cleared up this problem.
    Obviously this fix is potentially risky, and should only be attempted if you are comfortable editing the registry. Making a full system backup beforehand would be a wise precaution.  For this specific case, however (broken jump lists after
    upgrading from Starter to full Office) it would appear the only alternative is a clean install of Windows (to wipe the registry completely).

  • Wait macro in Word 2010

    I must be missing something really simple.  I am just trying to create a Word 2010 Macro that waits for a specified number of seconds before continuing. However I can't see how to do that in Word.  The VBA Command: Application.Wait does not seem
    to exist in Word.  Any hints?

    You could use the following procedure:
    Sub Wait(n As Long)
    Dim t As Date
    t = Now
    Do
    DoEvents
    Loop Until Now >= DateAdd("s", n, t)
    End Sub
    Call like this to wait for 10 seconds:
    Wait 10
    or
    Call Wait(10)
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Outlook: "Send Immediately when connected" not working for Word 2010

    When i disable the option in Outlook "Send Immediately when connected" the messages are placed in the Outbox until i send them manually.
    But when i want to send a Word 2010 document from within Word 2010 by E-Mail the message is send immediately.
    Is it possible to place the message/document in the Outbox just like with Outlook?
    Thnx in advance.

    Hi,
    I cannot reproduce this problem in my environment. When I send a Word document by clicking File > Save & Send > Send as Attachment, it just go to the Outbox like the common message.
    Does this issue happen to all Word documents at any time?
    What's the send/receive interval you set in your Outlook? It could still occur that your message will be sent near instantly when you send a message right before the automatic send/receive interval takes place.
    For more information, please refer:
    http://www.msoutlook.info/question/181
    Regards,
    Steve Fan
    TechNet Community Support

  • *.docm CANNOT USE MACROS IN WORD 2010

    Hello everyone
    This is my first post in this community, so if there's anything that is not correct admins please feel free to move the post to where it should be :)
    So I work at an office and there are a lot of users. There is a department in the office which works on files with macros (usually with word, forms with check, radio, text boxes)
    The thing is that when all of the users in the dept. can edit the file and select the buttons, only ONE user cannot use the file. All the macros are disabled or not working...
    Usually when working on a macro document, Word should pop up a security notification and a "Enable content" button, but it's not coming up when opening it from the computer in question.
    Can I have assistance on this? Thanks in advance :)

    Hi,
    Did you check the options in Word on this particular computer? It could be that on this pc the
    message bar has been disabled.
    So have a look at the following settings:
    File - Options - Trust
    Center - Trust Center Settings
    On the next dialog check the settings on [Macro Settings] and on [Message Bar]Compare those settings with a machine where the macro document is working.
    Maurice
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. Thank You

  • Word 2013 Incompatibility with Chart Labels for Word 2010

    I'm having an issue with Microsoft Word 2013 charts. I can create a chart with labels such as Category Name, Value, and Percentage. When I send the chart to anyone with 2013, the values come up ok. 
    However, when someone with Word 2010 opens up the charts, instead of the Category Name, it says [Category Name], [Value], and [Percentage]. The person then has to click Reset Label Values to have the labels come up correctly.
    Is there any way to fix this? I tried saving the document as a .doc, but Word 2007 is not able to pull up the labels properly either.
    Thanks! 

    Hi,
    Does this occur to every chart? Or only with some particular charts?
    You can share one same with us if possible, you can upload it to OneDrive and provide the link of the file:
    https://onedrive.live.com/
    To protect your privacy, don't put any private or sensitive information in the file.
    I'm not sure but you can try repairing Office from Control Panel -> Programs and Features to check the result.
    Regards,
    Melon Chen
    TechNet Community Support

  • Executing a macro (for WORD)

    Hi everyone,
    I created a macro in Word.
    Now I am calling it successfuly from ABAP using i_oi_document_proxy->execute_macro.
    Is there a way to pass a parameter from ABAP to the macro ?
    Thanks in advance.

    HI
    GOOD
    GO THROUGH THIS CODE , I HOPE YOU WILL GET SOME HELP YOU SOLVE YOUR PROBLEM.
                          EXAMPLE                      *
    REPORT ZVALDATE . 
      Data: v_date(8).
      V_date = '20030102'.
    VAL_DATE <DATE> <FORMAT>  <-- Passing Parameters
      val_date v_date 'YYYYMMDD'.
      if sy-subrc = 0.
        write: 'Valid Date' .
      elseif sy-subrc = 1.
        write: 'Invalid Date' .
      elseif sy-subrc = 2.
        write: 'Invalid Date Format' .
      endif.
                      END OF REPORT                    *
    To use the macro "VAL_DATE" GLOBALLY, Insert the  *
    below 2 macros in table TRMAC using Txn SM30.     *
    Sytax :                                            *
    VAL_DATA <Date> <Date format>.                     *
    It return sy-subrc.                                *
          0 => Valid date - as per the specified format*
          1 => Invalid date                            *
          2 => Invalid date format                     *
    <Date format> :                                    *
    You can pass the following date formats            *
    DDMMYYYY  MMDDYYYY  YYYYMMDD  YYYYDDMM             *
                  Macro    VAL-DATE                    *
    This macro validate Date according to the specified*
    format.                                            *
               Created by Abhishek Kumar               *
               [email protected]                        * 
    define val-dat.
      clear: %_date1, %_date2.
      %_date1(4)   = &1. "Year
      %_date1+4(2) = &2. "Month
      %_date1+6(2) = &3. "Date
      %_date2 = %_date1 - 1.
      %_date2 = %_date2 + 1.
      if %_date1 <> %_date2.
        sy-subrc = 1.
      else.
        sy-subrc = 0.
      endif.
    end-of-definition.
                  Macro    VAL_DATE                    *
               Created by Abhishek Kumar               *
               [email protected]                        *
    define val_date.
      data %_date1 like sy-datum.
      data  %_date2 like sy-datum.
      data %_date3(8).
      case &2.
        when 'DDMMYYYY'.
          val-date &14(4) &12(2) &1+0(2).
        when 'MMDDYYYY'.
          val-date &14(4) &10(2) &1+2(2).
        when 'YYYYMMDD'.
          val-date &10(4) &14(2) &1+6(2).
        when 'MMYYYYDD'.
          val-date &12(4) &10(2) &1+6(2).
        when others.
          sy-subrc =  2.
      endcase.
    end-of-definition.
    THANKS
    MRUTYUN

  • VB UI builder, RAD, CASE Wizard for creating macro for Excel 2010?

    Hello, I wonder if it is available a: rad, case, UI, framework, application wizard that using VBA as its engine may easy the process to create a macro excel 2010; here the link: https://www.dropbox.com/s/62r5wwgf0ziy5ht/sheet.xlsm to the sheet for an example
    of what I mean. It is not about a macro recorder task; it is not interactive. Thank you.
    Regards, Giuseppe

    Thank you for your interest, this is another link for the same file: http://www.adrive.com/public/rBdrRn/sheet.xlsm
    Regards,
    Giuseppe

  • Macros for Word

    Hi,
    I need to split the number of bits in Word. For example, 1000000 => 1 000 000, 00. I don't found standart feature. But i found this code:     
     Dim SelectionStart As Long
      Dim SelectionEnd As Long
      SelectionStart = Selection.Start
      SelectionEnd = Selection.End
      Selection.EndKey wdStory, wdMove
      With Selection.Find
        .Text = "[0-9]{4;}"
        .MatchWildcards = True
        .Forward = False
        While .Execute
          If Not .Parent.Previous Is Nothing Then
            If .Parent.Previous.Text <> "," Then
              .Parent.Text = FormatNumber(CDbl(.Parent.Text), 2, GroupDigits:=vbTrue)
              Selection.Collapse wdCollapseStart
            End If
          Else
            .Parent.Text = FormatNumber(CDbl(.Parent.Text), 2, GroupDigits:=vbTrue)
          End If
        Wend
          Selection.SetRange SelectionStart, SelectionEnd
    It's not bad. And I also want to add to this code at the bottom: "ActiveDocument.SaveAs" - no problem.
    Then, i enter my number, click on the button, which contain this code, number has transformed. SaveDialog has also opend, then click "save" and have  "Run-time error: 4198. Command error".Then click "Debug", file closed
    and appear on my Desktop. 
    Can you tell me,  what is cuase of this problem, how to hide this Error???
    Thank you for reply :)

    The following works fine for me:
    Sub Demo()
    Application.ScreenUpdating = False
    Dim StrPath As String
    StrPath = "C:\Users\" & Environ("Username") & "\Documents\"
    With ActiveDocument
      With .Range
        With .Find
          .ClearFormatting
          .Replacement.ClearFormatting
          .Text = "<[0-9]{4;}>"
          .Replacement.Text = ""
          .Forward = True
          .Wrap = wdFindStop
          .Format = False
          .MatchWildcards = True
          .Execute
        End With
        Do While .Find.Found
          .Text = Replace(Format(.Text, "#,##0"), ",", " ") & ",00"
          .Collapse wdCollapseEnd
          .Find.Execute
        Loop
      End With
      .SaveAs FileName:=StrPath & "MyFile.docx", FileFormat:=wdFormatXMLDocument
    End With
    Application.ScreenUpdating = True
    End Sub
    The new file's name is 'MyFile.docx'.
    Cheers
    Paul Edstein
    [MS MVP - Word]

  • Microsoft Word 2010 Hiding/Removing the Navigation Pane for Roaming Profiles

    Hello all,
       I am attempting to do what the title says.  We are using Citrix Profile Manager...basically roaming profiles and when updating the Office version to 2010,  users are displayed the Navigation Pane.  If the NavPane is closed,
    when they reopen their Citrix session it is back to default displaying the NavPane.  Any help on getting this removed would be greatly appreciated.
    I have so far attempted to create a macro Normal.dotm and works partially, however it is not consistent as each time it appears that the modified Normal.dotm becomes overwritten with a default one.  I have also added this modified Normal.dotm to the
    Default user profile locally on the server...to which it does not seem to pull.
    Update: 
    I am currently looking to see on how to redirect the Normal.dotm away from %appdata%\microsoft\templates to a central location and have this applied to all users either user GPO or a per machine setup....but can't find anything specifically for Word 2010
    configuration.  Any help on this would also be beneficial.

    Regarding the Navigation Pane.  The setting for displaying it is indeed in the Windows Registry but it is part of a binary data key and thus mere mortals like us are not able to change it. You need a macro... see this link for an example.
    http://social.technet.microsoft.com/Forums/office/en-US/bb6268ac-546b-4118-87fa-21f6fd2cecbc/word-navigation-pane-open-by-default
    Regarding changing the location of Word's Normal template via GPO it can be done. See below link. However, as is pointed out in the link, the recommendation is not to do so. If the central location server is down, no one will be able to create documents.
    In addition, if someone accidentally or purposely alters/corrupts the Normal template... everyone is effected.
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/87ab10d3-1cb6-4269-9334-1e0c37527e0a/move-location-of-normaldotdotm-to-central-file-server-best-solution?forum=winserverGP
    Kind Regards, Rich ... http://greatcirclelearning.com

Maybe you are looking for