Experts Exchange connects you with the people and services you need so you can get back to work.
Dim LastRow As Long
LastRow = ActiveSheet.UsedRange.Rows.Count
Rows(LastRow & ":" & LastRow).Select
Rows(LastRow + 1 & ":" & LastRow + 1).Select
Application.CutCopyMode = False
Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
Open in new window
The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.
One of a set of tools we're offering as a way of saying thank you for being a part of the community.
Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo do_nothing
If Not Intersect(Range("G:G"), Target) Is Nothing Then
Application.EnableEvents = False
Application.ScreenUpdating = False
If Target.Interior.Color <> Target.Offset(1, 0).Interior.Color Or _
Target.Borders(xlEdgeRight).LineStyle <> Target.Offset(1, 0).Borders(xlEdgeRight).LineStyle Then
Rows(Target.Row + 1).Insert Shift:=xlDown
Rows(Target.Row).Copy Rows(Target.Row).Offset(1, 0)
Rows(Target.Row + 1).ClearContents
Rows(Target.Row + 1).Cells(1, 1).Value = Date
Application.ScreenUpdating = True
Application.EnableEvents = True
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.