Alternate table row colours not changing in one column

dpaton05

Well-known Member
Joined
Aug 14, 2018
Messages
2,362
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I have a table in a sheet where I enter information for quotes. I have uploaded my spreadsheet. Open it and press the button "Send to costing tool" that is on the sheet "npss_quote_sheet" about 4 or 5 times. It should paste the row on the first sheet to a table on the sheet "Costing_tool with different colours for alternate rows as what normally happens for a table. All the rows have alternate colours except cells in column F. Can someone tell me how I fix it so it looks like a normal table please?

https://drive.google.com/file/d/1q5bXhu_oMaax7MGQuMGCOUB_N18_IOH5/view?usp=sharing

Thanks,
Dave
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Try

Code:
Sub MM1()
Dim r As Long
For r = 6 To Range("A" & Rows.Count).End(xlUp).Row Step 2
    Rows(r).EntireRow.Interior.ColorIndex = 2
Next r
End Sub
 
Upvote 0
Before clicking the "Send to costing tool" button,
try Selecting F5 on Costing_tool and formatting the fill as No Color.
 
Last edited:
Upvote 0
I fixed the problem. Selected a cell in tblCosting that had the correct formatting, hit format painter and then selected the cell with the formatting issue.
 
Upvote 0
Yeah, but do you want to do that every time ???
 
Upvote 0
Yeah, but do you want to do that every time ???
Doesn't need to. It is a table so the rows automatically get the colour banding now that the rogue formatting in that one cell (F2) has been corrected.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top