-
WSSupershoe
AskWoody LoungerTry this ARRAY entered formla if all grades are in CAPS
=IF(COUNTA(B3:G3)<6,"more grades",CHAR(INT(SUM(IF(B3:G3″”,CODE(B3:G3))/COUNTA(B3:G3)))))
-
WSSupershoe
AskWoody Loungerdo you want to copy to the sub sheet (located where????? sub folder…… Not at all clear here)
-
WSSupershoe
AskWoody LoungerMay 7, 2015 at 6:27 pm in reply to: Macro to Copy data from one file and paste into another #1503533=w15/if(u15=””,800,900)*100
-
WSSupershoe
AskWoody LoungerI am sick and can’t work on this but here is the basic idea then use autofilter
Month adavisor Military Member Military Spouse Civilian or Dependent Total
-
WSSupershoe
AskWoody LoungerIf we are to assume that all files are xl or the user know what excel file he wants, the filters are not necessary and my 2 liner works just fine.
Sub SelectFileGetAllSheetsSAS1()
Workbooks.Open Filename:=Application.GetOpenFilename(Title:=”Select File”)
Sheets.Copy after:=Workbooks(ThisWorkbook.Name).Sheets(“Master File”)
End Sub -
WSSupershoe
AskWoody LoungerMy suggestion is to have ONE file with 5 tabs with all dates on one tab where you can filter for the months. Then just use sumproduct on the master sheet.
Or, ONE file with ONE tab and all data and use filter with SUBTOTAL at the top for the filtered dataAttach your file(s) and I’ll show you.
-
WSSupershoe
AskWoody LoungerZeddy, Thanks for the kind words. And, unless I forget (can be forgiven at my age), I always use dims. My last post doesn’t call for one. Option explicit at the top of my module (which I normally include in my posts). As you can tell, I generally try to use the “keep it simple for the AGGIES” (i am a University of Texas grad where we had a rival called Texas A & M that we ridiculed for being stupid) ie: How many aggies to change a light bulb, etc
-
WSSupershoe
AskWoody LoungerYou want simple. I’ll give you simple….
Sub SelectFileGetAllSheetsSAS1()
Workbooks.Open Filename:= _
Application.GetOpenFilename(Title:=”Select File”)
Sheets.Copy after:=Workbooks(ThisWorkbook.Name).Sheets(“Master File”)
End Sub -
WSSupershoe
AskWoody LoungerUs old folks ( I had my 79th birthday on income tax day) learn something new every day.
-
WSSupershoe
AskWoody LoungerBased on the original post, why not simply
Sub SelectFileGetAllSheetsSAS()
Dim ds As String
Dim fNameAndPath As Variant
ds = ThisWorkbook.Name
fNameAndPath = Application.GetOpenFilename(FileFilter:= _
“Excel Files (*.XLS), *.XLS”, Title:=”Select File To Open”)
If fNameAndPath = False Then Exit Sub
Workbooks.Open Filename:=fNameAndPath
Sheets.Copy after:=Workbooks(ds).Sheets(“Master File”)
End Sub -
WSSupershoe
AskWoody Lounger40417-rz-mouse-position-v2 You may like this as well or better. See Attached
Code:Option Explicit Private Sub Worksheet_SelectionChange(ByVal Target As Range) Cells.FormatConditions.Delete If ActiveSheet.Shapes("Check Box 1").ControlFormat.Value = 1 Then With Target.EntireRow .FormatConditions.Add Type:=xlExpression, Formula1:="TRUE" .FormatConditions(1).Interior.ColorIndex = 35 End With End If End Sub
-
WSSupershoe
AskWoody LoungerApril 28, 2015 at 10:46 am in reply to: Excel 2010 – Filling and formatting cells based on a date #1502202You may also like this CHOOSE formula for col A
‘=CHOOSE(WEEKDAY(C3),”error”,”error”,”mm”,”Pb”,”error”,”mm”,”pb”)
and chg the CF to reflect =<today() -
WSSupershoe
AskWoody LoungerThere is always less confusion when you attach a file with before/after examples along with the logic you provided.
-
WSSupershoe
AskWoody LoungerWhy dummy sheets??
=SUM(WK1:WK13,D4)
-
WSSupershoe
AskWoody LoungerHere is part of a double_click event to goto yahoo finance for the symbol clicked.
ActiveWorkbook.FollowHyperlink Address:= _
“http://finance.yahoo.com/q?s=” & Target.Value
![]() |
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
-
Two blank icons
by
CR2
4 hours, 21 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
6 hours, 46 minutes ago -
End of 10
by
Alex5723
9 hours, 26 minutes ago -
End Of 10 : Move to Linux
by
Alex5723
9 hours, 55 minutes ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
6 hours, 24 minutes ago -
test post
by
gtd12345
15 hours, 27 minutes ago -
Privacy and the Real ID
by
Susan Bradley
5 hours, 34 minutes ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
6 hours, 24 minutes ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
19 hours, 48 minutes ago -
Upgrading from Win 10
by
WSjcgc50
7 hours, 13 minutes ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
14 hours, 54 minutes ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
1 day, 11 hours ago -
The story of Windows Longhorn
by
Cybertooth
23 hours, 12 minutes ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
1 day, 13 hours ago -
Are manuals extinct?
by
Susan Bradley
54 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
1 day, 22 hours ago -
Network Issue
by
Casey H
1 day, 9 hours ago -
Fedora Linux is now an official WSL distro
by
Alex5723
2 days, 10 hours ago -
May 2025 Office non-Security updates
by
PKCano
2 days, 11 hours ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
2 days, 12 hours ago -
pages print on restart (Win 11 23H2)
by
cyraxote
1 day, 13 hours ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
2 days, 15 hours ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
2 days, 15 hours ago -
Proton to drop prices after ruling against “Apple tax”
by
Cybertooth
2 days, 22 hours ago -
24H2 Installer – don’t see Option for non destructive install
by
JP
1 day, 14 hours ago -
Asking Again here (New User and Fast change only backups)
by
thymej
3 days, 9 hours ago -
How much I spent on the Mac mini
by
Will Fastie
17 hours, 16 minutes ago -
How to get rid of Copilot in Microsoft 365
by
Lance Whitney
1 day, 12 hours ago -
Spring cleanup — 2025
by
Deanna McElveen
3 days, 15 hours ago -
Setting up Windows 11
by
Susan Bradley
2 days, 10 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.