# \#macro

**URL:** https://forum.uipath.com/tag/macro/2800.md

[Latest](https://forum.uipath.com/latest.md) · [Categories](https://forum.uipath.com/categories.md) · [Tags](https://forum.uipath.com/tags.md)

---

## [Copying columns from one excel workbook(Input Excel) to another excel workbook(Output)](https://forum.uipath.com/t/copying-columns-from-one-excel-workbook-input-excel-to-another-excel-workbook-output/759545)

<div class="topic-metadata">

**Author:** [@anjasing](https://forum.uipath.com/u/anjasing)\
**Replies:** 2\
**Last updated:** [August 12, 2024, 7:44pm UTC](https://forum.uipath.com/t/copying-columns-from-one-excel-workbook-input-excel-to-another-excel-workbook-output/759545 "2024-08-12T19:44:41Z")

</div>

I’ve tried via recording Macro but it’s not working as 2 workbooks are involved. Can someone help? Thanks in advance.

---

## [Run Macros in excel with database connection into that excel file](https://forum.uipath.com/t/run-macros-in-excel-with-database-connection-into-that-excel-file/741284)

<div class="topic-metadata">

**Author:** [@Fabio\_Villamil](https://forum.uipath.com/u/Fabio_Villamil)\
**Replies:** 1\
**Last updated:** [May 15, 2024, 10:12pm UTC](https://forum.uipath.com/t/run-macros-in-excel-with-database-connection-into-that-excel-file/741284 "2024-05-15T22:12:48Z")

</div>

I am considering whether or not a process can be automated and I have a question. I have an excel with a macro, I know that we can use activities to run this macro without any problem but I have the following questions: …

---

## [\<Excel Macro Issue\> Invoke VBA - Macro1: Cannot run the macro 'Macro1'. The macro may not be available in this workbook or all macros may be disabled](https://forum.uipath.com/t/excel-macro-issue-invoke-vba-macro1-cannot-run-the-macro-macro1-the-macro-may-not-be-available-in-this-workbook-or-all-macros-may-be-disabled/716015)

<div class="topic-metadata">

**Author:** [@anjasing](https://forum.uipath.com/u/anjasing)\
**Replies:** 6\
**Last updated:** [January 30, 2024, 4:17pm UTC](https://forum.uipath.com/t/excel-macro-issue-invoke-vba-macro1-cannot-run-the-macro-macro1-the-macro-may-not-be-available-in-this-workbook-or-all-macros-may-be-disabled/716015 "2024-01-30T16:17:58Z")

</div>

I am facing this issue for long! File is saved in .xlsx format. No macros or VBA script is inside the excel. I am using all the macros/formulae saved in text file and then using Excel application scope and inside it I…

---

## [Macro issue - Cannot run the macro. the macro may not be available in this workbook or all macros may be disabled](https://forum.uipath.com/t/macro-issue-cannot-run-the-macro-the-macro-may-not-be-available-in-this-workbook-or-all-macros-may-be-disabled/714657)

<div class="topic-metadata">

**Author:** [@Anjali\_Rani](https://forum.uipath.com/u/Anjali_Rani)\
**Replies:** 3\
**Last updated:** [January 25, 2024, 8:35pm UTC](https://forum.uipath.com/t/macro-issue-cannot-run-the-macro-the-macro-may-not-be-available-in-this-workbook-or-all-macros-may-be-disabled/714657 "2024-01-25T20:35:58Z")

</div>

Hi guyz, Is any one have the solution for the above stated Macro issue . I have multiple macros running in processes.And in continuously facing this issue from last 2 weeks. Though the macros are available in the work…

---

## [Execute Excel Macro within specific sheet of workbook](https://forum.uipath.com/t/execute-excel-macro-within-specific-sheet-of-workbook/571932)

<div class="topic-metadata">

**Author:** [@tmcwade12](https://forum.uipath.com/u/tmcwade12)\
**Replies:** 6\
**Last updated:** [August 10, 2023, 7:07pm UTC](https://forum.uipath.com/t/execute-excel-macro-within-specific-sheet-of-workbook/571932 "2023-08-10T19:07:57Z")

</div>

I’ve created a Macro in Excel that I want to run using UiPath. My Excel doc contains multiple sheets. Is there a way to specify the sheet that I want to run the Excel Macro for? The problem I’m having is that when I exe…

---

## [Find a value](https://forum.uipath.com/t/find-a-value/568532)

<div class="topic-metadata">

**Author:** [@WS\_Chai](https://forum.uipath.com/u/WS_Chai)\
**Replies:** 7\
**Last updated:** [August 1, 2023, 12:57pm UTC](https://forum.uipath.com/t/find-a-value/568532 "2023-08-01T12:57:53Z")

</div>

Hello there, I would like to find whether a value exists in any sheets of an excel file (including the hidden tabs). If the value exists, I would like to write the cell address in a new sheet. I tried to tailor a macro…

---

## [Macro to find a value in excel](https://forum.uipath.com/t/macro-to-find-a-value-in-excel/568663)

<div class="topic-metadata">

**Author:** [@WS\_Chai](https://forum.uipath.com/u/WS_Chai)\
**Replies:** 5\
**Last updated:** [August 1, 2023, 8:26am UTC](https://forum.uipath.com/t/macro-to-find-a-value-in-excel/568663 "2023-08-01T08:26:57Z")

</div>

Hello there, My code is not working. Can anyone guide me on how to correct it? I would like to find if the value “2021” exists in any cell of any sheet, including checking through all hidden tabs. One sheet may even h…

---

## [Filter Excel data using dynamic value and highlight the cell based on those values](https://forum.uipath.com/t/filter-excel-data-using-dynamic-value-and-highlight-the-cell-based-on-those-values/562925)

<div class="topic-metadata">

**Author:** [@OmkarKd](https://forum.uipath.com/u/OmkarKd)\
**Replies:** 0\
**Last updated:** [July 13, 2023, 5:43am UTC](https://forum.uipath.com/t/filter-excel-data-using-dynamic-value-and-highlight-the-cell-based-on-those-values/562925 "2023-07-13T05:43:22Z")

</div>

Hi, I want to filter Excel data which contains 80-90k records based on a values which is coming from another sheet and from another Excel. For eg excel one contains column name “A” and it has values like “1”,“2”,“3”,“4…

---

## [How to start multiple macros in Microsoft Access with Uipath](https://forum.uipath.com/t/how-to-start-multiple-macros-in-microsoft-access-with-uipath/527816)

<div class="topic-metadata">

**Author:** [@Anaskra](https://forum.uipath.com/u/Anaskra)\
**Replies:** 1\
**Last updated:** [March 20, 2023, 5:06pm UTC](https://forum.uipath.com/t/how-to-start-multiple-macros-in-microsoft-access-with-uipath/527816 "2023-03-20T17:06:19Z")

</div>

Hi everyone, I am in need for a solution on how to run/start multiple macros in Microsoft Access with UiPath. I have seen the solution from the resolved question by the user \[brian.c.hunt\], but I am wondering whether t…

---

## [Issue in running VB Script to send Mail](https://forum.uipath.com/t/issue-in-running-vb-script-to-send-mail/519725)

<div class="topic-metadata">

**Author:** [@user928](https://forum.uipath.com/u/user928)\
**Replies:** 7\
**Last updated:** [February 23, 2023, 3:26pm UTC](https://forum.uipath.com/t/issue-in-running-vb-script-to-send-mail/519725 "2023-02-23T15:26:11Z")

</div>

Hi Everyone, I’m facing an issue with VBA code i want to send a outlook mail in encrypted format through VBA code but when i use in UiPath it is throwing an error. I’m attaching my code below. Note: I’m not sure whethe…

---

## [Macro executed incorrectly by the robot](https://forum.uipath.com/t/macro-executed-incorrectly-by-the-robot/517487)

<div class="topic-metadata">

**Author:** [@Gmol\_Jakub](https://forum.uipath.com/u/Gmol_Jakub)\
**Replies:** 1\
**Last updated:** [February 17, 2023, 4:00pm UTC](https://forum.uipath.com/t/macro-executed-incorrectly-by-the-robot/517487 "2023-02-17T16:00:48Z")

</div>

hi i built a simple process. just running a macro. when i run it manually everything is fine. while when the robot does it, the sheets are converted into excel. the robot pastes data in other places than it should. in ui…

---

## [Cómo puedo abrir y ejecutar una macro en ACCESS? Esta Macro convierte el excel en base de datos, necesito ejecutar esa Macro desde uipath](https://forum.uipath.com/t/como-puedo-abrir-y-ejecutar-una-macro-en-access-esta-macro-convierte-el-excel-en-base-de-datos-necesito-ejecutar-esa-macro-desde-uipath/507094)

<div class="topic-metadata">

**Author:** [@misael.d.nigo](https://forum.uipath.com/u/misael.d.nigo)\
**Replies:** 1\
**Last updated:** [January 14, 2023, 11:55am UTC](https://forum.uipath.com/t/como-puedo-abrir-y-ejecutar-una-macro-en-access-esta-macro-convierte-el-excel-en-base-de-datos-necesito-ejecutar-esa-macro-desde-uipath/507094 "2023-01-14T11:55:47Z")

</div>

Cómo puedo extraer el texto de un archivo .txt, pasarlo a un documento Ecxel y que me lo acomode en diferentes columnas?

---

## [Microsoft Project Macro](https://forum.uipath.com/t/microsoft-project-macro/492241)

<div class="topic-metadata">

**Author:** [@lina\_Sahli](https://forum.uipath.com/u/lina_Sahli)\
**Replies:** 6\
**Last updated:** [November 21, 2022, 5:12pm UTC](https://forum.uipath.com/t/microsoft-project-macro/492241 "2022-11-21T17:12:30Z")

</div>

Hello everyone, Did anyone here worked with Ms Project. I want to know if there is an activity to run a Microsoft Project Macro from UiPath other that the activity “Execute macro” with excel and the other one with word…

---

## [Error while using Run Spreadsheet Macro](https://forum.uipath.com/t/error-while-using-run-spreadsheet-macro/458235)

<div class="topic-metadata">

**Author:** [@Neeraj\_Upadhyay](https://forum.uipath.com/u/Neeraj_Upadhyay)\
**Replies:** 2\
**Last updated:** [July 20, 2022, 9:14pm UTC](https://forum.uipath.com/t/error-while-using-run-spreadsheet-macro/458235 "2022-07-20T21:14:46Z")

</div>

When I’m trying to use Run Spreadhsheet Macro to run excel macro from UI Path. I’m using this activity inside Excel Process Scope aswell as Use Excel File but while using the Run Spreadhsheet Macro activty is needs Sourc…

---

## [Same Product names matching and save in final excel file using excel macros](https://forum.uipath.com/t/same-product-names-matching-and-save-in-final-excel-file-using-excel-macros/449210)

<div class="topic-metadata">

**Author:** [@Ashok\_kumar7](https://forum.uipath.com/u/Ashok_kumar7)\
**Replies:** 2\
**Last updated:** [June 18, 2022, 10:34am UTC](https://forum.uipath.com/t/same-product-names-matching-and-save-in-final-excel-file-using-excel-macros/449210 "2022-06-18T10:34:15Z")

</div>

Two excel files: 1, file name - Flipkart Details in the files are:- Name, price, discountamount, status Main file - final product file Sheets: Amazon, Bigbasket, filpkart Selecting filpkart sheet, Flipkart sheet h…

---

## [How to open a Excel with a pop up msgbox?](https://forum.uipath.com/t/how-to-open-a-excel-with-a-pop-up-msgbox/441464)

<div class="topic-metadata">

**Author:** [@JP\_Chang](https://forum.uipath.com/u/JP_Chang)\
**Replies:** 9\
**Last updated:** [May 22, 2022, 8:28am UTC](https://forum.uipath.com/t/how-to-open-a-excel-with-a-pop-up-msgbox/441464 "2022-05-22T08:28:44Z")

</div>

As title, I have a excel file, filename extension is xlsb. This file have a Workbook\_open event, and it will pop up a message box. If I use activity-“Excel Application Scope” to open this file, it will stop running befo…

---

## [How to generate datatables equal invoice codes?](https://forum.uipath.com/t/how-to-generate-datatables-equal-invoice-codes/416677)

<div class="topic-metadata">

**Author:** [@Lynx](https://forum.uipath.com/u/Lynx)\
**Replies:** 11\
**Last updated:** [April 22, 2022, 3:49pm UTC](https://forum.uipath.com/t/how-to-generate-datatables-equal-invoice-codes/416677 "2022-04-22T15:49:56Z")

</div>

Good afternoon friends; One query please, I need read an excel file and generate datatables with equal invoice codes (column A) The expected result would be a data with the following rows: expected result: dt1: …

---

## [Uipath Studio でSharepoint上のExcelのマクロを動かしたい](https://forum.uipath.com/t/uipath-studio-sharepoint-excel/409183)

<div class="topic-metadata">

**Author:** [@hanapota](https://forum.uipath.com/u/hanapota)\
**Replies:** 1\
**Last updated:** [March 25, 2022, 12:13am UTC](https://forum.uipath.com/t/uipath-studio-sharepoint-excel/409183 "2022-03-25T00:13:24Z")

</div>

お世話になります。 Sharepoint上のExcelファイルのマクロをUipathから動かしたいのですが、どのようにできますでしょうか？ Uipath.MicrosoftOffice365.ActivitiesのExcelには、マクロ実行のアクティビティはないようです。

---

## [Extract Group of Excel chart to PPT Slide and put a header for that group](https://forum.uipath.com/t/extract-group-of-excel-chart-to-ppt-slide-and-put-a-header-for-that-group/409318)

<div class="topic-metadata">

**Author:** [@alpharobot](https://forum.uipath.com/u/alpharobot)\
**Replies:** 1\
**Last updated:** [March 25, 2022, 4:02pm UTC](https://forum.uipath.com/t/extract-group-of-excel-chart-to-ppt-slide-and-put-a-header-for-that-group/409318 "2022-03-25T16:02:06Z")

</div>

Hi members of the UiPath Forum, I am stuck with a complex situation while automating Excel using Macro for Charts. may be this is not ideally a right platform to post this but any help is appreciated. I have 18 Excel P…

---

## [About Macros](https://forum.uipath.com/t/about-macros/405454)

<div class="topic-metadata">

**Author:** [@Bindu\_sai](https://forum.uipath.com/u/Bindu_sai)\
**Replies:** 1\
**Last updated:** [March 9, 2022, 1:26am UTC](https://forum.uipath.com/t/about-macros/405454 "2022-03-09T01:26:45Z")

</div>

how to call the value(parameters) in macros to the uipath.

---

## [Excel Macro Code issue](https://forum.uipath.com/t/excel-macro-code-issue/378392)

<div class="topic-metadata">

**Author:** [@JITU99](https://forum.uipath.com/u/JITU99)\
**Replies:** 9\
**Last updated:** [December 19, 2021, 11:44am UTC](https://forum.uipath.com/t/excel-macro-code-issue/378392 "2021-12-19T11:44:59Z")

</div>

Hi All, This is a part of my excel macro where it opens a text files from mentioned path.I want to pass the directory path where the file is present from a paramter through the execute macro activity.Can you please help…

---

## [How to find column value is blank and update the status without using Loop](https://forum.uipath.com/t/how-to-find-column-value-is-blank-and-update-the-status-without-using-loop/367966)

<div class="topic-metadata">

**Author:** [@nithya](https://forum.uipath.com/u/nithya)\
**Replies:** 9\
**Last updated:** [December 8, 2021, 3:23pm UTC](https://forum.uipath.com/t/how-to-find-column-value-is-blank-and-update-the-status-without-using-loop/367966 "2021-12-08T15:23:11Z")

</div>

Hello All, In this excel file ,The column (Current H8,New H8, Delivery Location)should not be empty, If this following column are empty, In status it should update as Unsuccessful & Remarks are Column name (Current H8,N…

---

## [How to read macro-based excel file (.xlsm) in Read and Write range Workbook but not in excel application scope](https://forum.uipath.com/t/how-to-read-macro-based-excel-file-xlsm-in-read-and-write-range-workbook-but-not-in-excel-application-scope/355878)

<div class="topic-metadata">

**Author:** [@Agrawal\_Aman1117](https://forum.uipath.com/u/Agrawal_Aman1117)\
**Replies:** 1\
**Last updated:** [October 27, 2021, 4:00pm UTC](https://forum.uipath.com/t/how-to-read-macro-based-excel-file-xlsm-in-read-and-write-range-workbook-but-not-in-excel-application-scope/355878 "2021-10-27T16:00:50Z")

</div>

Hello Team, There is one use case that I have to use a macro-based excel file (.xlsm) to read and write the data with the help of the UiPath tool and which is working properly on excel application scope activity but not…

---

## [Excel macros to convert text into hyperlink](https://forum.uipath.com/t/excel-macros-to-convert-text-into-hyperlink/337263)

<div class="topic-metadata">

**Author:** [@pari\_patel](https://forum.uipath.com/u/pari_patel)\
**Replies:** 2\
**Last updated:** [August 16, 2021, 1:05am UTC](https://forum.uipath.com/t/excel-macros-to-convert-text-into-hyperlink/337263 "2021-08-16T01:05:08Z")

</div>

Hello, Can anyone help me to create excel macros ? Need to convert selected column’s text into hyperlink with name “pdf” for all.
