{"id":4491,"date":"2024-08-29T14:04:58","date_gmt":"2024-08-29T14:04:58","guid":{"rendered":"https:\/\/quebit.com\/askquebit\/?p=4491"},"modified":"2026-01-16T15:43:09","modified_gmt":"2026-01-16T15:43:09","slug":"planning-analytics-for-microsoft-excel-api-for-macro-automation","status":"publish","type":"post","link":"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/","title":{"rendered":"How Do I Use the Planning Analytics for Excel API to Automate Tasks with Macros?"},"content":{"rendered":"<p><strong>Planning Analytics for Microsoft Excel API for Macro Automation<\/strong><\/p>\n<p>It\u2019s not uncommon to move an MS Excel workbook from <a href=\"https:\/\/www.ibm.com\/docs\/en\/planning-analytics\/2.0.0?topic=cloud-tm1-perspectives\"><strong>Perspectives<\/strong><\/a> to <a href=\"https:\/\/www.ibm.com\/docs\/en\/planning-analytics\/2.0.0?topic=cloud-planning-analytics-microsoft-excel\"><strong>Planning Analytics for Excel (PAfE)<\/strong><\/a> and find that there are buttons within the workbook that run macro(s) to perform automation tasks. If there are, you may encounter the following (or similar) error:<\/p>\n<p>\u201cCannot run the macro &lt;macro name&gt;. The macro may not be available in this workbook, or all macros may be disabled.\u201d<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4492\" src=\"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture1-1.png\" alt=\"\" width=\"839\" height=\"162\" srcset=\"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture1-1.png 839w, https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture1-1-300x58.png 300w, https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture1-1-768x148.png 768w\" sizes=\"auto, (max-width: 839px) 100vw, 839px\" \/><\/p>\n<p>If you verified your <a href=\"https:\/\/support.microsoft.com\/en-us\/office\/change-macro-security-settings-in-excel-a97c09d2-c082-46b8-b19f-e8621e8fe373\">security settings and have enabled MACROS<\/a> and <em>still<\/em> receive this error, you should know that unfortunately, <a href=\"https:\/\/www.ibm.com\/docs\/en\/planning-analytics\/2.0.0?topic=dbtppame-tm1-perspectives-features-not-implemented-in-planning-analytics-microsoft-excel\">TM1 macro functions are not supported<\/a> in Planning Analytics for Excel (PAfE). But don\u2019t worry, without much effort, you can leverage the\u00a0<a href=\"https:\/\/quebit-my.sharepoint.com\/personal\/james_miller_quebit_com\/Documents\/Planning%20Analytics%20for%20Microsoft%20Excel%20API\">Planning Analytics for Microsoft Excel\u00a0API<\/a> for macro automation.<\/p>\n<p>The following is an overview of how to get your macros working again.<\/p>\n<p><strong>Environment Setup<\/strong><\/p>\n<p>To leverage the Planning Analytics for Microsoft Excel\u00a0API, you need to add two files to your Excel Workbook. They are <strong>CognosOfficeAutomationExample.bas<\/strong>\u00a0and <strong>CognosOfficeMessageSuppressor.cls<\/strong>, which are really just text files containing <a href=\"https:\/\/learn.microsoft.com\/en-us\/office\/vba\/library-reference\/concepts\/getting-started-with-vba-in-office\">Visual Basic for Applications<\/a> (or VBA) commands (macro code) and saved as file types of \u201c.bas\u201d and \u201c.cls\u201d so that they will be \u201crecognized\u201d by Excel and your macros will run. You may already have these files on your system, but if not, they are free to download, add to your environment and share.<\/p>\n<p>To download the files, you can:<\/p>\n<p>On an MS Windows platform, use your web browser to navigate to <a href=\"https:\/\/www.ibm.com\/support\/fixcentral\"><strong>IBM Fix Central<\/strong><\/a>, select <strong>Download files using HTTPS<\/strong>, and then <strong>Cognos, Cognos for Microsoft Office (11.0, All platforms)<\/strong>. The file you want is <a href=\"https:\/\/ak-delivery04-mul.dhe.ibm.com\/sar\/CMA\/IMA\/0797i\/0\/coc_winx64h_11.0.1.11_ml.tar.gz\">coc_winx64h_11.0.1.11_ml.tar.gz\u00a0(15.52 MB)<\/a>. When the download process finishes, the file will be in your local \u201cdownloads\u201d folder where you can unpack it (to a suitable location) and then run: <strong>\\<\/strong> <strong>winx64h\\<\/strong> <strong>issetup.exe<\/strong>.<\/p>\n<p>When the installation completes, you should have a local \u201cC:\\Program Files\\ibm\\cognos\\IBM for Microsoft Office\u201d folder, with an \u201c<strong>Automation<\/strong>\u201d sub folder holding these gems:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4493\" src=\"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture2.png\" alt=\"\" width=\"783\" height=\"373\" srcset=\"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture2.png 783w, https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture2-300x143.png 300w, https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture2-768x366.png 768w\" sizes=\"auto, (max-width: 783px) 100vw, 783px\" \/><\/p>\n<p>Prepping The Workbook<\/p>\n<p>Before you can proceed any further, you need to have the \u201c<strong>Developer tab<\/strong>\u201d added to your MS Excel ribbon.<\/p>\n<p>The Developer tab in Microsoft Excel is\u00a0a feature that gives users access to advanced features, such as Visual Basic and Macro tools, ActiveX controls, and spreadsheet forms.\u00a0It is usually hidden by default, but you can enable it by following these steps:<\/p>\n<ol>\n<li>Open your Excel workbook.<\/li>\n<li>Right-click on any ribbon tab<\/li>\n<li>Select Customize the Ribbon<\/li>\n<li>Highlight the Customize Ribbon tab on the left side<\/li>\n<li>On the right side, find the list of tabs in the ribbon and locate the Developer tab<\/li>\n<li>Left click the box to check the Developer tab<\/li>\n<li>Click OK<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4494\" src=\"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture3.png\" alt=\"\" width=\"900\" height=\"125\" srcset=\"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture3.png 900w, https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture3-300x42.png 300w, https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture3-768x107.png 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p>Adding Files the Automation Files<\/p>\n<ol>\n<li>Click the\u00a0Developer\u00a0tab, and then click\u00a0<strong>Visual Basic<\/strong>.<\/li>\n<\/ol>\n<ol start=\"2\">\n<li>Right-click\u00a0<strong>VBAProject<\/strong>and click\u00a0<strong>Import File<\/strong>.<\/li>\n<li>Browse to the location where the IBM Cognos Automation macro files are installed. The location we created above is\u00a0 \u201cC:\\Program Files\\ibm\\cognos\\IBM for Microsoft Office\\Automation.\u201d Click the\u00a0<strong>bas<\/strong>file and import it into the VBA project.<\/li>\n<li>Repeat steps 2 to 3 to import the\u00a0<strong>cls<\/strong>file. You should end up with a VBAProject that now looks like this:<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4495\" src=\"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture4.png\" alt=\"\" width=\"395\" height=\"332\" srcset=\"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture4.png 395w, https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture4-300x252.png 300w\" sizes=\"auto, (max-width: 395px) 100vw, 395px\" \/><\/p>\n<p>Close the <strong>Visual Basic Edito<\/strong>r and make sure that you save the file, close it, and then reopen the file &#8211; you can now call the macros contained in the Cognos automation macro files from the VBA code that you write in your Excel workbook!<\/p>\n<p><strong>Let Us Test It<\/strong><\/p>\n<p>Use an existing button or add a new one. I have added a new one for this exercise:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4496\" src=\"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture5.png\" alt=\"\" width=\"157\" height=\"116\" \/><\/p>\n<p>Next, you can assign a macro to the button. I have added one to the <strong>CognosOfficeAutomationExample.bas<\/strong>\u00a0file:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4497\" src=\"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture6.png\" alt=\"\" width=\"579\" height=\"498\" srcset=\"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture6.png 579w, https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture6-300x258.png 300w\" sizes=\"auto, (max-width: 579px) 100vw, 579px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4498\" src=\"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture7.png\" alt=\"\" width=\"928\" height=\"411\" srcset=\"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture7.png 928w, https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture7-300x133.png 300w, https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture7-768x340.png 768w\" sizes=\"auto, (max-width: 928px) 100vw, 928px\" \/><\/p>\n<p>Clicking the button shows that it is working:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4499\" src=\"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture8.png\" alt=\"\" width=\"198\" height=\"224\" \/><\/p>\n<p><strong>Conclusion<\/strong><\/p>\n<p>You can see the following link to read more details on the steps I have outlined above: <a href=\"https:\/\/ibm.github.io\/paxapi\">https:\/\/ibm.github.io\/paxapi<\/a>. In addition, the below documentation may be helpful when moving from Perspectives to Planning Analytics for Excel (PAfE):<\/p>\n<p><a href=\"https:\/\/www.ibm.com\/docs\/en\/planning-analytics\/2.0.0?topic=pame-moving-from-tm1-perspectives-planning-analytics-microsoft-excel\">https:\/\/www.ibm.com\/docs\/en\/planning-analytics\/2.0.0?topic=pame-moving-from-tm1-perspectives-planning-analytics-microsoft-excel<\/a><\/p>\n<p>Last but not least, if you would like further assistance with Excel macros use within PAfE, or help in migrating to Planning Analytics for Excel, please reach out to QueBIT!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Planning Analytics for Microsoft Excel API for Macro Automation It\u2019s not uncommon to move an MS Excel workbook from Perspectives to Planning Analytics for Excel (PAfE) and find that there are buttons within the workbook that run macro(s) to perform automation tasks. If there are, you may encounter the following (or similar) error: \u201cCannot run&hellip;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[24],"tags":[108,55],"class_list":["post-4491","post","type-post","status-publish","format-standard","hentry","category-ibm","tag-ibm-planning-analytics","tag-planning-analytics-tech-tips"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How Do I Use the Planning Analytics for Excel API to Automate Tasks with Macros? - QueBIT<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How Do I Use the Planning Analytics for Excel API to Automate Tasks with Macros? - QueBIT\" \/>\n<meta property=\"og:description\" content=\"Planning Analytics for Microsoft Excel API for Macro Automation It\u2019s not uncommon to move an MS Excel workbook from Perspectives to Planning Analytics for Excel (PAfE) and find that there are buttons within the workbook that run macro(s) to perform automation tasks. If there are, you may encounter the following (or similar) error: \u201cCannot run&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/\" \/>\n<meta property=\"og:site_name\" content=\"QueBIT\" \/>\n<meta property=\"article:published_time\" content=\"2024-08-29T14:04:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-16T15:43:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture1-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"839\" \/>\n\t<meta property=\"og:image:height\" content=\"162\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jennifer Field\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jennifer Field\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/\"},\"author\":{\"name\":\"Jennifer Field\",\"@id\":\"https:\/\/quebit.com\/askquebit\/#\/schema\/person\/082a9c4156466b9cdad2632e3de62601\"},\"headline\":\"How Do I Use the Planning Analytics for Excel API to Automate Tasks with Macros?\",\"datePublished\":\"2024-08-29T14:04:58+00:00\",\"dateModified\":\"2026-01-16T15:43:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/\"},\"wordCount\":717,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture1-1.png\",\"keywords\":[\"IBM Planning Analytics\",\"Planning Analytics Tech Tips\"],\"articleSection\":[\"IBM\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/\",\"url\":\"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/\",\"name\":\"How Do I Use the Planning Analytics for Excel API to Automate Tasks with Macros? - QueBIT\",\"isPartOf\":{\"@id\":\"https:\/\/quebit.com\/askquebit\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture1-1.png\",\"datePublished\":\"2024-08-29T14:04:58+00:00\",\"dateModified\":\"2026-01-16T15:43:09+00:00\",\"author\":{\"@id\":\"https:\/\/quebit.com\/askquebit\/#\/schema\/person\/082a9c4156466b9cdad2632e3de62601\"},\"breadcrumb\":{\"@id\":\"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/#primaryimage\",\"url\":\"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture1-1.png\",\"contentUrl\":\"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture1-1.png\",\"width\":839,\"height\":162},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/quebit.com\/askquebit\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How Do I Use the Planning Analytics for Excel API to Automate Tasks with Macros?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/quebit.com\/askquebit\/#website\",\"url\":\"https:\/\/quebit.com\/askquebit\/\",\"name\":\"QueBIT\",\"description\":\"QueBIT\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/quebit.com\/askquebit\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/quebit.com\/askquebit\/#\/schema\/person\/082a9c4156466b9cdad2632e3de62601\",\"name\":\"Jennifer Field\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/02bd32c7255ad906cd2c6352f643559cfee048a9b227b5b07b6a6f48d5b4a658?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/02bd32c7255ad906cd2c6352f643559cfee048a9b227b5b07b6a6f48d5b4a658?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/02bd32c7255ad906cd2c6352f643559cfee048a9b227b5b07b6a6f48d5b4a658?s=96&d=mm&r=g\",\"caption\":\"Jennifer Field\"},\"url\":\"https:\/\/quebit.com\/askquebit\/author\/quebit\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How Do I Use the Planning Analytics for Excel API to Automate Tasks with Macros? - QueBIT","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/","og_locale":"en_US","og_type":"article","og_title":"How Do I Use the Planning Analytics for Excel API to Automate Tasks with Macros? - QueBIT","og_description":"Planning Analytics for Microsoft Excel API for Macro Automation It\u2019s not uncommon to move an MS Excel workbook from Perspectives to Planning Analytics for Excel (PAfE) and find that there are buttons within the workbook that run macro(s) to perform automation tasks. If there are, you may encounter the following (or similar) error: \u201cCannot run&hellip;","og_url":"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/","og_site_name":"QueBIT","article_published_time":"2024-08-29T14:04:58+00:00","article_modified_time":"2026-01-16T15:43:09+00:00","og_image":[{"width":839,"height":162,"url":"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture1-1.png","type":"image\/png"}],"author":"Jennifer Field","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Jennifer Field","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/#article","isPartOf":{"@id":"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/"},"author":{"name":"Jennifer Field","@id":"https:\/\/quebit.com\/askquebit\/#\/schema\/person\/082a9c4156466b9cdad2632e3de62601"},"headline":"How Do I Use the Planning Analytics for Excel API to Automate Tasks with Macros?","datePublished":"2024-08-29T14:04:58+00:00","dateModified":"2026-01-16T15:43:09+00:00","mainEntityOfPage":{"@id":"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/"},"wordCount":717,"commentCount":0,"image":{"@id":"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/#primaryimage"},"thumbnailUrl":"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture1-1.png","keywords":["IBM Planning Analytics","Planning Analytics Tech Tips"],"articleSection":["IBM"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/","url":"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/","name":"How Do I Use the Planning Analytics for Excel API to Automate Tasks with Macros? - QueBIT","isPartOf":{"@id":"https:\/\/quebit.com\/askquebit\/#website"},"primaryImageOfPage":{"@id":"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/#primaryimage"},"image":{"@id":"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/#primaryimage"},"thumbnailUrl":"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture1-1.png","datePublished":"2024-08-29T14:04:58+00:00","dateModified":"2026-01-16T15:43:09+00:00","author":{"@id":"https:\/\/quebit.com\/askquebit\/#\/schema\/person\/082a9c4156466b9cdad2632e3de62601"},"breadcrumb":{"@id":"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/#primaryimage","url":"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture1-1.png","contentUrl":"https:\/\/quebit.com\/askquebit\/wp-content\/uploads\/2024\/08\/Picture1-1.png","width":839,"height":162},{"@type":"BreadcrumbList","@id":"https:\/\/quebit.com\/askquebit\/planning-analytics-for-microsoft-excel-api-for-macro-automation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/quebit.com\/askquebit\/"},{"@type":"ListItem","position":2,"name":"How Do I Use the Planning Analytics for Excel API to Automate Tasks with Macros?"}]},{"@type":"WebSite","@id":"https:\/\/quebit.com\/askquebit\/#website","url":"https:\/\/quebit.com\/askquebit\/","name":"QueBIT","description":"QueBIT","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/quebit.com\/askquebit\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/quebit.com\/askquebit\/#\/schema\/person\/082a9c4156466b9cdad2632e3de62601","name":"Jennifer Field","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/02bd32c7255ad906cd2c6352f643559cfee048a9b227b5b07b6a6f48d5b4a658?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/02bd32c7255ad906cd2c6352f643559cfee048a9b227b5b07b6a6f48d5b4a658?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/02bd32c7255ad906cd2c6352f643559cfee048a9b227b5b07b6a6f48d5b4a658?s=96&d=mm&r=g","caption":"Jennifer Field"},"url":"https:\/\/quebit.com\/askquebit\/author\/quebit\/"}]}},"_links":{"self":[{"href":"https:\/\/quebit.com\/askquebit\/wp-json\/wp\/v2\/posts\/4491","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/quebit.com\/askquebit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/quebit.com\/askquebit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/quebit.com\/askquebit\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/quebit.com\/askquebit\/wp-json\/wp\/v2\/comments?post=4491"}],"version-history":[{"count":3,"href":"https:\/\/quebit.com\/askquebit\/wp-json\/wp\/v2\/posts\/4491\/revisions"}],"predecessor-version":[{"id":4971,"href":"https:\/\/quebit.com\/askquebit\/wp-json\/wp\/v2\/posts\/4491\/revisions\/4971"}],"wp:attachment":[{"href":"https:\/\/quebit.com\/askquebit\/wp-json\/wp\/v2\/media?parent=4491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/quebit.com\/askquebit\/wp-json\/wp\/v2\/categories?post=4491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/quebit.com\/askquebit\/wp-json\/wp\/v2\/tags?post=4491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}