Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 06-27-2014, 11:01 AM
chrisd2000 chrisd2000 is offline Can anyone here tweek this macro for renaming Excel files based on a cell's contents? Windows 7 64bit Can anyone here tweek this macro for renaming Excel files based on a cell's contents? Office 2007
Novice
Can anyone here tweek this macro for renaming Excel files based on a cell's contents?
 
Join Date: Jun 2014
Posts: 16
chrisd2000 is on a distinguished road
Smile About the macro tweeks

To understand what the code does, it would be best to run the code which works fine. The code seems to only work on one file at a time but ends up renaming all of the files in a folder which is what I want.

I would like to see if someone can add some more code to do the following.

(1) Generate a prompt to enter characters to put both right before .xls and in cell A1. I would like the suffix to be the same for all of the files.

(2) Copy the font formatting from cell B1 to cell A1

(3) Put the date and time in cell W1 that is found in cell B2. The text in cell B2 always has the following format "Requested 12345678901234567 (US) on 06/26/2014, 13:58" where "12345678901234567" represents a unique string about 10-17 characters long.

Thanks for working on this code which I guess I should soon learn to do myself. I guess I hadn't explained what I wanted very well.

Last edited by chrisd2000; 06-27-2014 at 12:54 PM. Reason: clarification
Reply With Quote
 

Tags
batch rename, filename



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can a macro rename Excel files based on a cellname? chrisd2000 Excel Programming 1 06-23-2014 06:50 PM
Can anyone here tweek this macro for renaming Excel files based on a cell's contents? Excel 2007, highlight entire row based on data found in one cell MSofficeBLUE Excel 2 10-15-2013 09:51 PM
Image Renaming Macro? jammer PowerPoint 5 07-15-2013 09:21 AM
Change formula cell range based on cell value Scoth Excel 4 10-25-2012 07:51 AM
Macro based on cell value ubns Excel Programming 1 05-07-2012 04:03 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:20 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