Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel.worksheetfunctions
external usenet poster
 
Posts: 1
Default Group data in pivot using VBA


In Excel, we can group data in a field, for example:

We can group A1, A2, A2 as List_of_1.

Is there a way to do this via VBA? I have a lot data points to group
and I want to automate the process.

Thanks in advance.

Nick.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 459
Default Group data in pivot using VBA

Nel post oups.com
*Nick* ha scritto:

In Excel, we can group data in a field, for example:

We can group A1, A2, A2 as List_of_1.

Is there a way to do this via VBA? I have a lot data points to group
and I want to automate the process.

Thanks in advance.

Nick.


Hi Nick,

record a macro by the macro recorder, then post the obtained code so we can
help you to modify it...


--
(I'm not sure of names of menus, options and commands, because
translating from the Italian version of Excel...)

Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


  #3   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel.worksheetfunctions
external usenet poster
 
Posts: 246
Default Group data in pivot using VBA

Range("A1:A3").name = "List_of_1"

Rgds
J

Nick wrote:
In Excel, we can group data in a field, for example:

We can group A1, A2, A2 as List_of_1.

Is there a way to do this via VBA? I have a lot data points to group
and I want to automate the process.

Thanks in advance.

Nick.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Table - add new group to original data Phippsy Excel Discussion (Misc queries) 1 September 21st 09 06:00 PM
I am getting an error when I try to group data in a pivot table. BFOR Excel Worksheet Functions 2 February 20th 09 05:45 PM
How do you group data in a Pivot Table? rhianna New Users to Excel 1 March 28th 07 01:20 AM
Why does the pivot table not allow me to group data? Forrest Excel Discussion (Misc queries) 6 January 13th 06 01:12 AM
Group Pivot data by week cbrah Excel Programming 2 July 24th 05 12:29 PM


All times are GMT +1. The time now is 01:56 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"