-
WSJim Cone
AskWoody LoungerKweaver:
To get possible winning numbers for the MegaMillions game or six other national/regional lotteries, my “Lottery Numbers” Excel workbook free download is here…
http://excelusergroup.org/media/p/5941.aspxSteve:
I ran John Walkenbach’s VBA code speed test in 5 seconds, but your Card code was only 20% complete at the 3 minute mark. I lost interest at that point.
Are you using a government computer? (grin) -
WSJim Cone
AskWoody LoungerFor what it is worth, the Microsoft xlsclean.exe download that was recommended only does a partial clean. It removes all content from the unused rows at the bottom of a sheet, but does not clear the columns to the right of the data.
I took a peak at the code and for those interested the “clear” line for the columns was omitted…
‘—
Set ur = wksWks.Rows(r + 1 & “:” & wksWks.Rows.Count)
ur.Clear
‘Reset row height which can also cause the lastcell to be innacurate
ur.EntireRow.RowHeight = wksWks.StandardHeightSet ur = wksWks.Range(wksWks.Cells(1, c + 1), wksWks.Cells(1, 256)).EntireColumn
‘Reset column width which can also cause the lastcell to be innacurate
ur.EntireColumn.ColumnWidth = wksWks.StandardWidth
‘—Jim Cone
Portland, Oregon USA
http://www.mediafire.com/PrimitiveSoftware
(Extras for Excel is worth a look) -
WSJim Cone
AskWoody LoungerSomething simple…
Enter a zero for no renewal, enter 1 for renewal.
Sort ascending by forecast percent.
Count the number of zeros in the bottom half vs. the top half.Or almost a simple…
Use the Correl function on the above sorted data.
‘–
Jim Cone
Portland, Oregon USA
30+ ways to sort (excel add-in) -
WSJim Cone
AskWoody LoungerYou could use a dynamic range that self adjusts…
Example… http://www.contextures.com/xlNames01.html#Dynamic
”—
Jim Cone
Portland, Oregon USA
30 + ways to sort in excel -
WSJim Cone
AskWoody LoungerMaybe…
Function GetSpecialFolders(ByRef vFolder As Variant) As String
Dim WSHShell As Object
Set WSHShell = CreateObject(“WScript.Shell”)
GetSpecialFolders = WSHShell.SpecialFolders(vFolder)
Set WSHShell = Nothing
End FunctionSub WhatWhereHow()
MsgBox GetSpecialFolders(“Templates”)
‘also try “Programs”
End Sub
‘—
Jim Cone
Portland, Oregon USA
commercial add-in -
WSJim Cone
AskWoody LoungerRe Office 2000: be careful what you wish for.
Excel prints selections on separate pages.
Have your co-worker copy and paste the two selections on a separate sheet and print that sheet.
‘–
Jim Cone
Portland, Oregon USA
Excel printing add-in – Special Print -
WSJim Cone
AskWoody LoungerSub GetAddedUp()
Dim LastRow As Long
LastRow = Application.WorksheetFunction.Max _
(Cells(Rows.Count, 9).End(xlUp).Row, _
Cells(Rows.Count, 10).End(xlUp).Row)Cells(LastRow + 2, 9).Formula = “=Sum(I2:I” & LastRow & “)”
Cells(LastRow + 2, 10).Formula = “=Sum(J2:J” & LastRow & “)”Cells(LastRow + 2, 11).Formula = “=If(Sum(I” & LastRow + 2 & _
“:J” & LastRow + 2 & “)sum(K2:K” & LastRow & _
“),””Check””,Sum(I” & LastRow + 2 & “:J” & LastRow + 2 & “))”
End Sub
‘–
Jim Cone
Portland, Oregon USA
Special Sort Excel add-in -
WSJim Cone
AskWoody LoungerI can’t duplicate your problem with Firefox 3.5.11 on WindowsXP SP3.
I just tried this ebay item: Some software
Firefox gave me a separate window when I clicked “enlarge”.
‘–
Jim Cone
Portland Oregon USA
Primitive Software -
WSJim Cone
AskWoody LoungerYou can paste the data into Word and use Format | Columns
or
try to find a third party utility/add-in to arrange the columns in Excel.
‘–
Jim Cone
Portland Oregon USA
Special Print (Side by Side) add-in -
WSJim Cone
AskWoody LoungerReview the data type of the sub arguments – in particular that you pass a Variant to a Variant.
‘–
Jim Cone
Portland, Oregon USA
Primitive Software -
WSJim Cone
AskWoody LoungerThank you for your assistance.
I was looking at the wrong prefs.js file: C:Program FilesMozilla FirefoxdefaultsprofileThe prefs.js file in the location you provided has about 180 entries, a good share of which deal with my Samsung printer.
I now have a base line to return to (as necessary), if I make any more “improvements” to the about:config settings.
(I have to stop reading those “speed up your browser” magazine articles)‘–
Jim Cone -
WSJim Cone
AskWoody LoungerThe download of the MS help file for VB Script is here…
Windows Script 5.6 Documentation
It can be used in and with VBA in the VBEditior.
‘–
Jim Cone
Portland, Oregon USA
Special Sort Excel add-in (review) -
WSJim Cone
AskWoody LoungerComments…
1. Your attachment has conditional formatting applied to only 3 cells: A3:C3
2. Column C is number formatted to show negative numbers in Red.
3. Excel versions prior to XL2007 are limited to 3 conditional formats per cell.
Things happen to CF when converting from xl2007 to an earlier version.
4. My free Excel add-in “Formats & Styles”… Excel add-ins
lists or removes: Styles, number formats, conditional formatting.
Example
‘–
Jim Cone
Portland, Oregon USA -
WSJim Cone
AskWoody LoungerRe: Autosize comments…
There is no built-in way to do that as far as I know.Vba code could save the text and cell location for each comment, delete all comments and then add the comments back to the worksheet.
Whether the comment size would be to your liking is uncertain.VBA code can size (not autosize) comments to a specific width and height. Something like…
‘–
Set cmts = Worksheets(1).Comments
For Each c In cmts
c.Shape.Width = 70
c.Shape.Height = 120
Next
‘–
Jim Cone
Portland, Oregon USA
Primitive Software Excel add-ins -
WSJim Cone
AskWoody LoungerThe Sgn function is used so that results will align left. A positive result will have a leading space.
(note: the Str function provides a leading space but only works with periods as decimal points)The “#” is a type declaration character indicating the number is a double.
‘–
Jim Cone
Portland, Oregon USA
XL Companion add-in
![]() |
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
-
Windows 11 Insider Preview Build 22635.5170 (23H2) released to BETA
by
joep517
55 minutes ago -
Has the Microsoft Account Sharing Problem Been Fixed?
by
jknauth
4 hours, 21 minutes ago -
W11 24H2 – Susan Bradley
by
G Pickerell
6 hours, 16 minutes ago -
7 tips to get the most out of Windows 11
by
Alex5723
4 hours, 17 minutes ago -
Using Office apps with non-Microsoft cloud services
by
Peter Deegan
10 hours, 25 minutes ago -
I installed Windows 11 24H2
by
Will Fastie
1 hour, 19 minutes ago -
NotifyIcons — Put that System tray to work!
by
Deanna McElveen
9 hours, 43 minutes ago -
Decisions to be made before moving to Windows 11
by
Susan Bradley
12 minutes ago -
Port of Seattle says ransomware breach impacts 90,000 people
by
Nibbled To Death By Ducks
17 hours, 58 minutes ago -
Looking for personal finance software with budgeting capabilities
by
cellsee6
2 hours, 11 minutes ago -
ATT/Yahoo Secure Mail Key
by
Lil88reb
2 hours, 25 minutes ago -
Devices with apps using sprotect.sys driver might stop responding
by
Alex5723
1 day, 11 hours ago -
Neowin – 20 times computers embarrassed themselves with public BSODs and goofups
by
EP
1 day, 19 hours ago -
Slow Down in Windows 10 performance after March 2025 updates ??
by
arbrich
21 hours, 51 minutes ago -
Mail from certain domains not delivered to my outlook.com address
by
pumphouse
1 day, 3 hours ago -
Is data that is in OneDrive also taking up space on my computer?
by
WShollis1818
1 day, 14 hours ago -
Nvidia just fixed an AMD Linux bug
by
Alex5723
3 days, 6 hours ago -
50 years and counting
by
Susan Bradley
4 hours, 35 minutes ago -
Fix Bluetooth Device Failed to Delete in Windows Settings
by
Drcard:))
7 hours, 24 minutes ago -
Licensing and pricing updates for on-premises server products coming July 2025
by
Alex5723
3 days, 17 hours ago -
Edge : Deprecating window.external.getHostEnvironmentValue()
by
Alex5723
3 days, 17 hours ago -
Rethinking Extension Data Consent: Clarity, Consistency, and Control
by
Alex5723
3 days, 17 hours ago -
OneNote and MS Word 365
by
CWBillow
3 days, 19 hours ago -
Ultimate Mac Buyers Guide 2025: Which Mac is Right For You?
by
Alex5723
3 days, 19 hours ago -
Intel Unison support ends on Windows 11 in June
by
Alex5723
3 days, 19 hours ago -
April 2025 — still issues with AMD + 24H2
by
Kevin Jones
1 day, 11 hours ago -
Windows 11 Insider Preview build 26200.5518 released to DEV
by
joep517
4 days, 7 hours ago -
Windows 11 Insider Preview build 26120.3671 (24H2) released to BETA
by
joep517
4 days, 7 hours ago -
Forcing(or trying to) save Local Documents to OneDrive
by
PateWilliam
4 days, 16 hours ago -
Hotpatch for Windows client now available (Enterprise)
by
Alex5723
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.