Rock my World

rascl5

New Member
Joined
Mar 19, 2009
Messages
9
Need to know how to use a 'date field', specifically in a chosen column, (lets say column C) that will transfer an entire row of information to another tab - next in line.
Example 03/19/09 to the 'tab/worksheet' labeled 03?
Is this possible?
 
Try

Rich (BB code):
Private Sub Worksheet_Change(ByVal Target As Range)
Dim LR As Long
If Target.Column = 6 Then
    Application.EnableEvents = False
    With Sheets(Format(Month(Target.Value), "00"))
        LR = .Range("A" & Rows.Count).End(xlUp).Row
        Range("A" & Target.Row & ":R" & Target.Row).Copy Destination:=.Range("A" & LR + 1)
    End With
    Target.EntireRow.Delete
    Application.EnableEvents = True
End If
End Sub


Sorry - not a thing. Is there anything else I may not be providing that would help explain the situation at hand? :confused:
 
Upvote 0

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
1. Make sure that macros are enabled: Tools > Macro > Security.

2. Make sure that events are enabled: In the code window press CTRL + G to open the Immediate Window, type in

Application.EnableEvents = True

and press Enter.
 
Upvote 0
1. Make sure that macros are enabled: Tools > Macro > Security.

2. Make sure that events are enabled: In the code window press CTRL + G to open the Immediate Window, type in

Application.EnableEvents = True

and press Enter.


No Luck - must be something on my end -thank you.
 
Upvote 0

Forum statistics

Threads
1,215,824
Messages
6,127,107
Members
449,358
Latest member
Snowinx

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