J
John Pierce
Hello Experts,
I enter a date on a form, e.g., "04/09/06", and if I step
through the code, and click on the variable StartDate,
I get the little box that says StartDate = "04/09/06".
Great. Then I write the data to a sheet, like this,
..Offset(0, 2).Value = StartDate
..Offset(0, 3).Value = Format(StartDate, "mm/yy")
On the spreadsheet they look like this: 04/09/06 04/06
But in the Formula Bar they look this: 4/9/2006 4/6/2006
I am using the column with the mm/yy as a Row in a
Pivot Table. The Pivot Table works fine, but the labels
don't make sense and I can't get them to change.
Down the left side of the Table is a column with
4/6/2006
4/6/2006 Total
5/6/2006
5/6/2006 Total
etc.
The PivotTable is using what shows in the Formula Bar.
Why is that different from what is in the Cells?
I enter a date on a form, e.g., "04/09/06", and if I step
through the code, and click on the variable StartDate,
I get the little box that says StartDate = "04/09/06".
Great. Then I write the data to a sheet, like this,
..Offset(0, 2).Value = StartDate
..Offset(0, 3).Value = Format(StartDate, "mm/yy")
On the spreadsheet they look like this: 04/09/06 04/06
But in the Formula Bar they look this: 4/9/2006 4/6/2006
I am using the column with the mm/yy as a Row in a
Pivot Table. The Pivot Table works fine, but the labels
don't make sense and I can't get them to change.
Down the left side of the Table is a column with
4/6/2006
4/6/2006 Total
5/6/2006
5/6/2006 Total
etc.
The PivotTable is using what shows in the Formula Bar.
Why is that different from what is in the Cells?