Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

Grouping problem in a Pivot Table Macro - Excel 2010

$
0
0

When using a macro on a Pivot Table to group a column of dates into Quarters, I am receiving a "Do you want to replace the contents of the destination cells in [Book1]Scrap?"  This does not happen if I step through in debug mode but happens about 80% of the time if I just let the macro run.

The offending line is: 

Selection.Group Start:=True, End:=True, Periods:=Array(False, False, False, _
        False, False, True, False)

There are no blank cells and I have confirmed that the format is a date.

Any Ideas?


Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>