Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Invisible Black Box is Printing

I have a 2007 workbook I receive from an outside vendor. I am running 2003.
When I open the workbook Sheet1 looks fine, but in Print Preview and when I
print the sheet several black boxes appear and obscure the data. I have tried
using GoTo|Special|Objects, using Select Objects from the Drawing Toolbar,
and deleting the columns and rows but they still show up. I can copy the data
to another sheet in the workbook and it's fine. Any idea what these boxes are
and how I get rid of them?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Invisible Black Box is Printing

They are probably Shapes. This little macro will remove them:

For Each s In ActiveSheet.Shapes
s.Delete
Next
End Sub

Macros are very easy to install and use:

1. ALT-F11 brings up the VBE window
2. ALT-I
ALT-M opens a fresh module
3. paste the stuff in and close the VBE window

If you save the workbook, the macro will be saved with it.

To remove the macro:

1. bring up the VBE window as above
2. clear the code out
3. close the VBE window

To use the macro from Excel:

1. ALT-F8
2. Select the macro
3. Touch RUN

To learn more about macros in general, see:

http://www.mvps.org/dmcritchie/excel/getstarted.htm

--
Gary''s Student - gsnu201003


"bugsyb" wrote:

I have a 2007 workbook I receive from an outside vendor. I am running 2003.
When I open the workbook Sheet1 looks fine, but in Print Preview and when I
print the sheet several black boxes appear and obscure the data. I have tried
using GoTo|Special|Objects, using Select Objects from the Drawing Toolbar,
and deleting the columns and rows but they still show up. I can copy the data
to another sheet in the workbook and it's fine. Any idea what these boxes are
and how I get rid of them?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Invisible Black Box is Printing

Thanks for trying but that didn't do anything either. When I went in to print
preview to test that macro I did notice that those boxes appear in the exact
same spot on every page. I decided to play with filling the cell with a
different color to see if that made a difference, and it did. I filled the
cells and it covered the boxes everywhere but in the footer area which made
me wonder if it was a header/footer issue. It was! Somehow - maybe during
conversion from 2007 to 2003 - the header text grew to font size 409 causing
it to show up in the middle of the page. Weird, but at least I figured it out.

"Gary''s Student" wrote:

They are probably Shapes. This little macro will remove them:

For Each s In ActiveSheet.Shapes
s.Delete
Next
End Sub

Macros are very easy to install and use:

1. ALT-F11 brings up the VBE window
2. ALT-I
ALT-M opens a fresh module
3. paste the stuff in and close the VBE window

If you save the workbook, the macro will be saved with it.

To remove the macro:

1. bring up the VBE window as above
2. clear the code out
3. close the VBE window

To use the macro from Excel:

1. ALT-F8
2. Select the macro
3. Touch RUN

To learn more about macros in general, see:

http://www.mvps.org/dmcritchie/excel/getstarted.htm

--
Gary''s Student - gsnu201003


"bugsyb" wrote:

I have a 2007 workbook I receive from an outside vendor. I am running 2003.
When I open the workbook Sheet1 looks fine, but in Print Preview and when I
print the sheet several black boxes appear and obscure the data. I have tried
using GoTo|Special|Objects, using Select Objects from the Drawing Toolbar,
and deleting the columns and rows but they still show up. I can copy the data
to another sheet in the workbook and it's fine. Any idea what these boxes are
and how I get rid of them?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Black box when printing embedded chart to XPS PsychoMachine Charts and Charting in Excel 0 January 25th 08 07:54 PM
Black and white printing jerminski73 Excel Worksheet Functions 2 December 7th 07 08:58 PM
Printing black text only kk122 Excel Discussion (Misc queries) 2 February 3rd 06 02:01 AM
red border black printing ED New Users to Excel 1 March 28th 05 11:17 PM
Cell borders printing black instead of grey julie@mwfc Excel Discussion (Misc queries) 1 February 23rd 05 12:19 AM


All times are GMT +1. The time now is 11:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"