All,
I am certain there's a simple answer to this but it has been baffling
me so I'm throwing it open to the world after searching the archives
with little success.
In my worksheet, I have inserted images conditional on cells containing
certain values. The code is as follows:
~~~~~~~~~~~~
Private Sub Worksheet_Calculate()
Me.Shapes(quot;Picture 1quot;).Visible = (Range(quot;C14quot;) = 2)
Me.Shapes(quot;Picture 2quot;).Visible = (Range(quot;C23quot;) = 5.76)
End Sub
~~~~~~~~~~~~
The images appear without any problem and all is well on-screen.
However, I cannot get the images to print and I am unsure as to how to
fix this. I've checked the image properties and the quot;print objectquot; box
is checked so it would seem that it should print but doesn't. What's
the simple thing I am overlooking which will make those images appear
when printed?
Thanks in advance!Do the pictures show up in file|Print preview?
If yes, then it's not excel. Maybe try a different printer or get a newer
driver for the existing printer???Trav wrote:
gt;
gt; All,
gt;
gt; I am certain there's a simple answer to this but it has been baffling
gt; me so I'm throwing it open to the world after searching the archives
gt; with little success.
gt;
gt; In my worksheet, I have inserted images conditional on cells containing
gt; certain values. The code is as follows:
gt;
gt; ~~~~~~~~~~~~
gt; Private Sub Worksheet_Calculate()
gt; Me.Shapes(quot;Picture 1quot;).Visible = (Range(quot;C14quot;) = 2)
gt; Me.Shapes(quot;Picture 2quot;).Visible = (Range(quot;C23quot;) = 5.76)
gt; End Sub
gt; ~~~~~~~~~~~~
gt;
gt; The images appear without any problem and all is well on-screen.
gt; However, I cannot get the images to print and I am unsure as to how to
gt; fix this. I've checked the image properties and the quot;print objectquot; box
gt; is checked so it would seem that it should print but doesn't. What's
gt; the simple thing I am overlooking which will make those images appear
gt; when printed?
gt;
gt; Thanks in advance!
--
Dave Peterson
Dave,
The images do not appear in the Print Preview. However, I've tried the
file on three separate computers connected to three separate printers
and the result is the same each time (images don't print or appear in
Print Preview). I was thinking along the lines that perhaps it's
because they are conditional images that they do not appear in the
Print Preview. My reasoning is that the same images inserted into the
worksheet as basic pictures (ie. non-conditional) appear in Print
Preview and print without problem.
Trav.Dave Peterson wrote:
gt; Do the pictures show up in file|Print preview?
gt; If yes, then it's not excel. Maybe try a different printer or get a newer
gt; driver for the existing printer???But once the pictures are there, they don't know how they got there.
Are you sure you clicked quot;Printquot; for all the pictures?
Trav wrote:
gt;
gt; Dave,
gt;
gt; The images do not appear in the Print Preview. However, I've tried the
gt; file on three separate computers connected to three separate printers
gt; and the result is the same each time (images don't print or appear in
gt; Print Preview). I was thinking along the lines that perhaps it's
gt; because they are conditional images that they do not appear in the
gt; Print Preview. My reasoning is that the same images inserted into the
gt; worksheet as basic pictures (ie. non-conditional) appear in Print
gt; Preview and print without problem.
gt;
gt; Trav.
gt;
gt; Dave Peterson wrote:
gt; gt; Do the pictures show up in file|Print preview?
gt; gt; If yes, then it's not excel. Maybe try a different printer or get a newer
gt; gt; driver for the existing printer???
--
Dave Peterson
Absolutely positive. Even though I was 100.3% sure, I just went and
checked again and now I'm 100.4% certain.Oh .... poop. I've just realised what's happened and I'm not happy -
I'm feeling rather ashamed about this admission.
The original file I was working on had the page setup to exclude
certain columns from printing. I altered that as the first thing I did
before I went to work on modifying it since I knew that would be a
problem. At a point during the middle of the construction I sent it to
a colleague who reviewed it and sent it back to me. In the process of
this emailing, I've somehow managed to overwrite the emailed file with
the original file I think, because the page print setup limitation is
back. I know that I changed this because I tested it immediately
afterward so it's not just a case of me not doing it correctly the
first time - it's a case of me using an old version of the file which
meant I didn't even think to adjust a setting I *knew* that I had
adjusted since it was the first step I'd taken.
I apologise for overlooking something so simple and wasting your brain
cells thinking about my printer drivers...*slinks away into the corner
to put on the big conical hat*But you found it, so that's a good thing.
Trav wrote:
gt;
gt; Oh .... poop. I've just realised what's happened and I'm not happy -
gt; I'm feeling rather ashamed about this admission.
gt;
gt; The original file I was working on had the page setup to exclude
gt; certain columns from printing. I altered that as the first thing I did
gt; before I went to work on modifying it since I knew that would be a
gt; problem. At a point during the middle of the construction I sent it to
gt; a colleague who reviewed it and sent it back to me. In the process of
gt; this emailing, I've somehow managed to overwrite the emailed file with
gt; the original file I think, because the page print setup limitation is
gt; back. I know that I changed this because I tested it immediately
gt; afterward so it's not just a case of me not doing it correctly the
gt; first time - it's a case of me using an old version of the file which
gt; meant I didn't even think to adjust a setting I *knew* that I had
gt; adjusted since it was the first step I'd taken.
gt;
gt; I apologise for overlooking something so simple and wasting your brain
gt; cells thinking about my printer drivers...*slinks away into the corner
gt; to put on the big conical hat*
--
Dave Peterson
- Dec 18 Mon 2006 20:34
Printing conditional images
close
全站熱搜
留言列表
發表留言