+ Reply to Thread
Results 1 to 6 of 6

VBA Clear Content every 9 rows

  1. #1
    Registered User
    Join Date
    08-01-2015
    Location
    HK
    MS-Off Ver
    2010
    Posts
    49

    VBA Clear Content every 9 rows

    I would like to change original text color from Black to white for every 9 rows using VBA.Does anyone can help to teach me the method ? Thanks.
    Attached Files Attached Files
    Last edited by missbb; 04-22-2020 at 08:59 PM.

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: VBA Clear Content every 9 rows

    Actually I don't think you do as I am guessing to need to start at row 3. Do you really need to change the text colour or just want results displayed

    as a conditional format select the range A3:d32 and use a conditional format
    =MOD(ROW(A3),10)<>3 and slect white as the font colour


    why VBA?
    Last edited by davsth; 04-22-2020 at 04:15 AM.

  3. #3
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,150

    Re: VBA Clear Content every 9 rows

    Quote Originally Posted by missbb View Post
    ... Clear Content every 9 rows
    Quote Originally Posted by missbb View Post
    ... to change original text color from Black to white for every 9 rows ...

    Did you mean it or something else ?
    Please Login or Register  to view this content.

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,158

    Re: VBA Clear Content every 9 rows

    If is as per actual setup then...
    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  5. #5
    Registered User
    Join Date
    08-01-2015
    Location
    HK
    MS-Off Ver
    2010
    Posts
    49

    Re: VBA Clear Content every 9 rows

    Thank you.

  6. #6
    Registered User
    Join Date
    08-01-2015
    Location
    HK
    MS-Off Ver
    2010
    Posts
    49

    Re: VBA Clear Content every 9 rows

    why VBA? it is because I am learning VBA.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Clear Rows Content Based on Cell value and key word
    By Excelnewb1567 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-14-2018, 07:05 PM
  2. [SOLVED] Clear content referencing another cell's same content
    By papusale in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-08-2015, 05:21 AM
  3. [SOLVED] Clear Content of Select Cells in Newly Inserted Rows and Keep Data Validation
    By n_lindsey in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-02-2013, 02:22 AM
  4. Add X# of rows copy formula and clear content
    By angelmoure in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-07-2012, 05:07 PM
  5. Clear the content of the last 6 rows
    By dwalton5 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-02-2011, 10:54 AM
  6. Replies: 2
    Last Post: 08-28-2011, 02:39 AM
  7. Clear content
    By spoko in forum Excel General
    Replies: 2
    Last Post: 08-29-2007, 10:51 PM

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