Help Please with Macro

Dangstupidtrainee

New Member
Joined
Sep 15, 2014
Messages
4
Folks,
Please help me on this one. Ive read several threads and seen many instances that were close to what I need, but no prize as yet.

For my job I have to complete a daily job brief. I have created that brief as an excel spreadsheet since that is much easier than paper in my truck. The spreadsheet has been saved as a template named "Routine Job Brief".

I need a macro that can save a copy of the completed brief, using the date as a file name, to a folder on the desktop labeled Routine Job Brief.(Would it be possible to create a macro that can do all of this and also clear the entries made on the template after the save?)

Any help would be GREATLY appreciated!
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
You'll get more flies with honey, than you will with vinegar !!!

I don't have Excel at the moment but...

Try this ... UNTESTED


Code:
Public Sub SaveToDesktop()
    ThisWorkbook.SaveAs Filename:="C:\Users\Public\Desktop\" & ThisWorkbook.Name & Format(Date, "dd/mm/yyy") & ".xls"
End Sub
 
Upvote 0
Wow, that is a really impressive comment! By the way, per my initial post, i already have it saved as a template.....Thanks for ignoring my post and request.

You live up to your screen name, read Alan's post again.
 
Upvote 0

Forum statistics

Threads
1,222,383
Messages
6,165,665
Members
451,983
Latest member
Raph24

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top