-
WSHans Pottel
AskWoody LoungerEdited by HansV to re-attach the zipped document, it was lost in the server crash of August 2007
Many people, including myself, use Excel’s statistical functions and the Analysis Toolpak. However, Excel has some flaws that you should know when you are using these tools. I summarized many of these flaws in one document, which I wanted to present to the forum. I would appreciate your comments and suggestions.
It’s a zipped pdf document to reduce it to the acceptable file size for uploading. -
WSHans Pottel
AskWoody LoungerThanks a lot to all of you.
Jan , hartstikke bedankt!! -
WSHans Pottel
AskWoody LoungerThanks a lot to all of you.
Jan , hartstikke bedankt!! -
WSHans Pottel
AskWoody LoungerMaybe, I should be a little bit more explicit about the macros attached to the template. The template is designed to generate a protocol document for an experiment within an R&D environment. The macro has some functionality in the Document_New and Document_Open events to fire a dialog window which allows the user to fill in document related information, which is stored in an Excel spreadsheet and in the document properties (both general and custom). In addition, new protocol utilities are added to main commandbar of Word (a popup menu). As I understand from your reply, this new popup menu is causing the problem? Does that mean that to avoid Word from prompting to Save the attached template, I should add code like:
Application.DisplayAlerts = False
ActiveDocument.AttachedTemplate.Saved = False
Application.DisplayAlerts = True -
WSHans Pottel
AskWoody LoungerMaybe, I should be a little bit more explicit about the macros attached to the template. The template is designed to generate a protocol document for an experiment within an R&D environment. The macro has some functionality in the Document_New and Document_Open events to fire a dialog window which allows the user to fill in document related information, which is stored in an Excel spreadsheet and in the document properties (both general and custom). In addition, new protocol utilities are added to main commandbar of Word (a popup menu). As I understand from your reply, this new popup menu is causing the problem? Does that mean that to avoid Word from prompting to Save the attached template, I should add code like:
Application.DisplayAlerts = False
ActiveDocument.AttachedTemplate.Saved = False
Application.DisplayAlerts = True -
WSHans Pottel
AskWoody LoungerHi Hans
Actually, to be honest, I work with a workgroup template (in the test phase) on a network drive where I have full read-write access. Because I’ve got prompted to save the template, I added a line in the code to automatically save the attached template.
ActiveDocument.AttachedTemplate.Saved = True
Now that I want other users to work with this template, I don’t want them to have write access, but I am afraid that it will cause trouble (what will happen if they’ve got prompted with that question?). Maybe I should organise myself to test it, but I wondered if somebody from the forum had experience with this.
If I put the template in my User Template (where I have full read-write access), I am prompted too to save the template. No difference. -
WSHans Pottel
AskWoody LoungerHi Hans
Actually, to be honest, I work with a workgroup template (in the test phase) on a network drive where I have full read-write access. Because I’ve got prompted to save the template, I added a line in the code to automatically save the attached template.
ActiveDocument.AttachedTemplate.Saved = True
Now that I want other users to work with this template, I don’t want them to have write access, but I am afraid that it will cause trouble (what will happen if they’ve got prompted with that question?). Maybe I should organise myself to test it, but I wondered if somebody from the forum had experience with this.
If I put the template in my User Template (where I have full read-write access), I am prompted too to save the template. No difference. -
WSHans Pottel
AskWoody LoungerBill,
Visit Stephen Bullen’s Excel page. Select the Excel MVP page and you will find an add-in (XY…exe, I can’t remember the exact name) that does the job. http://linkURL[/url%5D
http://www.bmsltd.ie/Excel/Default.html%5B/url%5D
If needed, I can send you the macro I wrote. Just send me a private message.Edited Mar 13 04 to update link
-
WSHans Pottel
AskWoody LoungerMaybe the best way is to use data labels. Add an extra column and put the single character B, S or H next to the data-point you want to label. Then use an data label add-in that you can download free of charge: Have a look at this MVP Page for a free add-in to add labels to data points (XYChartlabeler.exe). This add-in requires your graph to be an XY scatter plot.
Edited Mar 13th 2004 to update link
-
WSHans Pottel
AskWoody LoungerHave a look at this MVP Page for a free add-in to add labels to data points.
Edited Mar 13th 2004 to update link
-
WSHans Pottel
AskWoody LoungerThanks, Jan Karel for your additional information. Yes, you can post this article in the Microsoft Excel MVP newsgroup. No problem!
-
WSHans Pottel
AskWoody LoungerDepending on what you want to do, but if n/N<0.1 (where n is the sample size and N is the batch size), the binomial distribution is a good approximation to the Hyper Geometrical Distribution, using =BINOMDIST(46;431;160/1350;FALSE). It has the great advantage that it allows you to calculate the cumulative value by just switching FALSE to TRUE.
-
WSHans Pottel
AskWoody LoungerApril 14, 2003 at 11:23 am in reply to: Portrait and Landscape Slides in Same Presentation (PowerPoint 97) #668393You could add some code in a general module, like this
Sub RotatePortrait() With ActivePresentation.PageSetup .SlideOrientation = msoOrientationVertical End With With SlideShowWindows(1).View .Next End With RefreshSlide End Sub
Sub RotateLandScape() With ActivePresentation.PageSetup .SlideOrientation = msoOrientationHorizontal End With With SlideShowWindows(1).View .Next End With RefreshSlide End Sub
Sub RefreshSlide() Dim lSlideIndex As Long lSlideIndex = SlideShowWindows(1).View.CurrentShowPosition SlideShowWindows(1).View.GotoSlide lSlideIndex End Sub
Now on the slide preceeding the one thay you want rotated, you add an object (e.g. a textbox) and define “Action Settings”. e.g. in the action settings dialog window, select the ‘run macro’ optionbutton and look for the macro e.g. RotatePortrait. On the slide which is presented in ‘Portrait’ you add another object for which you define as Action Setting to run the macro RotateLandscape to return to the previous version.
It is possible you don’t need the RefreshSlide macro, depending on the version of ppt you use. -
WSHans Pottel
AskWoody LoungerJim and Jan Karel,
I am indeed using the same variable. I really don’t understand that the message boxes don’t show up anymore. The strange thing is that I don’t get error messages if I turn off error trapping. I guess it is a memory problem. If you can’t reproduce the problem, then it’s difficult to solve it. I’ve got it on two computers, but not on others. I’ll do what you suggested: clean up the code and change my variable name.
Thanks
-
WSHans Pottel
AskWoody LoungerJanuary 22, 2003 at 4:06 pm in reply to: Convert Chart Series to Array of Static Values (2000) #647002Select the series in the chart. Go with the cursor to the commandbar (e.g. position your cursor after SERIES(….)) and press F9 and enter.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
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
-
MS Passkey
by
pmruzicka
4 hours, 2 minutes ago -
Can’t make Opera my default browser
by
bmeacham
5 hours, 56 minutes ago -
*Some settings are managed by your organization
by
rlowe44
3 hours, 49 minutes ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
4 hours, 51 minutes ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
1 day ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
1 day, 9 hours ago -
AI slop
by
Susan Bradley
1 day, 8 hours ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
1 day, 10 hours ago -
Two blank icons
by
CR2
20 hours, 23 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
1 day, 19 hours ago -
End of 10
by
Alex5723
1 day, 22 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
20 hours, 19 minutes ago -
test post
by
gtd12345
2 days, 4 hours ago -
Privacy and the Real ID
by
Susan Bradley
1 day, 18 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
1 day, 10 hours ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
2 days, 8 hours ago -
Upgrading from Win 10
by
WSjcgc50
20 hours, 28 minutes ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
1 day ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
3 days ago -
The story of Windows Longhorn
by
Cybertooth
2 days, 12 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
3 days, 2 hours ago -
Are manuals extinct?
by
Susan Bradley
2 hours, 45 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
3 days, 11 hours ago -
Network Issue
by
Casey H
2 days, 22 hours ago -
Fedora Linux is now an official WSL distro
by
Alex5723
3 days, 23 hours ago -
May 2025 Office non-Security updates
by
PKCano
3 days, 23 hours ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
4 days, 1 hour ago -
pages print on restart (Win 11 23H2)
by
cyraxote
3 days, 2 hours ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
4 days, 4 hours ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
4 days, 4 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.