Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Stanley
 
Posts: n/a
Default Worksheet backcolor within range

I am using VBA to create a new worksheet and then copy over some values.
However, I need to make the background all white so as to not show the lines
between cells. I need to do this via VBA as it has to be an automated process.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron de Bruin
 
Posts: n/a
Default Worksheet backcolor within range

Hi Stanly

You can use
ActiveWindow.DisplayGridlines = False



--
Regards Ron de Bruin
http://www.rondebruin.nl


"Stanley" wrote in message ...
I am using VBA to create a new worksheet and then copy over some values.
However, I need to make the background all white so as to not show the lines
between cells. I need to do this via VBA as it has to be an automated process.



  #3   Report Post  
Posted to microsoft.public.excel.misc
Ron de Bruin
 
Posts: n/a
Default Worksheet backcolor within range

For a range you can use this

Range("A1:B20").Interior.ColorIndex = 2


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Ron de Bruin" wrote in message ...
Hi Stanly

You can use
ActiveWindow.DisplayGridlines = False



--
Regards Ron de Bruin
http://www.rondebruin.nl


"Stanley" wrote in message ...
I am using VBA to create a new worksheet and then copy over some values.
However, I need to make the background all white so as to not show the lines
between cells. I need to do this via VBA as it has to be an automated process.





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
How do I reduce the range of a saved worksheet? John Britten Excel Discussion (Misc queries) 3 September 4th 08 09:46 AM
subtotal a range of cells on a different worksheet cheryl Excel Worksheet Functions 0 November 2nd 05 08:37 PM
Macro to print a selected range, not entire worksheet James C Excel Discussion (Misc queries) 3 October 19th 05 10:12 PM
can bin range for histograms be on a different worksheet? onereallyfrustratedcamper Excel Discussion (Misc queries) 1 May 20th 05 07:08 AM
limit worksheet view to specified cell range Mike Setting up and Configuration of Excel 2 December 16th 04 11:13 PM


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

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

About Us

"It's about Microsoft Excel"