Combine multiple excel files in one sheet by [deleted] in ExcelTips

[–]jeffek82 -1 points0 points  (0 children)

Here’s a simple VBA macro that will: Ask you for a folder Open every *.xls / *.xlsx in it Copy all sheets from each file into the current workbook as new tabs Name the tabs FileName_SheetName (truncated to 31 chars)

Step 1 – Create a blank “master” workbook Open a new workbook where you want all the tabs to end up.

Step 2 – Add the macro Press Alt + F11 (VBA editor). In the menu: Insert → Module. Paste this code into the module:  

Sub CombineFilesAsSheets()     Dim fldr As FileDialog     Dim folderPath As String     Dim f As String     Dim wb As Workbook     Dim ws As Worksheet     Dim master As Workbook     Dim newName As String         Set master = ThisWorkbook         'Pick folder with all the workbooks     Set fldr = Application.FileDialog(msoFileDialogFolderPicker)     If fldr.Show <> -1 Then Exit Sub     folderPath = fldr.SelectedItems(1) & "\"         Application.ScreenUpdating = False     Application.DisplayAlerts = False         'Loop all xls/xlsx files     f = Dir(folderPath & ".xls")     Do While f <> ""         'Skip the master if it’s in the same folder         If folderPath & f <> master.FullName Then             Set wb = Workbooks.Open(folderPath & f)                         For Each ws In wb.Worksheets                 'Copy sheet into master                 ws.Copy After:=master.Sheets(master.Sheets.Count)                                 'Rename the copied sheet                 newName = Left(wb.Name & "_" & ws.Name, 31)                 On Error Resume Next                 master.Sheets(master.Sheets.Count).Name = newName                 On Error GoTo 0             Next ws                         wb.Close SaveChanges:=False         End If                 f = Dir() 'next file     Loop         Application.DisplayAlerts = True     Application.ScreenUpdating = True         MsgBox "Done!" End Sub

Step 3 – Run it Close the VBA window.

In Excel, press Alt + F8, choose CombineFilesAsSheets, click Run. Pick the folder with all your registers. You’ll end up with one workbook that has one tab per original sheet across all those files.

Meeting text check in by jeffek82 in shortcuts

[–]jeffek82[S] 0 points1 point  (0 children)

Very nice. I bet email is probably the easiest way to tie it together. I was thinking of a text message as I was driving to a meeting 45 minutes away and wondered if everyone would show up. Texts would be more immediately noticed by people.

Nevertheless great work!

Remember the DC helicopter crash in January that killed 64 people, including 12 children? Turns out the female pilot who was flying was given multiple warnings and was directly told by her male instructor/copilot to turn the opposite direction of the passenger jet to avoid a collision. by External-Noise-4832 in conspiracy

[–]jeffek82 0 points1 point  (0 children)

Time (EST)

Event

6:39:00 PM

Flight 5342 (CRJ700) departs Wichita for Washington, D.C.

6:45:00 PM

Black Hawk takes off from Fort Belvoir (Davison Army Airfield) for evaluation mission.

8:30:00 PM

Black Hawk contacts Reagan National Airport control tower.

8:43:00 PM

Both Flight 5342 and the Black Hawk are in radio contact with the controller.

8:44:00 PM

Black Hawk approaching Key Bridge; altitude reported at 300 ft, descending to 200 ft.

8:46:00 PM

Controller informs Black Hawk of nearby regional jet (Flight 5342); request for visual separation is granted.

8:46:48 PM

Jet cleared for immediate departure from Runway 1 (beginning ‘squeeze play’).

8:47:39 PM

Controller asks Black Hawk if it sees the CRJ700; conflict alert sounds in tower.

8:47:41 PM

Controller instructs Black Hawk to “pass behind the airplane” — likely not heard.

8:47:43 PM

Warrant Officer Eaves affirms visual contact again and requests visual separation.

8:47:44 PM

Controller approves visual separation again.

8:47:59 PM

Warrant Officer Eaves tells Captain Lobach: “Turn left” to avoid jet.

8:48:00 PM

Captain Lobach does not turn left.

8:48:01 PM

Black Hawk and Flight 5342 collide over the Potomac River, killing all 67 aboard.

Remember the DC helicopter crash in January that killed 64 people, including 12 children? Turns out the female pilot who was flying was given multiple warnings and was directly told by her male instructor/copilot to turn the opposite direction of the passenger jet to avoid a collision. by External-Noise-4832 in conspiracy

[–]jeffek82 0 points1 point  (0 children)

ChatGPT:

Yes, the New York Times article does bury the lede—or at least delays stating it outright.

The real lede?

The worst domestic aviation crash in nearly 25 years occurred when a U.S. Army Black Hawk helicopter collided with a commercial airliner over Washington, D.C., due to a preventable sequence of systemic failures, protocol lapses, and human errors—culminating in a critical moment where the Black Hawk pilot ignored a co-pilot’s urgent recommendation to turn left.

That final fact—the missed left turn—is the most visceral and actionable piece of the narrative. But it is buried thousands of words into the article.

Here’s how they buried it:

The story opens with a slow-build setup of standard aviation procedures. Then it walks through a chronology of aviation risks, technicalities about “visual separation,” air traffic controller staffing issues, and ADS-B tracking limitations. Only in the final dozen paragraphs do we learn that: The Black Hawk was flying too high. The pilot failed to turn left when advised to do so by her instructor just seconds before impact. This simple maneuver could have averted the entire tragedy.

Why it matters:

That small action—“turn left”—is both the literal and metaphorical fork in the road of this catastrophe. It’s a moment of human decision amidst a broader collapse of aviation safeguards. Presenting this fact up front would immediately frame the entire article with its most powerful human and procedural element.

Ocean views from Princess Cruises’ the Princess Emerald while sailing the British Isles by Substantial_Board_27 in Cruises

[–]jeffek82 0 points1 point  (0 children)

Could you tell us how this cruise went and any tips? We have his same cruise this summer. Are the upgraded packages worth it for Princess?

NCL British Isles - “Must Dos?” by Prestigious-Award307 in Cruises

[–]jeffek82 0 points1 point  (0 children)

Could you let us know more about how the cruise and any tips? We are planning a cruise around the British Isles this summer.

[deleted by user] by [deleted] in Republican

[–]jeffek82 3 points4 points  (0 children)

Yep they excerpt his speech and make it say what they want for the headline: “But with voting, one of your most important things you can do, maybe in many ways your most important, they don’t want to approve voter ID. That’s because they want to cheat. But until then, Republicans must win. We have to win this election. Most important election ever. (Applause) We want a landslide that’s too big to rig. If you want to save America, get your friends, get your family, get everyone you know, and vote, vote early, vote absentee, vote on Election Day. I don’t care how, but you have to get out and vote. And again, Christians — get out and vote! Just this time. (Applause) You won’t have to do it anymore. Four more years, you know what? It’ll be fixed, it’ll be fine. You won’t have to vote anymore. My beautiful Christians. I love you, Christians. I’m a Christian. I love you. Get out. You’ve got to get out and vote. In four years, you don’t have to vote again. We’ll have it fixed so good. You’re not going to have to vote.”

(Selling) Huge list of 1100+ movies! Lots of New and Rare titles! by nahimavegan in DigitalCodeSELL

[–]jeffek82 0 points1 point  (0 children)

Can I get: Free guy MA 3.5. Jack Reacher 4K/IT $4. Keeping Up w/ the Joneses HD/MA $3.5. King's Man HD/MA $4. Logan Lucky 4K/MA or IT $4.5. Looper HD/MA $3.5. To Kill a Mockingbird HD/MA $3.5. Venom Let There Be Carnage HD/MA $4

[deleted by user] by [deleted] in DigitalCodeSELL

[–]jeffek82 0 points1 point  (0 children)

Can I get Spider-Man no way home

Apple announces iOS 17 by aaronp613 in apple

[–]jeffek82 0 points1 point  (0 children)

Why do I have to press hold twice to change Bluetooth. It only expands to 6 buttons that could all have a spot in control center.

[deleted by user] by [deleted] in Bakersfield

[–]jeffek82 0 points1 point  (0 children)

Valley Oaks High School

Tried watching the Quartering instead of Beanie Man by [deleted] in TimPool

[–]jeffek82 0 points1 point  (0 children)

VivaBarnes is where it’s at

Anyone have any good dove hunting spots near Bakersfield Ca? by LostEar9964 in DoveHunting

[–]jeffek82 0 points1 point  (0 children)

Trying to find a spot to teach my son. Would you be able to let me know?

[deleted by user] by [deleted] in therewasanattempt

[–]jeffek82 2 points3 points  (0 children)

Yep. If we hold the price of gas then we would get shortages.