Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-28-2014, 12:40 PM
DefinedDesign DefinedDesign is offline Save As PDF Macro/VBA with Predetermined File Name Windows 7 32bit Save As PDF Macro/VBA with Predetermined File Name Office 2013
Novice
Save As PDF Macro/VBA with Predetermined File Name
 
Join Date: Oct 2014
Posts: 5
DefinedDesign is on a distinguished road
Default Save As PDF Macro/VBA with Predetermined File Name

Hello

I am adding a control button to a form template in Word 2013 and I need to write a macro/vba that will save the form as a PDF with a predetermined name, along with the name from the formfield, and date.

I would basically like the predetermined part of the file name to read:

NURS_353_Clinical_Evaluation_

Then I want to add the student's name from the formfield in the document:

NURS_353_Clinical_Evaluation_Jane_Doe_

Then add the date the file is being saved to give a complete file name of:

NURS_353_Clinical_Evaluation_Jane_Doe_10.28.2014

I need the user of the form to be able to save this PDF file anywhere on their computer or network without losing the file name.

I found a couple Macro's on the web, and tried to use them but they don't meet my needs. I confess I'm a complete newbie to all this macro/vba stuff.



Thanks in advanced for your advice!
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Save As PDF Macro/VBA with Predetermined File Name Choose file name Save As macro gbaker Excel Programming 28 07-22-2014 03:54 PM
Save As PDF Macro/VBA with Predetermined File Name Save As Macro that changes the file name also rosscortb Word VBA 5 05-19-2014 08:40 AM
save a file with a predetermined date in VBA lingering Word VBA 1 03-23-2014 07:47 PM
Save As PDF Macro/VBA with Predetermined File Name Word Macro: Save file as text with current file name jabberwocky12 Word VBA 2 10-22-2010 12:23 PM
Macro will not save to normal.dot file when exiting bobbraun Word 1 09-28-2010 06:26 AM

Other Forums: Access Forums

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