+ Reply to Thread
Results 1 to 3 of 3

code is adding unintended shading and formatting

  1. #1
    Registered User
    Join Date
    03-15-2018
    Location
    Michigan
    MS-Off Ver
    2010 Office
    Posts
    15

    code is adding unintended shading and formatting

    Hello,

    I have this code to allow new values to be inserted above a column of data

    Please Login or Register  to view this content.
    But it is adding shading to the top row every time I hit enter as well as automatically centering and bolding the text (which I don't want)

    These are characteristics of the title row I have above it, and I am not sure if there is a way to change this in the code or just in formatting the sheet without changing the cells every time something is added.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: code is adding unintended shading and formatting

    Try this...

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    03-15-2018
    Location
    Michigan
    MS-Off Ver
    2010 Office
    Posts
    15

    Re: code is adding unintended shading and formatting

    Perfect, that did it. Thank you !

+ 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. [SOLVED] Adding Check Box 3D Shading to a Macro
    By madger in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-01-2014, 11:10 AM
  2. [SOLVED] Conditional Formatting - shading weekends
    By jennbates in forum Excel General
    Replies: 2
    Last Post: 05-03-2012, 02:37 PM
  3. Replies: 1
    Last Post: 02-28-2012, 02:00 PM
  4. Shading Columns with Conditional Formatting
    By Hypnopoison in forum Excel General
    Replies: 1
    Last Post: 04-02-2011, 05:17 AM
  5. Shading/Formatting
    By tadessa in forum Excel General
    Replies: 1
    Last Post: 02-25-2010, 07:25 PM
  6. Unintended change to Excel VBA code
    By Conrad Carlberg in forum Excel General
    Replies: 2
    Last Post: 11-10-2005, 12:00 PM
  7. [SOLVED] conditional formatting-shading
    By Shooter in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-23-2005, 05:06 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