Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-24-2023, 09:45 AM
RobiNew RobiNew is offline Copy all text files in alphabetical order to a single text file Windows 10 Copy all text files in alphabetical order to a single text file Office 2016
Competent Performer
Copy all text files in alphabetical order to a single text file
 
Join Date: Sep 2023
Posts: 208
RobiNew is on a distinguished road
Default Copy all text files in alphabetical order to a single text file

I'm trying to copy a number of *.TXT to a single *.TXT. The files to be copied are in alphabetical order, but in the combined file the order is different. Can someone help? Thanks!
Code:
Public Sub CombineFilesRN()
Shell Environ$("COMSPEC") & " /c Copy C:\FOLDER_RN\FOLDER30\*.txt _
 C:\FOLDER_RN\FOLDER30\TXT_TXT\CombinedFile.txt"
End Sub

Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy all text files in alphabetical order to a single text file Alphabetical order donnje Word 2 07-08-2023 06:32 AM
Note books in alphabetical order Jazz OneNote 0 08-07-2017 10:24 AM
Copy all text files in alphabetical order to a single text file Right to left text, letter order gets reversed when copy pasting. Salvia Word 1 05-26-2013 05:19 PM
O 2007 folders & files lose alphabetical order in John Seed Outlook 0 02-28-2012 05:56 PM
Copy all text files in alphabetical order to a single text file Find in alphabetical order list 14spar15 Word 1 12-03-2011 03:01 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:54 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft