Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How do I change the code at the bottom to reference all the selected
cells in the source table/ The number of cells changes every time. In other words what syntax replaces R1C6:R392C8? to reference the selected cells whatever they may be? I am obviously not at all proficient in this endeavor. Thanks ================================================== ======= ActiveWorkbook.PivotCaches.Add(SourceType:=xlDatab ase, SourceData:= _ "rents!R1C6:R392C8") ================================================== ======= |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ed, take a look at "PivotTableWizard" in the VBA help.
HTH—Lonnie M. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
function to reference value selected with autofilter | Excel Worksheet Functions | |||
Multiple cells or columns are selected instead of selected cell or | Excel Discussion (Misc queries) | |||
Cells are selected but aren't displayed as selected | Excel Discussion (Misc queries) | |||
Cells are selected but aren't displayed as selected | Excel Worksheet Functions | |||
Macro to take selected cells times a selected cell | Excel Programming |