Results 1 to 9 of 9

VBA for saving excel worksheet into .pdf document

Threaded View

seemanthv VBA for saving excel... 03-05-2014, 01:05 AM
HaHoBe Re: VBA for saving excel... 03-05-2014, 01:19 AM
seemanthv Re: VBA for saving excel... 03-05-2014, 02:01 AM
chinraj Re: VBA for saving excel... 03-05-2014, 01:21 AM
seemanthv Re: VBA for saving excel... 03-05-2014, 02:08 AM
allenz0rz Re: VBA for saving excel... 03-05-2014, 01:23 AM
HaHoBe Re: VBA for saving excel... 03-05-2014, 01:26 AM
allenz0rz Re: VBA for saving excel... 03-05-2014, 02:03 AM
seemanthv Re: VBA for saving excel... 03-05-2014, 02:07 AM
  1. #1
    Registered User
    Join Date
    11-24-2012
    Location
    UAE
    MS-Off Ver
    Excel 2010
    Posts
    11

    VBA for saving excel worksheet into .pdf document

    Hi,

    I was using the VBA

    Sub Savepdf()
    
    Application.ScreenUpdating = False
    Dim fName As String
    With ActiveSheet
        fName = .Range("E4").Value
        .ExportAsFixedFormat Type:=xlTypePDF, FileName:= _
                fName & ".pdf", Quality:=xlQualityStandard, _
                IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:=False
    End With
    Application.ScreenUpdating = True
    End Sub
    but now it seems it is not responding/nor giving any result. Please let me know what could be the reason.

    Regards,
    Seemanth
    Last edited by seemanthv; 03-05-2014 at 02:12 AM. Reason: Issue got resolved

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Saving excel as word document
    By excel_help12 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 05-25-2012, 02:55 AM
  2. [SOLVED] Saving Document in Excel
    By Sam in forum Excel General
    Replies: 6
    Last Post: 07-11-2006, 01:35 PM
  3. [SOLVED] Saving excel document as a .csv and not lose formats?
    By karenv in forum Excel General
    Replies: 1
    Last Post: 10-26-2005, 02:05 PM
  4. [SOLVED] Automatically Saving an Excel Document as a Web Page
    By Danimagus in forum Excel General
    Replies: 0
    Last Post: 06-01-2005, 06:05 PM
  5. [SOLVED] When saving a worksheet in excel message "document not saved"
    By Bailey in forum Excel General
    Replies: 1
    Last Post: 01-24-2005, 08:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1