•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 391,550 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,566 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser:
Views: 16768 | Replies: 2 | Solved
![]() |
•
•
Join Date: Oct 2005
Location: Northampton UK
Posts: 1,141
Reputation:
Rep Power: 6
Solved Threads: 9
I have posted this thread in the microsoft software forum as well but with no luck. If anyone can tell me how I can save a active excel file using a macro to save it in a folder using the current date as the file name. I hope that was clear. I know no VBA at all sorry...
Any help will be appreciated.
Thanks
Any help will be appreciated.
Thanks
•
•
Join Date: Jan 2007
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 1
•
•
•
•
I have posted this thread in the microsoft software forum as well but with no luck. If anyone can tell me how I can save a active excel file using a macro to save it in a folder using the current date as the file name. I hope that was clear. I know no VBA at all sorry...
Any help will be appreciated.
Thanks
This will save with a value of a cell and todays date
Sub save()
ActiveWorkbook.SaveAs Filename:=Range("B11").Value & Format(Date, "mmdd")
End Sub
Last edited by njreid : Jan 16th, 2007 at 1:54 pm.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
•
•
•
•
•
•
•
•
DaniWeb Visual Basic 4 / 5 / 6 Marketplace
Similar Threads
- Save Excel as txt (Tab Delimited) (Visual Basic 4 / 5 / 6)
- Save As Macro using date in Excel (Windows Software)
- Excel Macro VBA Help (Visual Basic 4 / 5 / 6)
- Date format in MS Office 2000 (Visual Basic 4 / 5 / 6)
- How to Add date to file Name (Windows NT / 2000 / XP / 2003)
- Good Luck w/This one: Excel Question VBA/Macro/other (MS Access and FileMaker Pro)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Copy Folder with %Computername% and %Username% prefix
- Next Thread: Controlling simple devices in VB4/VB5



Linear Mode