12-12-2019 04:20 AM
Hello everyone, I am new to this platform and I am stuck with something and do not know how to fix it.
So I have a template file in which there are fixed number of tables and i created several bookmarks in the template as well. I have inserted tables at these bookmarks and now in order to color the background of those bookmarked tables I need to have the index of these tables which I do not know how to get it. Is there a way to know the indexes of these tables which are at the bookmark ?
Thank you in advance !
Solved! Go to Solution.
12-12-2019 10:33 AM - edited 12-12-2019 10:48 AM
Yes. You'll basically need to iterate thru each table in the document, select it, and check to see if there is a bookmark within the selection.
Edit: For some reason, I cannot embed the png file.
Editt: Embed doesn't work in Firefox but does work in Chrome.
12-13-2019 08:12 AM
Thank you so much for your assistance.
I have another question as well if you are generous enough to help me out.
I have 1d array of string which i have taken from a CSV file, the array is quiet big its like 3000 parameters in it. I am looking for a technique to extract specific data from from each string parameter. for example SLR_D12_RC2_VS7.0_VL6.6_SL1 is one parameter and i would like to extract RC, VS7.0, VL6.6, SL1 from it. Similarly there are many more parameters and the values that i need are separated by _ (underscore).
How would it be possible.
Thank you again.
12-13-2019 08:34 AM - edited 12-13-2019 08:35 AM
If the proposed solution answered your question, please mark it as a solution. This is helpful for other experts to know that a question has been answered and it helps future forum users to jump straight to the solution if they have a similar question and they encounter this post thru a forum search.
@Pukhtun_Yum wrote:I have another question as well if you are generous enough to help me out.
You would be better served by posting another topic specific to this question. I can suggest a method or two but there may be better methods.
One method is to autoindex your array with a for loop. Within the for loop, use the Spreadsheet String to Array function with the underscore as the delimiter, to create an array of parameters for each string. This could then be added back into an autoindexed output tunnel to create a 2d array of your parameter values. Or you could act on those values within the for loop, depending on your requirements.