<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-30731949</id><updated>2011-12-14T19:17:35.119-08:00</updated><title type='text'>Office 2007 for the application developer</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://2007office.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://2007office.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Under The Hood</name><uri>http://www.blogger.com/profile/17001191718502429626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_4XfhhMAVI6c/Svs3Bry75eI/AAAAAAAAAIk/-CAuc0r2j94/s1600-R/Chris_GEDC1894_Head%2520(Small)_LR.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-30731949.post-115522853529297074</id><published>2007-12-31T12:59:00.000-08:00</published><updated>2006-08-10T09:49:24.580-07:00</updated><title type='text'>Images</title><content type='html'>You can read the complete post with images at &lt;a href="http://www.chrisgreaves.com/office2007developer/"&gt;http://www.chrisgreaves.com/office2007developer/&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30731949-115522853529297074?l=2007office.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2007office.blogspot.com/feeds/115522853529297074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30731949&amp;postID=115522853529297074' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/115522853529297074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/115522853529297074'/><link rel='alternate' type='text/html' href='http://2007office.blogspot.com/2007/12/images.html' title='Images'/><author><name>Under The Hood</name><uri>http://www.blogger.com/profile/17001191718502429626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_4XfhhMAVI6c/Svs3Bry75eI/AAAAAAAAAIk/-CAuc0r2j94/s1600-R/Chris_GEDC1894_Head%2520(Small)_LR.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30731949.post-2234404629649642604</id><published>2007-01-23T02:40:00.000-08:00</published><updated>2007-01-23T02:41:18.297-08:00</updated><title type='text'>Trial version is available</title><content type='html'>You can read about it &lt;a href="http://2007office.blogspot.com/"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30731949-2234404629649642604?l=2007office.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2007office.blogspot.com/feeds/2234404629649642604/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30731949&amp;postID=2234404629649642604' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/2234404629649642604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/2234404629649642604'/><link rel='alternate' type='text/html' href='http://2007office.blogspot.com/2007/01/trial-version-is-available.html' title='Trial version is available'/><author><name>Under The Hood</name><uri>http://www.blogger.com/profile/17001191718502429626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_4XfhhMAVI6c/Svs3Bry75eI/AAAAAAAAAIk/-CAuc0r2j94/s1600-R/Chris_GEDC1894_Head%2520(Small)_LR.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30731949.post-116048200970087311</id><published>2006-10-10T05:06:00.000-07:00</published><updated>2006-10-10T05:06:49.713-07:00</updated><title type='text'>Normal.Dot Service Will Be Resumed As Soon As Possible.</title><content type='html'>(sigh!) Office 2007 is gone. Details are scanty, but they are here: &lt;a href="http://microsoftoffice2007.blogspot.com/2006/10/gone-forever.html"&gt;http://microsoftoffice2007.blogspot.com/2006/10/gone-forever.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30731949-116048200970087311?l=2007office.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2007office.blogspot.com/feeds/116048200970087311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30731949&amp;postID=116048200970087311' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/116048200970087311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/116048200970087311'/><link rel='alternate' type='text/html' href='http://2007office.blogspot.com/2006/10/normaldot-service-will-be-resumed-as.html' title='Normal.Dot Service Will Be Resumed As Soon As Possible.'/><author><name>Under The Hood</name><uri>http://www.blogger.com/profile/17001191718502429626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_4XfhhMAVI6c/Svs3Bry75eI/AAAAAAAAAIk/-CAuc0r2j94/s1600-R/Chris_GEDC1894_Head%2520(Small)_LR.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30731949.post-115834917691054949</id><published>2006-09-15T12:39:00.000-07:00</published><updated>2006-09-15T12:39:36.923-07:00</updated><title type='text'>BeTTR Compatibility</title><content type='html'>I have installed the Beta Two Technical Refresh, and this morning fired up my contacts database in Access2007.&lt;br /&gt;&lt;br /&gt;I am suddenly confronted with problems.&lt;br /&gt;&lt;br /&gt;In fairness I must confess that my Access VBA skills are not as good as yours.&lt;br /&gt;&lt;br /&gt;There may well be serious deficiencies in my code that have escaped notice until now, but today I am receiving warnings that were not in effect yesterday. The difference is that today I am running not the Beta2, but the patched version - BTTR.&lt;br /&gt;&lt;br /&gt;For over a year (Access 2000 and on) I have used a routine that updates various date fields when I post a follow-up date into the future. The background receives a colour showing whether the date is in the future or the past.&lt;br /&gt;&lt;br /&gt;Today Access 2007 tells me that it can't find the field, but clearly the View Immediate tells me that it can find the field.&lt;br /&gt;&lt;br /&gt;The problem possibly lies in the "#Name?" value that has crept in there. Perhaps earlier versions of Access didn't mind that value, or perhaps earlier versions didn't produce that value. Please see "my Access VBA skills" above.&lt;br /&gt;&lt;br /&gt;In desperation, I resort to On Error Resume Next.&lt;br /&gt;&lt;br /&gt;Desperation because I'm scheduled to make telephone calls right now, not learn VBA programming (see? I'm no different from you; I have a job to do).&lt;br /&gt;&lt;br /&gt;I hate On Error with a passion. To me it indicates one of three things:&lt;br /&gt;&lt;br /&gt;Lack of professionalism in the programmer (that is my case here; I'm not yet prepared to work out why I'm getting a "Name?" value).&lt;br /&gt;&lt;br /&gt;Lack of planning in the programmer (that is my case here; I had not planned for an event such as faulty input data, or whatever it is that triggers this data).&lt;br /&gt;&lt;br /&gt;Poor design in the product. I know that a good workman never blames his tools, but VBA provides no intrinsic function for testing a file's existence, or whether a project is password-protected, so we all resort to the trick of trying to do something and returning a trapped error if it fails.&lt;br /&gt;&lt;br /&gt;Then it crops up again.&lt;br /&gt;&lt;br /&gt;This time on a null field.&lt;br /&gt;&lt;br /&gt;I'll swear I had no problem with this yesterday.&lt;br /&gt;&lt;br /&gt;I could be wrong.&lt;br /&gt;&lt;br /&gt;You knew this was going to happen.&lt;br /&gt;&lt;br /&gt;On Error resume Next and a cheap'n'nasty Word macro, and we are back in business.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Baling Twine. We need more baling twine.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30731949-115834917691054949?l=2007office.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2007office.blogspot.com/feeds/115834917691054949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30731949&amp;postID=115834917691054949' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/115834917691054949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/115834917691054949'/><link rel='alternate' type='text/html' href='http://2007office.blogspot.com/2006/09/bettr-compatibility.html' title='BeTTR Compatibility'/><author><name>Under The Hood</name><uri>http://www.blogger.com/profile/17001191718502429626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_4XfhhMAVI6c/Svs3Bry75eI/AAAAAAAAAIk/-CAuc0r2j94/s1600-R/Chris_GEDC1894_Head%2520(Small)_LR.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30731949.post-115789392410573316</id><published>2006-09-10T06:06:00.000-07:00</published><updated>2006-09-10T06:12:04.116-07:00</updated><title type='text'>Version Compatibility</title><content type='html'>I have been engaged in a mild debate over at &lt;a href="http://www.wopr.com/cgi-bin/w3t/showflat.pl?Cat=&amp;Board=vb&amp;Number=597124&amp;page=0&amp;view=collapsed&amp;sb=5&amp;o=0&amp;fpart="&gt;Woody's Lounge&lt;/a&gt; regarding the various versions of Word. My incoming task was to obtain the most recently used file list for each and every version of Word from Office 2007 through Office 2007.&lt;br /&gt;&lt;br /&gt;MRUse in its initial incarnation made use of the application object, its Recent Files list. That approach does not work when several versions of the application exist.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Dim xlApp As Excel.Application&lt;br /&gt;Set xlApp = CreateObject("Excel.Application") ' gets me 9.0, but I want all!&lt;br /&gt;Dim lng As Long&lt;br /&gt;For lng = 1 To xlApp.RecentFiles.Count&lt;br /&gt;Dim strFullName As String&lt;br /&gt;strFullName = xlApp.RecentFiles(lng).Path&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The code snippet above will always grab Excel 9.0's recent files if Excel 9.0 was the latest version (of 8.0, 9.0, 10.0, 11.0 and 12.0) to be loaded and used.&lt;br /&gt;&lt;br /&gt;I need dive into the registry now, and that is what I do.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Dim lng As Long&lt;br /&gt;For lng = lngLow To lngHigh&lt;br /&gt;Dim strValue As String&lt;br /&gt;strValue = strWeTrim(QueryValue(HKEY_CURRENT_USER, _&lt;br /&gt;strKey, strValuePrefix &amp; Trim(Str(lng))))&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The debate does not quite rage, but if it did, it would rage over the issue of whether or not one can successfully run four versions of Office under a single operating system (Windows XP) on a single partition single-boot system.&lt;br /&gt;&lt;br /&gt;Yes you can! I am doing just that.&lt;br /&gt;&lt;br /&gt;I have a 2GB RAM 100GB drive laptop with Windows XP professional, and licensed copies of Office 97, Office 2000, Office 2003 and Office 2007 beta, installed in that sequence.&lt;br /&gt;&lt;br /&gt;I can load a copy of each version of Word and thus have four versions of Word running on the machine.&lt;br /&gt;&lt;br /&gt;Each version of Word uses the same default file locations for documents, Startup folder and so on, so each version of word exhibits and permits use of the applications (Under, Trail, Indxr and so on) that I have developed in Word VBA for end-users of Word.&lt;br /&gt;&lt;br /&gt;The only annoyances I have spotted so far are:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;From time to time Office 2000 or Office 2003 whips out its flashlight and looks for something. I think it thinks it is "repairing" the registry because a different version of Office has just "repaired" it back to its own devices.&lt;br /&gt;&lt;br /&gt;From time to time my Toolbars Best Fit macro doesn't. I will look into this. I suspect it will be found as a programming error on my part.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Apart from that, I can't see any major conflict that faces me, as a developer of VBA applications in multiple versions of Office.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30731949-115789392410573316?l=2007office.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2007office.blogspot.com/feeds/115789392410573316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30731949&amp;postID=115789392410573316' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/115789392410573316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/115789392410573316'/><link rel='alternate' type='text/html' href='http://2007office.blogspot.com/2006/09/version-compatibility.html' title='Version Compatibility'/><author><name>Under The Hood</name><uri>http://www.blogger.com/profile/17001191718502429626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_4XfhhMAVI6c/Svs3Bry75eI/AAAAAAAAAIk/-CAuc0r2j94/s1600-R/Chris_GEDC1894_Head%2520(Small)_LR.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30731949.post-115703715738850509</id><published>2006-08-31T08:11:00.000-07:00</published><updated>2006-09-03T09:45:28.556-07:00</updated><title type='text'>Could Not Open Macro Storage</title><content type='html'>Our friends are still here - the &lt;span style="font-weight:bold;"&gt;Macro Storage Twins&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;I crafted a neat Word2000 VBA macro yesterday, saved it in a document. This morning I executed the document into Word2007 beta, finally found the macro (&lt;a href="http://microsoftoffice2007.blogspot.com/2006/09/hunting-macros.html"&gt;in another blog&lt;/a&gt;), and ran it.&lt;br /&gt;&lt;br /&gt;The macro updates Access fields, and before too long I ran into the "invalid use of Null" liability clause. My fault. Should have seen it coming. Choose Debug; may as well fix it now.&lt;br /&gt;&lt;br /&gt;Ta Da! They're baaaaack!&lt;br /&gt;&lt;br /&gt;I still can't get out of this apparent loop. I say apparent because it is not apparent to me that it ends. With twenty of forty modules in various projects sitting around, I may be getting the pop up from each failed attempt to open a module.&lt;br /&gt;&lt;br /&gt;I don't have time for that. Task manager and beta-be-gone! I'm using the time I saved to write this blog. Sniff.&lt;br /&gt;&lt;br /&gt;More and more I feel that Office 12 is just Office 2003 is just Office 2003 is just Office 2002 is just Office 2000 is just Office 97, but now we have a ribbon.&lt;br /&gt;&lt;br /&gt;I feel like tying a yellow ribbon around Microsoft's neck sometimes .. (Just Kidding!)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30731949-115703715738850509?l=2007office.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2007office.blogspot.com/feeds/115703715738850509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30731949&amp;postID=115703715738850509' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/115703715738850509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/115703715738850509'/><link rel='alternate' type='text/html' href='http://2007office.blogspot.com/2006/08/could-not-open-macro-storage.html' title='Could Not Open Macro Storage'/><author><name>Under The Hood</name><uri>http://www.blogger.com/profile/17001191718502429626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_4XfhhMAVI6c/Svs3Bry75eI/AAAAAAAAAIk/-CAuc0r2j94/s1600-R/Chris_GEDC1894_Head%2520(Small)_LR.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30731949.post-115676110897026785</id><published>2006-08-28T03:30:00.000-07:00</published><updated>2006-08-28T03:31:48.976-07:00</updated><title type='text'>Asking for a default ribbon.</title><content type='html'>A post of interest to developers can be found at my "other" Office 2007 blog here: &lt;a href="http://microsoftoffice2007.blogspot.com/"&gt;http://microsoftoffice2007.blogspot.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;With an image of my screen here: &lt;a href="http://www.chrisgreaves.com/Office2007User/MondayAugust282006.html"&gt;http://www.chrisgreaves.com/Office2007User/MondayAugust282006.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30731949-115676110897026785?l=2007office.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2007office.blogspot.com/feeds/115676110897026785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30731949&amp;postID=115676110897026785' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/115676110897026785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/115676110897026785'/><link rel='alternate' type='text/html' href='http://2007office.blogspot.com/2006/08/asking-for-default-ribbon.html' title='Asking for a default ribbon.'/><author><name>Under The Hood</name><uri>http://www.blogger.com/profile/17001191718502429626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_4XfhhMAVI6c/Svs3Bry75eI/AAAAAAAAAIk/-CAuc0r2j94/s1600-R/Chris_GEDC1894_Head%2520(Small)_LR.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30731949.post-115629284470202812</id><published>2006-08-22T17:26:00.000-07:00</published><updated>2006-08-22T17:27:24.710-07:00</updated><title type='text'>The Server Threw An Exception - I Threw A Fit!</title><content type='html'>I have a Word application called Proje(ct). It serves me well by indenting, listing, sorting, harvesting VBA code in Word, Excel and PowerPoint projects. It works well, although I say so myself.&lt;br /&gt;&lt;br /&gt;I am especially in need of it after a long session of cut-and-paste, to re-indent my source code so that it appears correctly nested.&lt;br /&gt;&lt;br /&gt;To my horror this morning I received a run-time error:&lt;br /&gt;&lt;br /&gt;A search of &lt;a href="http://www.wopr.com/cgi-bin/w3t/postlist.pl?Cat=&amp;Board=vb"&gt;Woody's Lounge&lt;/a&gt; brought no hits. A search of &lt;a href="http://groups.google.com/group/microsoft.public.vb.general.discussion"&gt;Google Groups&lt;/a&gt; fared little better.&lt;br /&gt;&lt;br /&gt;Thrown back on my own resources I tracked the problem down to my running Proje under Word 2000, as I am wont to do, but the application having mysteriously latched on to a version '12' of the Excel library, that is, instead of this:&lt;br /&gt;&lt;br /&gt;I saw this:&lt;br /&gt;&lt;br /&gt;I'm not surprised that Word2000 objects to an attempt to discuss affairs with Office 12, but I'm puzzled as to how Microsoft managed to slip inside my locked template, modify it, and save it!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30731949-115629284470202812?l=2007office.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2007office.blogspot.com/feeds/115629284470202812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30731949&amp;postID=115629284470202812' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/115629284470202812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/115629284470202812'/><link rel='alternate' type='text/html' href='http://2007office.blogspot.com/2006/08/server-threw-exception-i-threw-fit.html' title='The Server Threw An Exception - I Threw A Fit!'/><author><name>Under The Hood</name><uri>http://www.blogger.com/profile/17001191718502429626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_4XfhhMAVI6c/Svs3Bry75eI/AAAAAAAAAIk/-CAuc0r2j94/s1600-R/Chris_GEDC1894_Head%2520(Small)_LR.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30731949.post-115522840527210032</id><published>2006-08-10T09:46:00.000-07:00</published><updated>2006-08-10T09:46:45.283-07:00</updated><title type='text'>No News Is Good News</title><content type='html'>I’m feeling guilty about the lack of posts. Let me explain.&lt;br /&gt;&lt;br /&gt;I am using all four versions of Office97, Office2000, Office2003 and Office 2007.&lt;br /&gt;&lt;br /&gt;All four versions point to the same startup folder “C:\Greaves\Startup\WORD”, wherein are found 15 application templates (14 of them mine!) and a utility library (UW.DOT).&lt;br /&gt;&lt;br /&gt;With the exception of my Toolbars macros (BestFitToolbars, Lock/Unlock Toolbars) every macro that I use in every one of those 15 applications is working fine.&lt;br /&gt;&lt;br /&gt;That’s about 660 macros. Of course, I’m not running each macro every day, but I have 660+ macros available to me whenever I load Word. Then I have the other applications that I add-in for one-off jobs.&lt;br /&gt;&lt;br /&gt;Some of my code is seven years old.&lt;br /&gt;&lt;br /&gt;There’s even a trace of WordBasic. In there!&lt;br /&gt;&lt;br /&gt;It is working.&lt;br /&gt;&lt;br /&gt;I have not yet essayed into the XML-like stuff that we VBAers are dreading.&lt;br /&gt;&lt;br /&gt;However, if you are a developer with a large investment in VBA, rest easy. My experience shows that our legacy code works just fine, and the urgent Office12 project which will land on your desk tomorrow can be developed quickly in VBA without a long learning curve into XML.&lt;br /&gt;&lt;br /&gt;That’s good news!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30731949-115522840527210032?l=2007office.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2007office.blogspot.com/feeds/115522840527210032/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30731949&amp;postID=115522840527210032' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/115522840527210032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/115522840527210032'/><link rel='alternate' type='text/html' href='http://2007office.blogspot.com/2006/08/no-news-is-good-news.html' title='No News Is Good News'/><author><name>Under The Hood</name><uri>http://www.blogger.com/profile/17001191718502429626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_4XfhhMAVI6c/Svs3Bry75eI/AAAAAAAAAIk/-CAuc0r2j94/s1600-R/Chris_GEDC1894_Head%2520(Small)_LR.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30731949.post-115400511103846712</id><published>2006-07-27T05:56:00.000-07:00</published><updated>2006-07-27T05:58:31.050-07:00</updated><title type='text'>Normal.dot Vs. Normal.dotM</title><content type='html'>I am not sure what is going on, and must investigate further.&lt;br /&gt;&lt;br /&gt;I have useful macros in my Word97/2000/2003 Normal.dot. I have labeled it so because no matter which version I load, the Normal.dot runs just fine.&lt;br /&gt;&lt;br /&gt;Word2007 loads a Normal.dotM which is, of course, a different file from my Normal.dot.&lt;br /&gt;&lt;br /&gt;When I load Word2000 I am using my Normal.dot.&lt;br /&gt;&lt;br /&gt;When I load Word2007 I am using my Normal.dotM.&lt;br /&gt;&lt;br /&gt;The batch file for Word97/2000/2003 refreshes Normal.dot by copying it from a secure location (another anti-virus bulwark):&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;copy c:\SAFE\Normal080.DOT "c:\Templates\Normal.DOT"&lt;br /&gt;call "C:\Program Files\Office2000\Office\winword.EXE"&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A natural consequence of this is that no matter how much I modify Normal.dot, no matter I save the changes, they disappear on the next load. (Actually the batch file archives them, but that doesn’t affect the story).&lt;br /&gt;&lt;br /&gt;The startup sequence in Normal.dot includes checking the Auto recovery data (Tools, Options, Save, “Save auto recover”) and modifying a toolbar button. The toolbar button shows an orange lozenge if Auto recover is set zero, otherwise shows a “1”. “5” or “10”, and clicking the button cycles me through “0”, “1”, “5” or “10” minutes respectively.&lt;br /&gt;&lt;br /&gt;Further, if the value of “Save auto recover” is non-zero, the startup sequence alerts me with a message box.&lt;br /&gt;&lt;br /&gt;This has been working for me for several years; I generally don’t trust Auto recover, and turn it on only when I am doing lengthy text entry.&lt;br /&gt;&lt;br /&gt;Word2007, of course, doesn’t see my C:\Greaves\Admin\Templates\Normal.Dot, or at least, chooses not to, so in general I don’t see my lozenge available.&lt;br /&gt;&lt;br /&gt;Whereas loading Word2000 shows the lozenge in residence:&lt;br /&gt;&lt;br /&gt;Clicking the lozenge twice cycles me from zero through 1 to 5 minutes:&lt;br /&gt;&lt;br /&gt;If I cycle through, the toolbar button image is changed, and so I am prompted to save Normal.dot:&lt;br /&gt;&lt;br /&gt;And if I re-load Word2000 Normal.dot inspects the Save Auto recover value and re-fabricates the toolbar button (remember I always start with a fresh copy of Normal.dot) and issues an alert – in this case for 1 minute:&lt;br /&gt;&lt;br /&gt;Here is the oddity: When I load Word2007, and hook in Normal.dot as an addin, Word2007 reports the save interval to be 10 minutes:&lt;br /&gt;&lt;br /&gt;As well, the toolbar icon shows 10 minutes as the button caption – consistent with my message box, but inconsistent with what I know to be there!&lt;br /&gt;&lt;br /&gt;(later)&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;?application.Options.SaveInterval&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;is the key to the problem.&lt;br /&gt;&lt;br /&gt;I believe that Word saves the value of SaveInterval in the registry, under the infamous “Data” branch. That being so, each of my 4 versions of Word (97, 2000, 2003 and 2007) ought to exhibit different save values.&lt;br /&gt;&lt;br /&gt;I put this to the test by setting SaveInterval to be 0, 1, 5 and 10 respectively in the four versions , and sure enough, checking the Auto recovery data (Tools, Options, Save, “Save auto recover”) in each version shows that it is so preserved.&lt;br /&gt;&lt;br /&gt;My Normal Startup is working correctly.&lt;br /&gt;&lt;br /&gt;If I want to set the SaveInterval in one version and have it carried over to the next version, I must perform some skullduggery with the registry from within my VBA code. And for this issue I would rather not do that here and now!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30731949-115400511103846712?l=2007office.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2007office.blogspot.com/feeds/115400511103846712/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30731949&amp;postID=115400511103846712' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/115400511103846712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/115400511103846712'/><link rel='alternate' type='text/html' href='http://2007office.blogspot.com/2006/07/normaldot-vs-normaldotm.html' title='Normal.dot Vs. Normal.dotM'/><author><name>Under The Hood</name><uri>http://www.blogger.com/profile/17001191718502429626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_4XfhhMAVI6c/Svs3Bry75eI/AAAAAAAAAIk/-CAuc0r2j94/s1600-R/Chris_GEDC1894_Head%2520(Small)_LR.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30731949.post-115335735325449088</id><published>2006-07-19T18:00:00.000-07:00</published><updated>2006-07-19T18:02:33.263-07:00</updated><title type='text'>Setting Up</title><content type='html'>(You can read this post with images at &lt;a href="http://www.chrisgreaves.com/Office2007developer/"&gt;http://www.chrisgreaves.com/Office2007developer/&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;The first VBA macro I tried to run in Word2007 was my “Best Fit Toolbars By Name”. It crashed, probably because we don’t have command bars any more, we have ribbons.&lt;br /&gt;&lt;br /&gt;So tonight I began peeking under the hood.&lt;br /&gt;&lt;br /&gt;First step is to make use of Word2007’s interface to get to VBA; I can re-tool it as my own later.&lt;br /&gt;&lt;br /&gt;It is once more into the Pearl, Word Options, Personalize and Show Developer Tab.&lt;br /&gt;&lt;br /&gt;With that in place I record, run and review the typical “Hello World” macro.&lt;br /&gt;&lt;br /&gt;Apart from that, everything else seems to be in place.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30731949-115335735325449088?l=2007office.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2007office.blogspot.com/feeds/115335735325449088/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30731949&amp;postID=115335735325449088' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/115335735325449088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/115335735325449088'/><link rel='alternate' type='text/html' href='http://2007office.blogspot.com/2006/07/setting-up.html' title='Setting Up'/><author><name>Under The Hood</name><uri>http://www.blogger.com/profile/17001191718502429626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_4XfhhMAVI6c/Svs3Bry75eI/AAAAAAAAAIk/-CAuc0r2j94/s1600-R/Chris_GEDC1894_Head%2520(Small)_LR.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30731949.post-115306720719637702</id><published>2006-07-16T09:26:00.000-07:00</published><updated>2006-07-19T15:10:11.760-07:00</updated><title type='text'>Extra Purpose</title><content type='html'>You are probably aware that I have a parallel commentary based on my experiences as a end-user (Please see &lt;a href="http://microsoftoffice2007.blogspot.com/"&gt;“Office 2007 for the end-user”&lt;/a&gt;). This blog goes beyond my use of Office 2007 as a desktop tool and extends into my special field of Rapid Application Development.&lt;br /&gt;&lt;br /&gt;Rapid Application Development means here that I can build a complete and functional application with a user interface in anything from an hour to three days.&lt;br /&gt;I make extensive use of libraries of code and Powerful Engines to achieve my goals.&lt;br /&gt;In the period 1997 to 2006 I made use of Word’s VBA language to drive 95% of the developed applications, including document processors, spreadsheet and presentation manipulators, and specialized tasks such as cleaning up Notes History data in Act6! Contact management databases.&lt;br /&gt;&lt;br /&gt;With 2007 I’ll continue to press for Rapid Application Development, but I’ll be seeing it through new eyes.&lt;br /&gt;&lt;br /&gt;I expect I will migrate my existing libraries as quickly as possible so that I can focus on new applications in Office 2007 without having to rebuild each utility procedure from scratch.&lt;br /&gt;&lt;br /&gt;This is the approach I adopted when migrating from Word’s WordBasic to Word97.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30731949-115306720719637702?l=2007office.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2007office.blogspot.com/feeds/115306720719637702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30731949&amp;postID=115306720719637702' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/115306720719637702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/115306720719637702'/><link rel='alternate' type='text/html' href='http://2007office.blogspot.com/2006/07/extra-purpose.html' title='Extra Purpose'/><author><name>Under The Hood</name><uri>http://www.blogger.com/profile/17001191718502429626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_4XfhhMAVI6c/Svs3Bry75eI/AAAAAAAAAIk/-CAuc0r2j94/s1600-R/Chris_GEDC1894_Head%2520(Small)_LR.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30731949.post-115236052473397586</id><published>2006-07-08T05:08:00.000-07:00</published><updated>2006-07-08T05:08:44.743-07:00</updated><title type='text'></title><content type='html'>This blog documents my day-by-day experiences as an application developer using the available Office2007 version.&lt;br /&gt;You can contact me by telephone or email via &lt;a href="http://www.chrisgreaves.com/contact.htm"&gt;http://www.chrisgreaves.com/contact.htm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30731949-115236052473397586?l=2007office.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2007office.blogspot.com/feeds/115236052473397586/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30731949&amp;postID=115236052473397586' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/115236052473397586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30731949/posts/default/115236052473397586'/><link rel='alternate' type='text/html' href='http://2007office.blogspot.com/2006/07/this-blog-documents-my-day-by-day.html' title=''/><author><name>Under The Hood</name><uri>http://www.blogger.com/profile/17001191718502429626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_4XfhhMAVI6c/Svs3Bry75eI/AAAAAAAAAIk/-CAuc0r2j94/s1600-R/Chris_GEDC1894_Head%2520(Small)_LR.JPG'/></author><thr:total>0</thr:total></entry></feed>
