-
WSKarenWright
AskWoody LoungerThank you David,
Restarting numbering has bugged me for years and I’m fairly experienced with Word in its many versions. I use styles that have been created from scratch and have numbering attached. However in my documents I need to restart numbering after headings – but it could be after a Heading 1, 2, 3 or 4! I wish I’d known about that code years ago.
Regards
Karen -
WSKarenWright
AskWoody LoungerSeptember 4, 2012 at 4:37 am in reply to: Word 2010: Quick Parts footers not behaving when inserted with macro #1347924More than likely on a second parameter passed into the function.
-
WSKarenWright
AskWoody LoungerSeptember 3, 2012 at 10:40 pm in reply to: Word 2010: Quick Parts footers not behaving when inserted with macro #1347910Thank you Andrew. That works beautifully for the watermarks. Is there anyway I select whether it goes into a header or footer (or just at the insertion point). This is because we use the building blocks for other things as well – some go into footers, and some just in the document in the insertion point?
I could copy the function and create one for each of the options, but I just wonder how I would go about making it generic for all insertions of autotext.
-
WSKarenWright
AskWoody LoungerThis has been helpful, thank you. (Now I need to change my settings so I get an email when I get a reply :rolleyes:)
-
WSKarenWright
AskWoody LoungerThank you sooooo much. You won’t believe how frustrating an extra space can be :rolleyes:
-
WSKarenWright
AskWoody LoungerSeptember 25, 2011 at 10:16 pm in reply to: Microsoft Word – Replace function returns compile error: expected array #1299664Thank you so much. There was a string variable named Replace. Once I changed this to strReplace everything worked perfectly! Pity the error message didn’t just say I had an ambiguous name or something understandable (to me anyway :o).
-
WSKarenWright
AskWoody LoungerIf the inline shape is selected, you should be able to do something like this:
Selection.InlineShapes(1).Height = Application.InchesToPoints(2.5)
Thanks Hans, I had to add Selection.MoveLeft Unit:=wdCharacter, count:=1, Extend:=wdExtend to select the shape and then the code worked beautifully.
-
WSKarenWright
AskWoody LoungerHello Don,
I have attached a zip file which contains two Excel files which each have code copied from the MSDN website, and which I can’t work out how to get to work. The examples on MSDN say we can create these as customized documents, but then go on to talk about Visual Studio 2005 which is what I believe this code is aimed at. I haven’t been able to find Visual Basic examples which actually work, which is why I thought that perhaps this code was not for VBA. I have no experience, nor do I own the product, of Visual Basic (.net or otherwise) or Visual Studio. I solely work in VBA.Any help would be appreciated, thanks.
-
WSKarenWright
AskWoody LoungerHello Andrew,
I have attached a zip file which contains the Word document that I am trying to work with. This will eventually be a template loaded into the Startup folder. It contains a description of what I am trying to achieve and why, along with pictures of the toolbars I am trying to replace with groups, and the XML code that makes up the customised tab, groups and buttons.Any help would be appreciated.
Also, do you know with what program I can create my own images for buttons? Specifically png formats?
Thanks.
-
WSKarenWright
AskWoody LoungerI started off really excited, I found a good book (RibbonX, customizing the Office 2007 Ribbon by Robert Martin, Ken Puls, and Teresa Hennig), through this found a little program called the Office 2007 Custom UI editor which saves trying to deal with xml in zip files (which I really couldn’t get my head around – too many steps – and for some reason my laptop doesn’t open zip files unless I use Winzip), and managed to create new tabs, and groups with simple buttons in the ribbon with call backs to VBA. However, now I’m trying to create a tab that contains a checkbox that should select which groups on this tab are displayed. The interface looks fine, but I can’t get it to do anything! All of these articles on MSDN use examples of VB, Visual Studio or C# code, and I don’t have the knowledge to rewrite that in VBA. Everything I have read so far leads me to believe that VBA should be able to handle this, but as I can’t convert any of the examples to VBA I’m pretty stuck.
Everything I’ve learnt about VBA has been self taught with help from forums such as this lounge and plenty of books, but the scarcity of information, even from Microsoft, is making me very frustrated. Perhaps I’m looking in the wrong place? Can anyone tell me where else to go to find help?
-
WSKarenWright
AskWoody LoungerThanks Jeff. Your second reply to my post (which for some reason I can’t see online) that VBA arrays are zero-based lead me to look again at arrays and in particular “base”. I had an Option Base 1 setting (probably left over from when I used this form slightly differently for another project) and once this was removed everything worked. Now I just have to check that removing it didn’t break something else!
-
WSKarenWright
AskWoody LoungerThank you. I had just found that, and now have to try and work out why I had it there in the first place! It was possibly just a legacy as part of this form was used on another project.
-
WSKarenWright
AskWoody LoungerThank you Hans. This works perfectly with the sample form, but when I put into my actual form, which is a multipage form, I get a subscript out of range error. Firstly I thought it was because I was initially populating the listbox with items from a text file, but even when I used a simple additem to populate the listbox, I get the error when I try to sort the list. I’ve attached the actual form here if you can tell me why there is a difference.
I’m still looking at the posts that Jeff recommended and trying to make sense out of them.
-
WSKarenWright
AskWoody LoungerThanks for your prompt reply Hans. I’ve just had a frustrating day playing around with this, and your code works beautifully.
-
WSKarenWright
AskWoody LoungerEarlier versions of Word showed the line number and measurement in centimetres from the top of the page, and the column number from the left margin, in the status line at the bottom of the screen. Is there anyway to show this in Word 2007?
Found it
– I usually have sooo much trouble finding anything on the Microsoft site, but this surprised me.
It is actually quite simple to customise the status line – simply right mouse click on the status line to see a list of options. Select the ones you want to appear and hey presto
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
*Some settings are managed by your organization
by
rlowe44
7 hours, 4 minutes ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
9 hours, 18 minutes ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
9 hours, 42 minutes ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
18 hours, 43 minutes ago -
AI slop
by
Susan Bradley
17 hours, 53 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
19 hours, 59 minutes ago -
Two blank icons
by
CR2
5 hours, 33 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
1 day, 4 hours ago -
End of 10
by
Alex5723
1 day, 7 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
5 hours, 28 minutes ago -
test post
by
gtd12345
1 day, 13 hours ago -
Privacy and the Real ID
by
Susan Bradley
1 day, 3 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
19 hours, 48 minutes ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
1 day, 17 hours ago -
Upgrading from Win 10
by
WSjcgc50
5 hours, 38 minutes ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
9 hours, 12 minutes ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
2 days, 9 hours ago -
The story of Windows Longhorn
by
Cybertooth
1 day, 21 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
2 days, 11 hours ago -
Are manuals extinct?
by
Susan Bradley
5 hours, 15 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
2 days, 20 hours ago -
Network Issue
by
Casey H
2 days, 7 hours ago -
Fedora Linux is now an official WSL distro
by
Alex5723
3 days, 8 hours ago -
May 2025 Office non-Security updates
by
PKCano
3 days, 9 hours ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
3 days, 11 hours ago -
pages print on restart (Win 11 23H2)
by
cyraxote
2 days, 11 hours ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
3 days, 13 hours ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
3 days, 13 hours ago -
Proton to drop prices after ruling against “Apple tax”
by
Cybertooth
3 days, 20 hours ago -
24H2 Installer – don’t see Option for non destructive install
by
JP
5 hours, 44 minutes ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.