arthwollipot
Limerick Purist Pronouns: He/Him
The macro was a very simple one - a button to add a row to a protected table. That's literally all it did.Is a macro or some VBA still running? Or paused without being stopped? Sometimes in debug mode.
The macro was a very simple one - a button to add a row to a protected table. That's literally all it did.Is a macro or some VBA still running? Or paused without being stopped? Sometimes in debug mode.
Sure. So did it finish properly? Sometimes unforeseen circumstances cause macros to stall rather than complete. They look like they have worked OK but they freeze at the end. (That, or my coding is up to crap nowadaysThe macro was a very simple one - a button to add a row to a protected table. That's literally all it did.
The macro, as far as I could tell, was working perfectly.Sure. So did it finish properly? Sometimes unforeseen circumstances cause macros to stall rather than complete. They look like they have worked OK but they freeze at the end. (That, or my coding is up to crap nowadays) I've had similar "problems" in Excel VBA, where it won't save or even allow cell selection because of a stuck macro. Disconcerting!
No, the original macro was created, probably, years ago in a document that is now used as a template. Ie. open the document, make changes, Save As to make a copy, close the original without saving. This team had been doing this for I don't know how long. It was just this one time it was having a problem.Was a macro still recording?
Just had a bit of a blow to my professional pride.
Client was working in a macro-enabled Word document. She selects Save As, edits the filename and selects the location and clicks Save. Word thinks for a few seconds then the Save As dialog box comes back up and the document is not saved. Tried multiple different filenames and locations, same result. No indication in Properties or Protection of any issue. I absolutely could not determine the cause of the problem. I tried every trick I've learned about Word documents since 1995. No luck. The document just would not save.
She had to finalise the document somehow tonight, so I closed it as an unresolved issue.
Just had a bit of a blow to my professional pride.
Client was working in a macro-enabled Word document. She selects Save As, edits the filename and selects the location and clicks Save. Word thinks for a few seconds then the Save As dialog box comes back up and the document is not saved. Tried multiple different filenames and locations, same result. No indication in Properties or Protection of any issue. I absolutely could not determine the cause of the problem. I tried every trick I've learned about Word documents since 1995. No luck. The document just would not save.
She had to finalise the document somehow tonight, so I closed it as an unresolved issue.
It doesn't happen with any other report, any other use role, or any other type of printer.
Computers are weird.
Nope.Could her windows credentials have expired? Nothing in eventvwr?
And nope.Open dialogue window is open and hidden under the main one? That's got me a few times.
Nope. All macros that run in our environment have to be digitally signed by our IT Security unit.Hmmm.
Over-zealous anti-virus? Any Office doc with a Macro tends to make AV nervous.
Especially if the save location was remote (a server or file share) instead of local.
I once had a similar issue - it was a much earlier version of Word. It would spool a few pages without any trouble, but when it got to a certain page it crashed Word. I copied all the preceding pages to a new document - no problem. I copied all of the later pages - no problem.I recently had a Word document that refused to print. It would say it was printing, but it would vanish into the ether; not printing, not sitting in the print queue, nothing. Just gone. It was a document containing nothing but the company letterhead, so it was used for any official letter. If I converted it into a PDF, it would print, but not the original Word document. We eventually determined that the new printer apparently doesn't like the font that was used to type the company address at the bottom of the page. Once it was changed to a different font, it printed just fine.
That's almost certainly an unprintable character. It may be hidden as well. Have run into those bastages before too. The Windows print routine has a conniption fit trying to figure it out and then gives up. Delete the one letter or word and you have also deleted the hidden thing. Retype, and the world is bright again. Grrr... You have used just about the only way to find it, so well done.I once had a similar issue - it was a much earlier version of Word. It would spool a few pages without any trouble, but when it got to a certain page it crashed Word. I copied all the preceding pages to a new document - no problem. I copied all of the later pages - no problem.
Okay, said I, the problem is somewhere on this page. I copied the top half of the page - no problem. I copied the bottom half of the page - problem.
Aha, said I, the problem is somewhere on the bottom half of this page.
Repeating this process several times, I narrowed the problem down to one single letter - a lower case "a". I went back to the original document, deleted and re-typed the "a", and it printed perfectly.
Yep, that's how I learned that that could happen. Boy, that was a long time ago. Probably around 1996 or so, I think.That's almost certainly an unprintable character. It may be hidden as well. Have run into those bastages before too. The Windows print routine has a conniption fit trying to figure it out and then gives up. Delete the one letter or word and you have also deleted the hidden thing. Retype, and the world is bright again. Grrr... You have used just about the only way to find it, so well done.
I had a similarly weird thing years ago. A customer was running some our code on an AS400. Every now and then one particular job would die on a missing file error. It seemed completely random, and we couldn't find any reason for it.
But after several months we realized it only happened on Wednesdays, and only when the job was initiated on a terminal where the second character of the Workstation ID was the letter E. We tested and confirmed that was the trigger for the error.
That did finally point us in the right direction and I found the problem (field overlap in a data area). But that remains the weirdest combination of factors to trigger a bug I think I've ever run across.
I visit daily, along with The Whiteboard, Freefall and xkcd.Oh Station was cool. I like how we're getting occasional glimpses into what Hanners is doing, but I like her character and I hope she comes back as a regular soon.
Seriously, QC is my soap opera. I re-read the complete archive from time to time.
Oh, I could start a whole thread on webcomics.I visit daily, along with The Whiteboard, Freefall and xkcd.
Oglaf. (NSFW)Oh, I could start a whole thread on webcomics.