trevorbbbb 0 Posted April 11, 2018 Report Share Posted April 11, 2018 So fairly new to uBot. I need to make a small bot that works with tables. so far i have managed to open a csv file into a table (small steps) Im now trying to work out ... how do i write a variable into a new column in the table?how do i then save the table back to my HD as a csv? tia Quote Link to post Share on other sites
bestmacros 60 Posted April 11, 2018 Report Share Posted April 11, 2018 https://wiki.ubotstudio.com/wiki/Set_Table_Cell To save a table to a CSV files you would just use the Table name. save to file("c:\\qqq.csv",&your_table) Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted April 12, 2018 Report Share Posted April 12, 2018 This is the gist of it...Just add what you need.Any questions let us know. Regards,CD Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted April 12, 2018 Report Share Posted April 12, 2018 If you need to loop the columns then put the table loop in an outer loop and increment the column number. Also, you may want to loop the column count.So, if you have 4 columns then put 4 in the loop cycle. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.