The Butter Connection

aka "stanguru.com" and "themargerums.com"

Computer Tips & Help
AS400
PC
Hardware
Programming
Web Development
Virus
Spyware/Malware
Spam
Hoax Don't Spread It
Sports
Cancer
Multiple Sclerosis
Election Stuff
Photography
Handy Links
Interesting
Cool Things
Gamer Stuff
Gallery
Client OS · MS Office · Browser · Remote Stuff · Server/Admin Stuff · Exchange
Excel/Macro/VB code

MS Office Stuff

 

Sections

 

 

  • Word 2007 - PDF creation

    If your Word doesn't have this option, you need to install 2007 Microsoft Office Add-in: Microsoft Save as PDF or XPS. (It's Free)

    http://www.microsoft.com/downloads/details.aspx?FamilyID=4d951911-3e7e-4ae6-b059-a2e79ed87041&DisplayLang=en
    It will also creates bookmarks too, when doing a Save As, click Options, check the "Create bookmarks"

  • MSO97 - Word 97 - Word is either minimized or maximized (can't "window" the app)
    • solution -

      1. Have at least two applications showing on the Windows Taskbar--Word
      and at least one other.

      2. Click on the non-Word item in the Taskbar.

      3.  Right-click on Word on the Taskbar and choose Cascade.

      This usually brings Word's windowed state back into range.

      If not, then you can hack the registry by deleting or renaming the
      following key:

      HKEY_CURRENT_USER\Software\Mic­rosoft\Office\8.0\Word\Data

      Once you delete/rename this key, Word will automatically recreate it.

  • MSO97 install error (error on registering HTMLMARQ.OCX) after XP SP2
    • problem - when installing MSO97, it errors out with a "error registering HTMLMARQ.OCX" toward the end of the setup. All files are actually copied and things do kinda work, except for Visual basic errors.
    • solution - Change the following:

      "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options"

      You should see htmlmarq.ocx and htmlmm.ocx separate keys. Rename them

      to something else, ie. htmlmarq.tmp and htmlmm.tmp.

      You will now be able to install Office 97, including the HTML option,

      without incident. Once done installing Office, you can rename them back.

    • note - it should install just fine on anything before XP SP1, but SP2 has a security that prevents it from ending the installation properly.

  • MSO XP Language Bar removal (like a quick launch on the task bar)

    • You know that little thing near the clock, the one with the question mark in the yellow circle? That's called the "Language Bar". Even if you take the toolbar off the taskbar, it will come back everytime you start an Office application, you need to do this to not see that little nag called the "Language Bar" again:

    • Click"Start", "Control Panel", "Regional and Language Options", "Languages", "Details" button, "Language Bar" button

    • uncheck both the "Show the..." and "Show additional..." boxes

 

  • MS Office Version to Common name
    Common name Version number Release Date Word Excel PowerPoint Notes
    Office 3.0 (aka Office 92) 3.0 30-Aug-92 2.0c 4.0a 3.0  
    Office 4.0 4.0 01-Jan-94 6.0 4.0 3.0  
    Office NT 4.2 4.2 03-Jul-94 6.0 5.0 4.0  
    Office 4.3 (last 16-bit) 4.3 02-Jun-94 6.0 5.0 4.0  
    Office 95 7.0 30-Aug-95 95 95 95  
    Office 97 8.0 30-Dec-96 97 97 97 Outlook
    Office 2000 9.0 27-Jan-99 2000 2000 2000 Outlook
    Office XP (aka 2002) 10.0 31-May-01 2002 2002 2002 Outlook
    Office 2003 11.0 17-Nov-03 2003 2003 2003 Outlook
    Office 2007 12.0 01-Oct-06 2007 2007 2007  


Excel Stuff

  • VB/Macro code and examples - see link above
  • XL: The 1900 Date System vs. the 1904 Date System
    http://support.microsoft.com/kb/180162
  • Date - turn a date with time text to datetime - 5 hours
  • add-ons - http://www.asap-utilities.com/ - 97 version is available also
  • Reference cell in Header or Footer
    • Sub UpdateFooter()
         ActiveSheet.PageSetup.Leftfooter = Range("A1").Value
      End Sub
      Sub UpdateHeader()
         ActiveSheet.PageSetup.Leftheader = Range("A1").Value
      End Sub
  • Total an array - Ctrl+Shift+Enter
    • When an array formula is displayed, it is surrounded by braces {}.  You do not enter the braces.  Instead, when you enter an array formula, you press Ctrl+Shift+Enter, rather than just Enter.  Excel will automatically add the braces.   You must press Ctrl+Shift+Enter when you first enter an array formula, and also each time you edit the formula later.   If you enter or array formula without pressing Ctrl+Shift+Enter, it will return an incorrect result or a #VALUE! error.
  • define a print routine
    • Private Sub CommandButton1_Click()
          Sheets(Array("Sheet1", "Sheet2", "Sheet3")).Select
          ActiveWindow.SelectedSheets.PrintOut Copies:=1
          Sheets("Roster").Select
    • End Sub
    • if printing to PDF, see other note in this section
  • insert/edit a button on sheet (to call a macro or VB script)
    • turn on Forms AND Visual Basic - "View, Toolbars, Visual Basic" / "View, Toolbars, Forms"
    • choose the button from FORMS toolbar and format it the way you want
    • once complete OR your need to edit it, press and unpress the "Design Mode" button on the Visual Basic toolbar
  • print multi-page to PDF (not separate print jobs) -
    • ISSUE RESOLUTION:
      When printing, Excel will split worksheets within a workbook into separate print jobs if the resolutions are different. Normally, when printing to a real printer, this is of no concern. The pages come out sequentially and the user doesn't care that each page may have been a separate print job.
      If "printing" to a PDF, using Adobe Acrobat or other PDF creation software, however, the temporary file needed for creation of the PDF file may be overwritten and only contain the LAST print job.
    • SOLUTION:
      Do the following for EVERY worksheet page in your Excel workbook: File~Page Setup. On the "Page" tab, set the "Print Quality" to be identical on every page.
  • hide zeros - To hide zero values, type 0;-0;;@ in the Type box. To hide all values, type ;;; (three semicolons) in the Type box. The hidden values appear only in the formula bar, or in the cell if you edit within the cell. The values will not be printed.
  • show formulas for whole spreadsheet - CTRL+~ (thats control key plus the tilde key (the eyebrow looking thingy next to the 1 key))
  • Age formula - year(date1 - date2) - 1900
    A B C
    1 Based on Date 8/31/2005
    2 Birthday 1/13/1997
    3 Age 8 B3 formula is =YEAR($b$1-b2)-1900
    format b3 as number no decimals
  • CountIf - count a column if meets or don't meet a criteria - COUNTIF(range,criteria) ex:COUNTIF(B3:B6,"<>good")
  • remove dups in a list - =IF(COUNTIF($A$1:A1,A1)=1,A1,"")
  • MATCH - compare a value to a list of values - MATCH(lookup_value,lookup_array,match_type) ex: =IF(MATCH(F3,SHEET2!$A$2:$A$219,0)>0,"good","       not found")
  • Month(Abbr) - =CHOOSE(MONTH(L2),"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
  • Month(Full) - =CHOOSE(MONTH(L2),"January","Feburary","March","April","May","June","July","August","September","October","November","December")
  • Day(Full) - =CHOOSE(WEEKDAY(C24),"Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
  • Day(Abbr) - =CHOOSE(WEEKDAY(C24),"Sun","Mon","Tue","Wed","Thu","Fri","Sat")
  • dont show the "N/A" on an error
       =IF(ISNA(whatever)," ",whatever)
  • get sheetname
       MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,LEN(CELL("filename",A1))-FIND("]",CELL("filename",A1)))



Outlook Problems

 

searching for resolutions - also use OL, OL2K, OLXP

 

Tools - www.slipstick.com

 

Recovery - PST recovery or Exchange, look in Exchange area

error opening attachments
registry loc of temp file loc - http://www.howto-outlook.com/faq/securetemp.htm

 

Outlook autocomplete (Outlook 2003 and 2007)
c:\Documents and Settings\USERPROFILE\Application Data\Microsoft\Outlook\outlook.nk2
editor - http://www.nirsoft.net/utils/outlook_nk2_autocomplete.html

 

Outlook 2007 error "Operating system not found OR Outlook not installed for current user"
-create a new profile and try again
-more than likely you tried to reuse an old profile

Save pictures as they were sent (not BMP) - http://www.howto-outlook.com/howto/saveembeddedpictures.htm

 

Outlook blocking attachments

ADD string value "Level1Remove" then make value ".bat;.exe;.app" (or whatever extension you want)

here is the actual exported key if you wanna save it to a reg file and import it

[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Security]
"OutlookSecureTempFolder"="C:\\Documents and Settings\\Stan\\Local Settings\\Temporary Internet Files\\Content.Outlook\\BKZ02GJ0\\"
"Level1Remove"=".bat;.exe;.app"

 

External App needing to send email thru Outlook, check CDO

 

Error message: "The view is damaged and the default view will be used"

  • run "outlook /cleanviews"

Error : "Outlook locks or blows up when hi-liting a new folder"

  • more than likely one of your shortcut toolbar is messed up
  • deleting/renaming ".fav" file will create the default ones, then you can redo them
  • shutdown Outlook
  • delete/rename the ".fav" file (rename them if your not comfy)
  • located in:
    C:\Documents and Settings\PROFILE\Application Data\Microsoft\Outlook

Error : "Outlook has number of unread message, but all in box are read"

Information store(database) needs repaired

see Exchange 2000 section, and run "isinteg -s servername -fix -test testname"

File purposes

  • File Locations (default, you can move them though)
    C:\Documents and Settings\PROFILENAME\Local Settings\Application Data\Microsoft\Outlook 
    • ?.pst - personal folder
    • ?.pab - personal address book
    • outlook.ost - offline folders (default is outlook.ost, but you can rename it)
    • archive.pst - archived stuff if you ever told it to yes to the archive message
  • File Locations (these don't move)
    C:\Documents and Settings\PROFILENAME\Application Data\Microsoft\Outlook 
    • PROFILENAME.fav - toolbar customizations
    • PROFILENAME.rwz - rules wizard (local only)
    • PROFILENAME.rtf - stores rich text format of Autosignature
    • outcmd.dat - custom toolbars

Tools

scanpst.exe - fix any errors in pst file

 

Outlook 2007

Can't close or use any menu items, also cant type a rely

usually happens on new user -

its a hidden dialog

go into Word and put in Name and Initials


 


You are here: Home-Computer Tips & Help-PC-MS Office

Previous Topic: Client OS Next Topic: Browser

Subtopics: Excel/Macro/VB code