VBA: Export graphs as images on MAC

Diskutiere und helfe bei VBA: Export graphs as images on MAC im Bereich Microsoft Office im Windows Info bei einer Lösung; Good day everyone, I have been working on a workaround to save several Graphs as Images into a folder. On Windows this is quite simple, on Mac still... Dieses Thema im Forum "Microsoft Office" wurde erstellt von Fabian Voss, 24. Oktober 2017.

  1. VBA: Export graphs as images on MAC


    Good day everyone,


    I have been working on a workaround to save several Graphs as Images into a folder.

    On Windows this is quite simple, on Mac still a problem for me. I hope anyone can help me out.


    What I did so far in simple coding:


    'Select Sheet and copy Graph

    Sheets("UKI").Select
    ActiveSheet.ChartObjects("Chart 1").Activate
    ActiveChart.ChartArea.Copy

    'Select Sheet to paste (and then export)

    Sheets("Picture").Select
    Range("A1").Select
    ActiveSheet.Paste

    'Export as png/jpeg/... (choose format)

    ActiveChart.Export ("/Users/" & UserName & "/pictures/FY1718UKI.png"), FilterName:="png"


    This Does not export the file. (Error message on the last step!)

    On Windows it works though (changing the path for Windows)!



    IMPORTANT NOTE !!! I am able to export graphs as images using the shape-method !!! (copy into shape, then export as png), but this method results in poor quality. - So DO NOT PROVIDE me with the SHAPE METHOD workaround please.

    So i want to acheive the export on Mac as a normal picture (saveaspicture) to work as it does on Windows!



    Thanks for your help,

    Fabian
     
  2. Filip_St Win User

    VBA: Export graphs as images on MAC

    Hello Fabian Voss,

    Please be advised that you are posting in English on the German Microsoft Community.

    As you question is referring to VBA, please post your query in the

    Microsoft TechNet Community(German) or
    Microsoft TechNet Community(English).

    Thank you for your understanding, and let me know if you will need any additional information regarding Microsoft products.

    Have a nice day!

    Filip S.
  3. Fabian Voss Win User

    VBA: Export graphs as images on MAC

    Ich werde es noch einmal im Englischen Forum posten, danke!

    ABER falls jemand eine Idee hat - ich bin sicher die Mehrheit in diesem Forum versteht Englisch einwandfrei - freue ich mich auch hier über eine Antwort !!

    Die Frage ist also weiter offen.
  4. rnlumberio Win User

    Excel-Datei per VBA in einen Teams-Chat posten

    Wir verwenden einen Übersetzungsdienst, um unsere Benutzer zu unterstützen. Bitte entschuldigen Sie grammatikalische Fehler.
    <br />

    Hallo Florian. Ich bin RN, ein unabhängiger Berater und Microsoft-Benutzer wie Sie.

    Leider wird VBA/Macros nicht auf Teams ausgeführt. Teams verwendet stattdessen API-Aufrufe (HTTP REST), siehe Artikel unten.

    https://docs.microsoft.com/en-us/graph/api/reso...
  5. G.O.Tuhls Win User

    Grafiken in Word unscharf

    Das ist eine astreine und (von den Anschlussfehlern im Graphen abgesehen) saubere JPG im TIFF-Mantel. Wenn Du die richtig vergrößert betrachtest, sind da bereits Artefakte enthalten, die beim Export nach PDF lediglich verstärkt werden. Versuch doch mal einen
    sauberen Export als TIFF ohne JPEG-Option oder als PNG.

    Zu den "Vorgaben": Was spricht dagegen, die TIFF direkt ins Word-Dok zu importieren? Die Beschriftung kannst Du croppen und durch Textfelder direkt in Word ersetzen.

    Gruß

    G.O.
  6. Claus Busch Win User

    Können kalkulierte Datumseinträge aus Excel in einen Outlook Kalender übertragen werden?

  7. User Advert


    Hi,

    willkommen im Windows Forum!
Thema:

VBA: Export graphs as images on MAC - Microsoft Office

Die Seite wird geladen...

VBA: Export graphs as images on MAC - Similar Threads - VBA Export graphs

Forum Datum

Windows-image-app-No-show-up of images or "recognize "them as images

Windows-image-app-No-show-up of images or "recognize "them as images: Hi everybody,when I tried to open an image PNG from my desktop, they don't show up in the windows s image-app. It's just blank attachment. I also notice that the app “recognize” only screenshots...
Microsoft Office 4. Dezember 2023

OneNote Export on single page/PDF

OneNote Export on single page/PDF: Hi, i am using excessively on my iPad Pro with Apple Pencil to draw and take notes. Most of the time these are much larger than a single A4 page. When i tried to print it, it tries to split it to...
Microsoft Office 5. Juli 2023

Word 16.53 on Mac cannot display images of an MHT file.

Word 16.53 on Mac cannot display images of an MHT file.: I found a bug in the recent Word version 16.53 on Mac. The image of an MHT file cannot be displayed in Word.Reproduction steps:1. Create a Word file with an image and save/export the Word document...
Microsoft Office 6. Oktober 2021

Get and edit file on OneDrive with Microsoft Graph

Get and edit file on OneDrive with Microsoft Graph: Hello,I trying to get and edit a file on onedrive with javascript. I look at microsoft graph, but I don't find a good declaration for that. So my questions are: How do I get the file? How do I...
Microsoft Office 25. Juli 2021

Export von Aufgaben aus Outlook per VBA

Export von Aufgaben aus Outlook per VBA: Hallo, ich verwalte meine Aufgaben per Outlook. Die Aufgaben möchte ich gerne automatisiert exportieren mit VBA, um sie zu sichern. Ist das möglich? Für Tipps wäre ich dankbar. Gruß compinaut
Microsoft Office 11. November 2020

VBA mit Execl für Mac

VBA mit Execl für Mac: Ich möchte gerne VBA in Excel progammieren. Leider kann ich in meinem VBA-Editor keine Module und Masken einfügen. Liegt das an meiner Excel-Version 15.27 für den Mac??
Microsoft Office 17. Februar 2018

Microsoft Graph in Access

Microsoft Graph in Access: Liebe Community, ich benutze Access 2016 und habe seit Tagen ein Probelm bei der Darstellung mit Microsoft Graph: Ich habe ein Diagramm in einem Bericht erstellt und möchte dieses bearbeiten....
Microsoft Office 28. September 2017
VBA: Export graphs as images on MAC solved
  1. Diese Seite verwendet Cookies, um Inhalte zu personalisieren, diese deiner Erfahrung anzupassen und dich nach der Registrierung angemeldet zu halten.
    Auf dieser Website werden Cookies für die Zugriffsanalyse und Anzeigenmessung verwendet.
    Wenn du dich weiterhin auf dieser Seite aufhältst, akzeptierst du unseren Einsatz von Cookies.