![]() |
|
#8
|
|||
|
|||
|
Hi! If the files to compare are Tables2 and these files are the only ones in the respective folders, then correct code lines will be:
strOPath = "D:\OneDrive - MSOPROD\test\Desktop\Old" strRPath = "D:\OneDrive - MSOPROD\test\Desktop\New" strCPath = "D:\OneDrive - MSOPROD\test\Desktop\Result" Note that the Result folder should have a name different from other two folders. PS. I didn't check the code on rtf files. I think it should work, but if it doesn't I'd save the files as docx (it's simple and easy) and then run the code. Last edited by vivka; 10-05-2023 at 12:48 PM. |
| Tags |
| vba macro |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Macro security issue | harry | Outlook | 1 | 01-19-2023 12:21 AM |
Path issue using a macro on the ribbon
|
troels | Excel Programming | 1 | 05-26-2015 10:25 AM |
| issue in running macro in mac | expert4knowledge | Word VBA | 5 | 08-13-2014 02:33 PM |
| MS Publisher Macro Issue | Chayes | Office | 0 | 06-16-2013 11:36 AM |
| Macro Issue | Basanth | Excel | 1 | 12-05-2008 08:07 PM |