+ Reply to Thread
Results 1 to 3 of 3

Just a quick Hello

  1. #1
    Registered User
    Join Date
    05-18-2017
    Location
    Canberra
    MS-Off Ver
    2016-365
    Posts
    22

    Just a quick Hello

    Dipping my toes into the excel waters and i have found then to be both very alluring and so frustrating all at the same time.
    I am a teacher and finding more and more of my time is taken up with box ticking rather than teaching or lesson planning. To help with this workload issue i have been making a workbook that helps compile grades into a rubric. Things have been going well thanks to the help of a work colleague and if this is as good as it gets i am very happy. There is something's that would make it perfect however i am stuck and too inexperienced to understand what i am doing wrong.
    I am Using Microsoft Excel for Mac Version 15.22.
    When i try and make a macro to save the current work sheet as a PDF with the name that is taken from cell H4 on that sheet i just keep getting errors and when i do it manually it changes from landscape to portrait. To stop that change i have to go through the process of page setup and then save as PDF.
    I am so out of my depth in this i dont even know what questions i need to ask about how to do it.
    Hope your days are sunny.
    Mark

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166
    Hello MarkGannon,

    Welcome to Excelforum. Be a part of large Excel community. Enjoy Learning.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    05-18-2017
    Location
    Canberra
    MS-Off Ver
    2016-365
    Posts
    22

    Re: Just a quick Hello

    So this is the the beginning.


    Sub SavePDF()
    '
    ' SavePDF Macro
    '

    '

    ActiveWorkbook.SaveAsFixedFileFormat Type:=xlPDF, Filename:= _
    Range("H4").Text, FileFormat _
    :=xlPDF, PublishOption:=xlSheet
    End Sub


    I am trying to save a worksheet as a pdf. i am wanting the file name taken from the worksheet and for the saver to choose the destination.
    on Mac excel version15.22
    can anyone give me some ideas as to where to start.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Quick question about automatic row deletion (should be very quick and easy!!)
    By poptart141 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 04-09-2013, 12:56 PM
  2. Quick one
    By gmoney10111 in forum Excel General
    Replies: 1
    Last Post: 09-03-2012, 10:21 AM
  3. Some quick help please
    By helpwanted in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-21-2011, 05:38 PM
  4. Quick Question QUick Answer
    By ccraig61 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-25-2006, 09:34 PM
  5. Quick fix
    By Cobbcouk in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-11-2006, 01:21 PM
  6. Quick question - quick answer about assigning shortcut keys
    By funkymonkUK in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-13-2005, 06:05 AM
  7. HELP QUICK I NEED TO KNOW HOW TO ...
    By Kai Jam via OfficeKB.com in forum Excel General
    Replies: 2
    Last Post: 06-08-2005, 11:05 AM
  8. NEED HELP QUICK AGAIN!
    By The_ tone in forum Excel General
    Replies: 0
    Last Post: 05-10-2005, 03:06 PM

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