Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-23-2016, 11:46 PM
staicumihai staicumihai is offline Word 2010 Macro to rename Folder in Directory Windows 7 32bit Word 2010 Macro to rename Folder in Directory Office 2010 32bit
Advanced Beginner
Word 2010 Macro to rename Folder in Directory
 
Join Date: Dec 2015
Posts: 33
staicumihai is on a distinguished road
Default Word 2010 Macro to rename Folder in Directory

Hi guys,

In this folder D:\MIHAI\DOSARE\BAAR I have a folder that my collegues put there every few hours, the name of the folder is never the same.

I want to know if it is possible to make a VBA code that changes the folder name to "MICHAEL.current date_current hour" (ex. "MICHAEL.24.10.2016_09:43:23") without knowing the initial name of the folder (it is the only folder in the directory D:\MIHAI\DOSARE\BAAR)

I need to use the VBA code from Microsoft Word 2010.



Any ideas ?
Thanks!

Last edited by staicumihai; 10-24-2016 at 03:30 AM.
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2010 Macro to rename Folder in Directory Word 2010 - directory mail merge - two separate group of data in one document htsu Mail Merge 2 03-07-2016 03:10 PM
Word 2010 Macro to rename Folder in Directory vba code for folder name, subfolder directory, file name & revision times klpw Excel Programming 2 12-24-2015 12:31 AM
Can a macro rename Excel files based on a cellname? chrisd2000 Excel Programming 1 06-23-2014 06:50 PM
Macro to rename multiple Word file with same suffix ozil61 Word VBA 2 05-06-2014 07:36 AM
Word 2010 Macro to rename Folder in Directory Rename Outlook 2003 Contacts Folder sfpermits Outlook 6 07-21-2010 09:56 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:40 AM.


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