Search found 4 matches

by EugeneB
Wed Apr 07, 2021 1:55 pm
Forum: Documents
Topic: macro excel
Replies: 1
Views: 268

Re: macro excel

Hi!
Dear Kristofer,
Pl tell me how you run the macros. Did you run it via embedded editor in the Plugin section or the another way?
by EugeneB
Tue Mar 23, 2021 12:07 pm
Forum: Plugins
Topic: callCommand not executed when no text selected
Replies: 1
Views: 350

Re: callCommand not executed when no text selected

Hi! To understand it better I post the code of the macro for the Document Editor. PL copy and paste that into the macro window and run. Basically it reflects the function behavior you wrote. Besides there is a typo in your code var thisControl = contentControls; . The i is missing to run the cycle (...
by EugeneB
Tue Mar 23, 2021 8:09 am
Forum: Plugins
Topic: How to fill html elements with data from Sheet
Replies: 2
Views: 106

Re: How to fill html elements with data from Sheet

Hi! PL debug your code for your plugin in the Macros first. Below is a working code for the Macros. What it does: it pulls the text from the first element of the array (it is a column number) and replace it with "This is example" value. In this case the data is on the Sheet2. (function() { oWorkshee...
by EugeneB
Fri Jan 22, 2021 8:35 am
Forum: API
Topic: Macro: Duplicate range
Replies: 2
Views: 266

Re: Macro: Duplicate range

Hello Augistin, Please try the code below. Hope it will help. It is not exact case but it will help you understand how it is done. (function() { // Get active sheet var activeSheet = Api.ActiveSheet; // Max string index var indexRowMax = 1048576; // Column 'A' var indexCol = 0; // String Index for s...