-
WSGraemeH
AskWoody LoungerI agree that attribute charts are a more useful way to go. Have a look here for downloadable Excel tools: http://www.freequality.org/beta freequal/fq web site/tools.htm#chart[/url]. There is a cusum tool on this page as well. You could also Google ‘Statistical Process Control’ or SPC for more resources.
Graeme
-
WSGraemeH
AskWoody LoungerI agree that attribute charts are a more useful way to go. Have a look here for downloadable Excel tools: http://www.freequality.org/beta freequal/fq web site/tools.htm#chart[/url]. There is a cusum tool on this page as well. You could also Google ‘Statistical Process Control’ or SPC for more resources.
Graeme
-
WSGraemeH
AskWoody LoungerThe Help on calculated fields/items in Excel is really detailed, alex – not sure I could do any better!
-
WSGraemeH
AskWoody Loungeralex,
Right-click on your totals field, select ‘Field Settings…’, Options, select ‘Running Total in..’ from the ‘Show data as’ dropdown, then select Month in the Base Field list. Something close to that should work for you.graeme
-
WSGraemeH
AskWoody LoungerEdited to remove schoolboy error from code!!
Tim,
Pivot charts don’t retain their formatting when you change the data view, or change anything on the pivot table. The Help helpfully suggests you write your own macro to deal with formatting. This is one way, using the Calculate event on the chart sheet; paste the code into the chart’s VBA module:Private Sub Chart_Calculate()
‘stop screen flicker
Application.Screenupdating = FalseOn Error Resume Next
‘change the formats to whatever you desire
With ActiveChart
.SeriesCollection(1).AxisGroup = 2
.SeriesCollection(2).ChartType = xlLineMarkers
End WithApplication.Screenupdating = True
End Sub
HTH!
Graeme
-
WSGraemeH
AskWoody LoungerJanuary 14, 2002 at 12:12 pm in reply to: Different colored data points in a graph? (Excel ’97 or 2000) #563625I use this to change the colour of out-of-limits points on control charts in excel:
Private Sub MarkPoint(ByVal i As Long, j As Long)
””change the marker style of points outside control limits
Dim srs As Series
Dim pnt As PointOn Error Resume Next
Set srs = myChart.SeriesCollection(1)
With srs
Set pnt = .Points(i)
pnt.MarkerBackgroundColorIndex = j
pnt.MarkerForegroundColorIndex = j
pnt.MarkerSize = 7
pnt.MarkerStyle = xlMarkerStyleCircle
End With
On Error GoTo 0End Sub
A bit of hacking about should get it to work for you – hope it helps
Graeme
-
WSGraemeH
AskWoody LoungerI would send the workbook, but it seems to be working fine now and I can’t duplicate the problem either! Still don’t understand what happened, but thank you both for your help. And thanks, Andrew, for the tip about the calculate event; exactly what I needed.
Graeme
-
WSGraemeH
AskWoody LoungerThe underlying data doesn’t change; both it and the pivot table are refreshed on file-open. All that changes is the user selects a different week from the Week Number pagefield drop-down.
On a similar subject, when the table is changed the Worksheet_Change event doesn’t fire; is this the way it should work or am I missing something? -
WSGraemeH
AskWoody LoungerThe table only changes when the user changes the page field using the dropdown; the page field is Week Number and the number of items in the row field changes from depending on which week the user selects. The background data doesn’t change. Still baffled!
Graeme
-
WSGraemeH
AskWoody LoungerNo, no blank entries. It seems to work ok sometimes, but if the number of rows increases when I change the table the range size doesn’t always increase to match. Deeply puzzling… The formula works perfectly outside pivot tables.
Thanks
Graeme
-
WSGraemeH
AskWoody LoungerEdited by gwhitfield on 15-Nov-01 06:46.
Chip Pearson’s site has a good intro to pivot tables: http://www.cpearson.com/excel/pivots.htm. You could also look at John Walkenbach’s site or his Excel 2000 Bible.
Graeme
-
WSGraemeH
AskWoody LoungerNovember 14, 2001 at 3:12 pm in reply to: Macro to Create Dates from Date-1 to Date-N (OFFICE97 SR2) #552013Not sure if I’ve understood correctly, but this would be one way to create a date list in a macro:
Sub FillDates()
Dim dtMin As Date
Dim dtMax As DatedtMin = Application.WorksheetFunction.Min(Range(Range(“C3”), Range(“C65536”).End(xlUp)))
dtMax = Application.WorksheetFunction.Max(Range(Range(“D3”), Range(“D65536”).End(xlUp)))
With Range(“J4”)
.Value = dtMin
.DataSeries Rowcol:=xlColumns, Type:=xlChronological, Date:= _
xlDay, Step:=1, Stop:=dtMax, Trend:=False
End With
End SubHTH
Graeme
-
WSGraemeH
AskWoody LoungerWassim,
Thanks for your post. In the help for calculated items step 7 says:“If the items were originally grouped and you ungrouped them in step 1, you can group them again or create new groups that include the calculated item, if you want.”
I do want, but I can’t! I’ve also checked the MSKB, which doesn’t offer any explanation.
Thanks again
Graeme
-
WSGraemeH
AskWoody LoungerSeptember 26, 2001 at 1:48 pm in reply to: Creating a range name in VBA (Excel 2000 (9.0.2720)) #544172Exactly as ralphad says…
Also remember that xlLastCell doesn’t always give the results you might expect – especially if your data occupies a smaller range after refresh.Graeme
-
WSGraemeH
AskWoody LoungerSeptember 26, 2001 at 12:59 pm in reply to: Creating a range name in VBA (Excel 2000 (9.0.2720)) #544150You could try
Range(“A6″).CurrentRegion.Name=”MARDATA”
if there are no blank rows or columns in your range.Graeme
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Red x next to folder on OneDrive iPadOS
by
dmt_3904
1 hour, 28 minutes ago -
Are manuals extinct?
by
Susan Bradley
14 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
8 hours, 55 minutes ago -
Network Issue
by
Casey H
58 minutes ago -
Fedora Linux is now an official WSL distro
by
Alex5723
20 hours, 54 minutes ago -
May 2025 Office non-Security updates
by
PKCano
21 hours, 21 minutes ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
23 hours, 16 minutes ago -
pages print on restart (Win 11 23H2)
by
cyraxote
9 minutes ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
1 day, 1 hour ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
1 day, 1 hour ago -
Proton to drop prices after ruling against “Apple tax”
by
Cybertooth
1 day, 8 hours ago -
24H2 Installer – don’t see Option for non destructive install
by
JP
1 hour, 14 minutes ago -
Asking Again here (New User and Fast change only backups)
by
thymej
1 day, 20 hours ago -
How much I spent on the Mac mini
by
Will Fastie
19 hours, 37 minutes ago -
How to get rid of Copilot in Microsoft 365
by
Lance Whitney
14 hours, 47 minutes ago -
Spring cleanup — 2025
by
Deanna McElveen
2 days, 2 hours ago -
Setting up Windows 11
by
Susan Bradley
21 hours, 7 minutes ago -
VLC Introduces Cutting-Edge AI Subtitling and Translation Capabilities
by
Alex5723
1 day, 21 hours ago -
Powershell version?
by
CWBillow
1 day, 22 hours ago -
SendTom Toys
by
CWBillow
9 hours, 15 minutes ago -
Add shortcut to taskbar?
by
CWBillow
2 days, 2 hours ago -
Sycophancy in GPT-4o: What happened
by
Alex5723
2 days, 18 hours ago -
How can I install Skype on Windows 7?
by
Help
2 days, 17 hours ago -
Logitech MK850 Keyboard issues
by
Rush2112
2 days ago -
We live in a simulation
by
Alex5723
3 days, 8 hours ago -
Netplwiz not working
by
RetiredGeek
2 days, 19 hours ago -
Windows 11 24H2 is broadly available
by
Alex5723
3 days, 21 hours ago -
Microsoft is killing Authenticator
by
Alex5723
23 hours, 7 minutes ago -
Downloads folder location
by
CWBillow
4 days, 3 hours ago -
Remove a User from Login screen
by
CWBillow
2 days, 23 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.