-
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, 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
-
Win 10 22H2 November patches: Why do I have these 4 Windows App Runtime apps?
by
WCHS
19 seconds ago -
KB5032278
by
fpefpe
29 minutes ago -
A web browser security testing & privacy testing tool.
by
TechTango
5 hours, 39 minutes ago -
IOS 17.1.2 looses text alert tone
by
J9438
7 hours, 21 minutes ago -
What to know about CentOS Linux EOL
by
Alex5723
12 hours, 20 minutes ago -
ESU announcement coming?
by
Susan Bradley
2 hours, 3 minutes ago -
December 2023 Office non-Security Updates
by
PKCano
6 hours, 28 minutes ago -
Widespread Printer Bug caused by Windows Store!
by
Intrepid
14 hours, 11 minutes ago -
Xbox question
by
fernlady
13 hours, 33 minutes ago -
Unfound Updates
by
rebop2020
10 hours, 14 minutes ago -
Thieves rob DC Uber Eats driver, reject Android phone for not being iPhone
by
Alex5723
11 hours, 48 minutes ago -
McAfee popup add (from micro. Store)
by
Robin Heckler
13 hours, 10 minutes ago -
Random Screen Shut Downs (Windows 11 Pro)
by
OkCarl
1 day, 1 hour ago -
CPU performance degradation after 23H2 update
by
Alex5723
1 day, 1 hour ago -
PDFgear
by
Alex5723
1 day, 1 hour ago -
I’m getting a new computer. I need instructions on setting it up CORRECTLY
by
Sly McNasty
15 hours, 12 minutes ago -
Microsoft will not activate a valid reinstall of Office 16
by
TomK
9 hours, 29 minutes ago -
Dell laptop Win 11 BLACK screen!
by
WSpfeldmann
5 hours, 57 minutes ago -
Firefox change from French to English.
by
DaveBRenn
11 hours, 58 minutes ago -
W10 22H2 Nov 2023 PT Update: No monsters here
by
Rob Kay
1 day ago -
Windows : Is This the End of ‘Intel Inside’ ?
by
Alex5723
1 day, 4 hours ago -
windows 10 upgrade to 11
by
ken
1 day, 9 hours ago -
WIN10 over 2 hours to boot
by
qaz
16 hours, 19 minutes ago -
How to do a Windows 11 repair install
by
Susan Bradley
2 hours, 44 minutes ago -
Ignore Susan Bradley’s Patch Watch at your peril
by
B. Livingston
18 hours, 48 minutes ago -
Tmas Greetings!
by
Max Stul Oppenheimer
1 day, 2 hours ago -
Microsoft Photos, Photos Legacy, and Windows 10
by
Ed Tittel
3 hours, 57 minutes ago -
Hardening your operating system
by
Susan Bradley
1 day, 2 hours ago -
Progress blocking browser fingerprinting, tracking ads and invisible trackers.
by
TechTango
11 hours, 11 minutes ago -
TeraCopy updates
by
Alex5723
2 days ago
Recent blog posts
- December 2023 Office non-Security Updates
- How to do a Windows 11 repair install
- Ignore Susan Bradley’s Patch Watch at your peril
- Tmas Greetings!
- Microsoft Photos, Photos Legacy, and Windows 10
- Hardening your operating system
- Permanent posts for blocking Copilot
- Apple zero days fixed – November 30, 2023
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-2023 by AskWoody Tech LLC. All Rights Reserved.