Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am creating a subroutine to dump pivot table info into the Immediate window
using Debug.Print. I would like to use the WITH procedure...how do I do it? I'm not too familiar with the intricacies of the WITH syntax. This is what I'm looking for: If ShowMeAll Then Debug.Print With WSheet.PivotTables(iIndex).PivotCache "BackgroundQuery=" & .BackgroundQuery & "; " "EnableRefresh= " & .EnableRefresh End With End If Thus the output I would see would be: BackgroundQuery= False; EnableRefresh = True My output will actually be bigger as I'll be pulling more PivotCache info but if I can just get the beginning started... Thanks! -- Toby Erkson Oregon, USA Excel 2003 in Windows XP |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Stop a Procedure from another procedure | Excel Discussion (Misc queries) | |||
Help required to debug mailmerge procedure | Excel Programming | |||
Calling a procedure in a procedure | Excel Programming | |||
Debug.Print | Excel Programming |