Here is what I am trying to do
Sub mroCopyShrinkageData()
On Error GoTo TheEnd
' Macro written on
'----------------
'N O T E S
'
'Must Start this macro on the source data workbook
'----------------
Application.ScreenUpdating = False
Dim currCell As String
Dim strData As String
Dim strDestination As String
temp = DatePart("m", Date) - 1
currMonth = MonthName(temp, 1) & Format(Date, "yy")
'currMonth = MonthName(temp, 1)
strData = currMonth & "MonthlyDATA.xls" '* * * * SOURCE DATA
strDestination = "ISA_" & currMonth & "_Network" & ".xls" '* * DESTINATION
'==========================================
Windows(strData).Activate 'DATA SHEET
Range(ActiveCell, ActiveCell.Offset(0, 13)).Select
Selection.Copy
ActiveCell.Offset(1, 0).Select
Windows(strDestination).Activate ' DESTINATION SHEET
Range("A60").Select
currCell = ActiveCell.Address
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("c60").Select
Selection.Copy
++++++++++++++
Here I want to activate the cell on the destination sheet that is equal to A60 (which is date) I want it to find the same date in column and then offset 1 (column B) in that row.
like
19-Jun
**********************************************************
ActiveCell.Offset(????????).Activate
'* * * Planned Hours
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=True
ActiveCell.HorizontalAlignment = xlCenter
'* * * Leave of Absence
Range("d60").Select
'ActiveCell.Value = ActiveCell.Value '/ 100
Selection.Copy
Hope that make sense.....
Sub mroCopyShrinkageData()
On Error GoTo TheEnd
' Macro written on
'----------------
'N O T E S
'
'Must Start this macro on the source data workbook
'----------------
Application.ScreenUpdating = False
Dim currCell As String
Dim strData As String
Dim strDestination As String
temp = DatePart("m", Date) - 1
currMonth = MonthName(temp, 1) & Format(Date, "yy")
'currMonth = MonthName(temp, 1)
strData = currMonth & "MonthlyDATA.xls" '* * * * SOURCE DATA
strDestination = "ISA_" & currMonth & "_Network" & ".xls" '* * DESTINATION
'==========================================
Windows(strData).Activate 'DATA SHEET
Range(ActiveCell, ActiveCell.Offset(0, 13)).Select
Selection.Copy
ActiveCell.Offset(1, 0).Select
Windows(strDestination).Activate ' DESTINATION SHEET
Range("A60").Select
currCell = ActiveCell.Address
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("c60").Select
Selection.Copy
++++++++++++++
Here I want to activate the cell on the destination sheet that is equal to A60 (which is date) I want it to find the same date in column and then offset 1 (column B) in that row.
like
19-Jun
**********************************************************
ActiveCell.Offset(????????).Activate
'* * * Planned Hours
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=True
ActiveCell.HorizontalAlignment = xlCenter
'* * * Leave of Absence
Range("d60").Select
'ActiveCell.Value = ActiveCell.Value '/ 100
Selection.Copy
Hope that make sense.....