The specified dimension is not valid for the current chart type uipath

Hi - I am using Ëxecute Macro"activity to run a macro that is in an excel sheet.

However, I got the below error. Has anyone seen such error?

**the specified dimension is not valid for the current chart type **

Note: The same error never appeared while executing that particular macro manually.

thanks.Capture

Hi Any advise on this issue?

Hi @SudhakarAs92,

Basically this exception occurs, when you add a chart, excel takes a default chart type and tries to match data in that default type and failed to create it.
I guess, you need to change that default chart type to some basic chart types (after adding that chart)

I’ll suggest you to follow solutions in the link below,

1 Like

Did u get the solution for this?

Hi, Though I am not 100% sure, i guess it got resolved as soon as we enabled couple of excel add-ins such as Adhoc-query and Charts add-in…

try this charting solution