Results 1 to 6 of 6

Save to specific location as cell name

Threaded View

  1. #1
    Registered User
    Join Date
    03-16-2009
    Location
    SN3 4TN
    MS-Off Ver
    Office 2007/2003
    Posts
    7

    Save to specific location as cell name

    Hi all,

    I've been searching for ages trying to work out how to do this but have so far only managed to confuse myself.
    I have office 2007 and I have found some code to convert an excel sheet to PDF, however I need it to saveas the contents of cell (e6) and save to a location on our network drives (C:\TEMP\).

    Sub Macro1()
    '
    ' Macro1 Macro
    '
    ' Keyboard Shortcut: Ctrl+Shift+L
    '
    Sheets(Array("Report")).Select
    Sheets("Report").Activate
    ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
    "C:\TEMP\Book1.pdf", Quality:=xlQualityStandard, _
    IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:= _
    True
    End Sub
    Your help will be most appreciated.
    Last edited by Jabba; 10-15-2009 at 06:06 AM. Reason: SOLVED

Thread Information

Users Browsing this Thread

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

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