|
-
May 19th, 2006, 05:59 PM
#1
Thread Starter
Addicted Member
Case problem
While running a Case, why can't I use the following instruction:
VB Code:
ActiveSheet.PivotTables("PivotTable3").PivotFields("Territory").CurrentPage = cbo1Selection
Last edited by Fonty; May 23rd, 2006 at 12:42 PM.
-
May 20th, 2006, 03:38 AM
#2
Lively Member
Re: Case problem
I assume this is a continuation of your previous post?
I don't have any experience with pivot tables, but maybe your problem is due to the use of cbo1Selection, which is defined within a change event procedure for your combobox and you are trying to call it from another procedure.
If the above is correct you will be getting a "variable not defined" error.
Last edited by New2vba; May 20th, 2006 at 04:13 AM.
"Those things we must learn to do, we must learn by doing" (or hope somebody else will take pity and help out )
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|