Hi all,
I have an error with these lines of code:
Please help. Thanks
I have an error with these lines of code:
Code:
Dim StartDate as Date, EndDate as Date
StartDate = InputBox("")
EndDate = InputBox("")
ActiveSheet.PivotTables("xLabor").PivotField("CSVFile].[Account].[Account]".PivotFilters.Add2 , xlDateBetween, Value1:=StartDate, Value2:=EndDAte
Please help. Thanks
Last edited: