-
WSMesaka
AskWoody LoungerHuh… how ’bout that! I recreated it and NOW it’s listed. (The only thing I did differently was that I accepted the default name… but I can’t believe THAT actually had anything to do with it.)
Do you happen to know where this “import spec” resides? Is it a file, or is it an object in Access? I can’t see it anywhere…
Thanks much for the help!
-
WSMesaka
AskWoody LoungerYes, I tried that. There is nothing in the list at all, even though I have one saved (which I’ve used without any problems.) I simply want to automate a larger process for others in my area.
-
WSMesaka
AskWoody LoungerThank you so much for that insight! I feel ashamed that I didn’t pour over the actual SQL in detail; I assumed (hah!) that things would work exactly as described in the MS reference.
-
WSMesaka
AskWoody LoungerOK… after a day of trying various ways of humoring Word so that it would let me delete a range of text, I came up with a kludgy workaround which I’ll share here in case anyone else is faced with the same problem.
But first, to recap: I needed to have my code delete the paragraph in a document that contained a particular bookmark. The code would always work when I stepped through it and when I ran it in real time, but would almost inevitably throw a bogus VB error (“Can’t edit range”) for our users. Oddly, clicking on Debug and then simply resuming the code served as a sort of “jiggle the handle” solution.
The only significant difference in environments is that most users have “locked down” machines, while I and another tester (for whom it worked fine) have admin privileges. I can’t believe that could be the reason, though! I even added an “Autonew” routine that would temporarily turn off the “Show all windows in taskbar” option, since past code I have written showed that Word would sometimes get confused about just what was the “active document.” But that didn’t help in this instance.
So, in the end, I found that the only thing that worked was to use the Selection object (which I’ve always tried to avoid.) Thus, replacing the line
[indent]docCoverLetter.Bookmarks(“bmkeCTDText”).Range.Paragraphs(1).Range.Delete
[/indent]with
[indent] Set rngKillText = docCoverLetter.Bookmarks(“bmkeCTDText”).Range.Paragraphs(1).Range
rngKillText.Select
Selection.Delete
[/indent]was the only thing that actually worked.Go figure…
-
WSMesaka
AskWoody LoungerBrilliant! Thanks for the help; it’s exactly what I wanted.
-
WSMesaka
AskWoody LoungerThe adapter in my 6930p is the ATI Mobility Radeon HD 3400 series… I couldn’t find anything on their site. (Then again, I had the nVidia setup in my Lenovo but couldn’t find the utility online, either.) I don’t even know what to search on, since my searches this far have turned up results that only deal with problems using extended desktops.
-
WSMesaka
AskWoody LoungerHmm… it doesn’t look like the exact same software I had before, but it looks exactly like what I’m searching for (i.e. “generic” version of that utility.)
Thank you very much!!
-
WSMesaka
AskWoody LoungerHere is a “re-draft” of the document; I copied the contents into a new, blank document to make sure I knew exactly what page formatting had taken place. (Nothing but adding a landscape section to the end.) I tried, too, to scrub it to make sure there weren’t problems with the usual suspects (styles, numbering, etc.) and I randomized the text (for business reasons, obviously.)
Sure enough, it still demonstrates the same problem. I copied all the text into the new file with the notes formatted as footnotes, and then converted them to endnotes, and lo and behold… they just spill over into what looks like the footer and the landscape section.
Any ideas??
-
WSMesaka
AskWoody LoungerI agree. There are so many variables that can throw off your results with that approach… I just did a similar project, and the IncludeText field seems way more predictable.
-
WSMesaka
AskWoody LoungerExcellent help from you all, thank you. My final solution was a hybrid of what I learned from all of you. (Because I didn’t want banded columns, the solution that seemed to work was to simply apply the borders (and simultaneously re-apply the same shading) to Odd- and Even-Banded Rows.
I’ve had to fumble through Word’s logic (to use the term loosely) many times before; but you guys probably saved me days of stress!
-
WSMesaka
AskWoody LoungerTerry, thanks fo rthe reply… but the problem is that doing the action you described has no effect whatsoever on the table style… or at least, not on the particular table style I chose to customize.
Do you have that style available? Does it add the vertical lines to the style or table when you do it?
-
WSMesaka
AskWoody LoungerAhh… I used to have a utility (VBCodeCleaner or something like that) which would do exactly that.
Does anyone know if it’s supported under Word 2007? (I’ll do it manually for now, but it was a nice utility. Reduced file size by a LOT, too!)
Added: I think i found it here – VBA Code Cleaner (I’m sorry if i’m violating any advertising rules.) Although iti hasn’t been upgraded per se, I tested it and it worked just fine under Word 2007 (except that you need to access it from the Add Ins tab and not some cool ribbon button.)
-
WSMesaka
AskWoody LoungerUnfortunately, no. I’m a bit surprised by that, but I guess it’s because it’s a custom “scheme”, albeit a broken one.
(What is the proper term, anyway? A collection? A List Style? I recall VBA in Word 2003 having a specific term for each “style”…)
-
WSMesaka
AskWoody LoungerI think that’s it exactly. I have been testing this out on a document that did have “DifferentFIrstPage” turned on, and the header contents were thus on that page.
The reason that these changes are being ensured, if not made, is so that future manipulation (combing files, copying and pasting) is more predictable, especially when it’s being done by the auithors themselves. I’m aware it’s no panacea, but the fewer deskside visits I have to make, the better for my other tasks.
I don’t understand the logic, though, that would explain why the setting a range would have the effect of emptying it, since it wasn’t set to anything before. And I can’t explain why setting the “LinkToPrevious” property on the first section doesn’t throw an error; I’m not even trapping errors per se in this utility.
Still, at least I remembered the other method, which seems to work just fine. But I WILL also be testing it on a document that isn’t like the one I’m using now. So thanks for the help!
-
WSMesaka
AskWoody LoungerDang, that was fast! Thanks so much!
![]() |
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
-
How to enable Extended Security Maintenance on Ubuntu 20.04 LTS before it dies
by
Alex5723
6 hours, 5 minutes ago -
Windows 11 Insider Preview build 26200.5562 released to DEV
by
joep517
10 hours, 4 minutes ago -
Windows 11 Insider Preview build 26120.3872 (24H2) released to BETA
by
joep517
10 hours, 5 minutes ago -
Unable to eject external hard drives
by
Robertos42
9 hours, 42 minutes ago -
Saying goodbye to not-so-great technology
by
Susan Bradley
3 hours, 23 minutes ago -
Tech I don’t miss, and some I do
by
Will Fastie
10 hours, 10 minutes ago -
Synology limits hard drives
by
Susan Bradley
1 day, 14 hours ago -
Links from Microsoft 365 and from WhatsApp not working
by
rog7
16 hours, 43 minutes ago -
WhatsApp Security Advisories CVE-2025-30401
by
Alex5723
1 day, 20 hours ago -
Upgrade Sequence
by
doneager
1 day, 13 hours ago -
Chrome extensions with 6 million installs have hidden tracking code
by
Nibbled To Death By Ducks
1 day, 13 hours ago -
Uninstall “New Outlook” before installing 2024 Home & Business?
by
Tex265
12 hours, 30 minutes ago -
The incredible shrinking desktop icons
by
Thumper
2 days, 17 hours ago -
Windows 11 Insider Preview Build 22635.520 (23H2) released to BETA
by
joep517
2 days, 18 hours ago -
Connecting hard drive on USB 3.2 freezes File Explorer & Disk Management
by
WSJMGatehouse
1 day, 14 hours ago -
Shellbag Analyser & Cleaner Update
by
Microfix
1 day, 4 hours ago -
CISA warns of increased breach risks following Oracle Cloud leak
by
Nibbled To Death By Ducks
3 days, 4 hours ago -
Outlook 2024 two sent from email addresses
by
Kathy Stevens
2 days, 8 hours ago -
Speeding up 11’s search
by
Susan Bradley
16 hours, 33 minutes ago -
HP Pavilion Will Not Wake Up After Being Idle for Longer Period
by
WSwalterwood44
1 day, 4 hours ago -
Make a Windows 11 Local Account Passwordless
by
Drcard:))
3 days, 18 hours ago -
Ubuntu 25.04 (Plucky Puffin)
by
Alex5723
4 days, 1 hour ago -
24H2 fixed??
by
CWBillow
2 days, 18 hours ago -
Uninstalr Updates
by
jv16
4 days, 6 hours ago -
Apple zero days for April
by
Susan Bradley
3 hours, 36 minutes ago -
CVE program gets last-minute funding from CISA – and maybe a new home
by
Nibbled To Death By Ducks
3 days, 4 hours ago -
Whistleblower describes DOGE IT dept rumpus at America’s labor watchdog
by
Nibbled To Death By Ducks
5 days, 5 hours ago -
Seeing BSOD’s on 24H2?
by
Susan Bradley
4 days, 12 hours ago -
TUT For Private Llama LLM, Local Installation and Isolated from the Internet.
by
bbearren
4 days, 20 hours ago -
Upgrade from Windows 10 to 11
by
Holdsworth8
5 days, 14 hours 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.