Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Pivot Table Worksheets

My workbook creates a series of worksheets (for each division) from a pivot
table. In addition, there are 3 data worksheets that follow the pivot table
created worksheets.

I want to run a macro on the pivot worksheets only (not the last 3 data
sheets). Fumbling around with the For Each and trying to exclude the last 3,
but can't seem to make this work.

Help please ...



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Pivot Table Worksheets

Possibly:

for i = 1 to sheets.count - 3
set sh = sheets(i)
Next

or something similar.

--
Regards,
Tom Ogilvy

"Lambtwo" wrote in message
news:wYrDg.373601$Mn5.151680@pd7tw3no...
My workbook creates a series of worksheets (for each division) from a
pivot table. In addition, there are 3 data worksheets that follow the
pivot table created worksheets.

I want to run a macro on the pivot worksheets only (not the last 3 data
sheets). Fumbling around with the For Each and trying to exclude the last
3, but can't seem to make this work.

Help please ...





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 from 2 worksheets Nadine Excel Worksheet Functions 1 May 11th 10 08:13 AM
linking worksheets into a pivot table Cathi Excel Worksheet Functions 1 October 15th 06 04:08 AM
Pivot table using different worksheets/same workbook Mellie Charts and Charting in Excel 1 December 14th 05 09:06 PM
Pivot Table - Multiple Worksheets Emyn Excel Programming 0 June 30th 05 09:22 AM
Can I combine two worksheets into one pivot table? Todd Excel Worksheet Functions 1 December 22nd 04 10:12 PM


All times are GMT +1. The time now is 02:56 PM.

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"