+ Reply to Thread
Results 1 to 2 of 2

Macro for save as PDF to sharepoint page

  1. #1
    Registered User
    Join Date
    04-23-2023
    Location
    UK
    MS-Off Ver
    2021
    Posts
    1

    Question Macro for save as PDF to sharepoint page

    Hi,
    I am very new to macros and would like to know how I can do the following. I have a single sheet in an excel workbook and I want a button which will:
    1.save the sheet (an array of cells) as a PDF (landscape) in a particular work sharepoint folder
    2. The pdf file name should be whatever is in cell C3
    3. If the save is successful I want a pop up message box to say that. If it is unsuccessful I would like an error message box to say that.


    Thank you in advance


    EDIT: solved elsewhere.
    Last edited by Drefiek2; 04-24-2023 at 12:37 PM.

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow Re: Macro for save as PDF to sharepoint page


    Hi,

    first try manually as Excel & sharepoint under VBA can be a mess …
    If that works manually, activate the Macro Recorder and redo the same manual operations
    in order to post the generated code here - via the # icon - in case you need some optimization …

+ 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. Macro to save as pdf to sharepoint site and work with multiple users
    By robbybarnes55 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-27-2021, 11:50 PM
  2. [SOLVED] Macro - Save to Sharepoint
    By leviathan86 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-29-2015, 12:24 PM
  3. macro to save excel as pdf to sharepoint server
    By jbrady172 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-16-2014, 01:41 PM
  4. How to save word document on Sharepoint - VBA macro
    By MoneyPenny in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-04-2013, 10:31 AM
  5. Using Macro to Save File to SharePoint
    By dave_b_dave in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-06-2013, 12:25 PM
  6. Macro to save to sharepoint library
    By chris.tinta in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-07-2012, 10:08 PM
  7. macro to save to sharepoint
    By vthokie2010 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-06-2011, 05:00 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