-
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
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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
-
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
4 hours, 49 minutes ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
7 hours, 31 minutes ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
2 hours, 5 minutes ago -
Windows Update orchestration platform to update all software
by
Alex5723
14 hours, 50 minutes ago -
May preview updates
by
Susan Bradley
2 hours, 13 minutes ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
4 hours, 24 minutes ago -
Just got this pop-up page while browsing
by
Alex5723
7 hours, 2 minutes ago -
KB5058379 / KB 5061768 Failures
by
crown
4 hours, 6 minutes ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
1 hour, 15 minutes ago -
At last – installation of 24H2
by
Botswana12
1 day, 6 hours ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
1 hour, 27 minutes ago -
RyTuneX optimize Windows 10/11 tool
by
Alex5723
1 day, 18 hours ago -
Can I just update from Win11 22H2 to 23H2?
by
Dave Easley
1 day, 11 hours ago -
Limited account permission error related to Windows Update
by
gtd12345
2 days, 7 hours ago -
Another test post
by
gtd12345
2 days, 8 hours ago -
Connect to someone else computer
by
wadeer
2 days, 2 hours ago -
Limit on User names?
by
CWBillow
2 days, 5 hours ago -
Choose the right apps for traveling
by
Peter Deegan
1 day, 19 hours ago -
BitLocker rears its head
by
Susan Bradley
1 day, 3 hours ago -
Who are you? (2025 edition)
by
Will Fastie
1 day, 2 hours ago -
AskWoody at the computer museum, round two
by
Will Fastie
1 day, 21 hours ago -
A smarter, simpler Firefox address bar
by
Alex5723
2 days, 18 hours ago -
Woody
by
Scott
3 days, 3 hours ago -
24H2 has suppressed my favoured spider
by
Davidhs
1 day, 3 hours ago -
GeForce RTX 5060 in certain motherboards could experience blank screens
by
Alex5723
3 days, 18 hours ago -
MS Office 365 Home on MAC
by
MickIver
3 days, 11 hours ago -
Google’s Veo3 video generator. Before you ask: yes, everything is AI here
by
Alex5723
4 days, 8 hours ago -
Flash Drive Eject Error for Still In Use
by
J9438
1 day, 2 hours ago -
Windows 11 Insider Preview build 27863 released to Canary
by
joep517
5 days, 2 hours ago -
Windows 11 Insider Preview build 26120.4161 (24H2) released to BETA
by
joep517
5 days, 3 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.