Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-02-2015, 08:53 AM
MaheshBabu MaheshBabu is offline Convert word to pdf Windows 8 Convert word to pdf Office 2003
Novice
Convert word to pdf
 
Join Date: Apr 2015
Posts: 1
MaheshBabu is on a distinguished road
Default Convert word to pdf

Hi,



I want a macro for the below requirements :

1. Convert the current page of word document into pdf

2. Should take me by default to Desktop

3. Should allow me to give a file name

***

I have the below code, however i have the below challenges:

a. entire word document is getting convert instead of current page
b. by default taking me to My documents folder on my system

Sub PDF()
With Dialogs(wdDialogFileSaveAs)
.Name = "Draft_[Topic]_[Date]"
.Format = wdFormatPDF
.Show
End With
End Sub


Can some help me in editing the above code or give me a new code with above requirements

Thanks in advance....
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Word 2007 macro to work in Word 2003 Kamaflage Word VBA 1 02-25-2015 11:40 PM
How Do I Convert XML to Word? Synful Word 13 11-23-2014 02:18 PM
Convert word to pdf Convert word document to pdf Catty Word VBA 1 12-11-2013 03:57 PM
Convert word to pdf How to convert HTML to Word doc trtrtre Word 1 12-27-2011 07:26 PM
Convert word to pdf How to convert PDF to word on Mac? priya Word 1 10-07-2011 11:03 AM

Other Forums: Access Forums

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