Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Can I lock the selection in the pivot table?


Hi!

I have set in my code (vba) for a page field as

objMyPivotTable.PivotFields("Category").CurrentPag e = "Admin"

I would like this page field to be locked. That is user can not mak
selection for the Category field any more.

Is there any way to do that?


Thanks,

Aijun

--
Ai_Jun_Zhan
-----------------------------------------------------------------------
Ai_Jun_Zhang's Profile: http://www.excelforum.com/member.php...fo&userid=2547
View this thread: http://www.excelforum.com/showthread.php?threadid=47085

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Can I lock the selection in the pivot table?

Why not sort the source data on "Category" and build this table only from
the data with a Category of Admin (You probably will need to insert rows
between categories and copy the header row to each category.

--
Regards,
Tom Ogilvy


"Ai_Jun_Zhang"
wrote in message
news:Ai_Jun_Zhang.1vzcqg_1127761533.5192@excelforu m-nospam.com...

Hi!

I have set in my code (vba) for a page field as

objMyPivotTable.PivotFields("Category").CurrentPag e = "Admin"

I would like this page field to be locked. That is user can not make
selection for the Category field any more.

Is there any way to do that?


Thanks,

Aijun.


--
Ai_Jun_Zhang
------------------------------------------------------------------------
Ai_Jun_Zhang's Profile:

http://www.excelforum.com/member.php...o&userid=25474
View this thread: http://www.excelforum.com/showthread...hreadid=470857



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Can I lock the selection in the pivot table?

I am also in sort of the same situation. I need to lock teh column and row
fields from my pivot table. The data in the original table cannot be sorted
to the variables i need in this table as it is already sorted according to
some other criteria.

Any ideas??

--
Mariano

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 Selection Sandeep Jangra[_2_] Excel Discussion (Misc queries) 2 October 10th 08 05:32 PM
I need to lock pivot table header row height summervi Excel Discussion (Misc queries) 2 July 25th 07 10:38 PM
pivot table selection bayanbaru Excel Worksheet Functions 0 June 28th 05 01:21 AM
Pivot Table - Multiple Pivot Field Selection Paul Mac.[_2_] Excel Programming 3 November 10th 03 01:13 PM
Pivot table selection John Thomas Excel Programming 0 July 31st 03 12:06 AM


All times are GMT +1. The time now is 09:32 AM.

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

About Us

"It's about Microsoft Excel"