+ Reply to Thread
Results 1 to 3 of 3

Worksheet backcolor within range

Hybrid View

  1. #1
    Stanley
    Guest

    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. #2
    Ron de Bruin
    Guest

    Re: Worksheet backcolor within range

    Hi Stanly

    You can use
    ActiveWindow.DisplayGridlines = False



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


    "Stanley" <Stanley@discussions.microsoft.com> wrote in message news:7167C387-9A48-4784-B0DD-E067242B6226@microsoft.com...
    >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. #3
    Ron de Bruin
    Guest

    Re: 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" <rondebruin@kabelfoon.nl> wrote in message news:eV2edZfIGHA.1312@TK2MSFTNGP09.phx.gbl...
    > Hi Stanly
    >
    > You can use
    > ActiveWindow.DisplayGridlines = False
    >
    >
    >
    > --
    > Regards Ron de Bruin
    > http://www.rondebruin.nl
    >
    >
    > "Stanley" <Stanley@discussions.microsoft.com> wrote in message news:7167C387-9A48-4784-B0DD-E067242B6226@microsoft.com...
    >>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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1