Re: $$Excel-Macros$$ Save excel with date

2013-01-25 Thread ashish koul
Sub test() Dim wkb As Workbook Dim pth As String Dim myname As String pth = "C:\Documents and Settings\user\Desktop\" myname = "ashish" ' or try this 'myname = Application.UserName ' or try this 'myname = Environ("username") Set wkb = ActiveWorkbook wkb.SaveAs pth & myname & VBA.Format(Date, "_dd

Re: $$Excel-Macros$$ Save excel with date

2013-01-25 Thread Paul Schreiner
--- “Do all the good you can, By all the means you can, In all the ways you can, In all the places you can, At all the times you can, To all the people you can, As long as ever you can.” - John Wesley -------------

$$Excel-Macros$$ Save excel with date

2013-01-25 Thread suresh k
Hi, I am trying to save excel file using macro.. The file name should be my name followed by today's date. Is there any macro for this? /Suresh -- Join official Facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES 1) Use concise, accurate thread titles. Poor threa