ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,832
- Office Version
- 2007
- Platform
- Windows
Afternoon all,
I am using the code shown below to copy the data from HONDA SHEET A17:G17 to HONDA LIST A4:G4
This happens after i make my selection from a drop list down in cell F17
On the HONDA LIST worksheet is the code shown below which highlights the rows A4;G4 so its more easier for me to see the data within the cells.
The above works well apart from the cell F4 on HONDA LIST worksheet doesnt change color where the other cells in Row 4 do.
Do you see an issue as to why or maybe advise an edit to force it to work.
Many thanks.
I am using the code shown below to copy the data from HONDA SHEET A17:G17 to HONDA LIST A4:G4
This happens after i make my selection from a drop list down in cell F17
Code:
Sub sheettolist()'
' sheettolist Macro
Sheets("HONDA SHEET").Range("A17:G17").Copy
Sheets("HONDA LIST").Range("A4").Insert Shift:=xlDown
Application.CutCopyMode = False
Sheets("HONDA LIST").Range("A4").Characters(Start:=10, Length:=1).Font.ColorIndex = 3
ActiveWorkbook.Save
Sheets("HONDA SHEET").Range("A13").Select
End Sub
On the HONDA LIST worksheet is the code shown below which highlights the rows A4;G4 so its more easier for me to see the data within the cells.
Code:
Private Sub SortVinButton_Click()
Dim x As Long
Application.ScreenUpdating = False
With Sheets("HONDA LIST")
If .AutoFilterMode Then .AutoFilterMode = False
x = .Cells(.Rows.Count, 1).End(xlUp).Row
.Range("A3:G" & x).Sort Key1:=Range("A4"), Order1:=xlAscending, Header:=xlGuess
End With
ActiveWorkbook.Save
Application.ScreenUpdating = True
Sheets("HONDA LIST").Range("A4").Select
End Sub
The above works well apart from the cell F4 on HONDA LIST worksheet doesnt change color where the other cells in Row 4 do.
Do you see an issue as to why or maybe advise an edit to force it to work.
Many thanks.