H
hall.jeff
A client of ours is using our excel software and is having vaguely
random (but frequent) crashes during print.
I believe that the problem is related to corrupt or erroneous metafile
data.
1) Problem occurs at print time (we've tracked the crashing down to
the actual print command)
2) Stepping through the code makes the problem not happen
3) Inserting "Do Events" immediately before and after the error does
NOT fix the problem
4) The problem is isolated to specific users who always have access to
a weird printer. The problem persists even when they don't use said
printer
5) The problem may or may not have something to do with footers that
we dynamically add (via VBA code)
6) The problem persists to other users IF (and only if) they print the
files directly out of email (have not tested printing directly off the
network). If the files are saved FIRST and then printed then the error
does not occur. NOTE: Savings first does not necessarily fix the
problems for the primary error individual.
7) Opening and savings a file from the primary error individual
results in a somewhat drastic file size decrease (generally >10%)
8) The problem GENERALLY occurs with larger spreadsheets but not
always
Taken altogether, I believe that the file must save metadata for each
printer it CAN print to.... As a result of the weird printer, there is
bad metadata that gets used that can't be passed to the final printer.
My questions then are: How can I confirm my hypothesis? If I turn out
to be right, what the heck do I do?
random (but frequent) crashes during print.
I believe that the problem is related to corrupt or erroneous metafile
data.
1) Problem occurs at print time (we've tracked the crashing down to
the actual print command)
2) Stepping through the code makes the problem not happen
3) Inserting "Do Events" immediately before and after the error does
NOT fix the problem
4) The problem is isolated to specific users who always have access to
a weird printer. The problem persists even when they don't use said
printer
5) The problem may or may not have something to do with footers that
we dynamically add (via VBA code)
6) The problem persists to other users IF (and only if) they print the
files directly out of email (have not tested printing directly off the
network). If the files are saved FIRST and then printed then the error
does not occur. NOTE: Savings first does not necessarily fix the
problems for the primary error individual.
7) Opening and savings a file from the primary error individual
results in a somewhat drastic file size decrease (generally >10%)
8) The problem GENERALLY occurs with larger spreadsheets but not
always
Taken altogether, I believe that the file must save metadata for each
printer it CAN print to.... As a result of the weird printer, there is
bad metadata that gets used that can't be passed to the final printer.
My questions then are: How can I confirm my hypothesis? If I turn out
to be right, what the heck do I do?