Thanks Brian. I created a Libre Office Calc spreadsheet with a table like this: Rand2DiG 91 Rand3DiG 725 Rand4DiG 5869 Rand5DiG 61431 Rand6DiG 872247 where the 2nd column formula are defined like this: =ROUND(RAND()*89)+10 =ROUND(RAND()*899)+100 =ROUND(RAND()*8999)+1000 ... The 1st column is just a "comment", to remind me the purpose of the spreadsheet. Following your solution I get the entire table (2 col. x 5 lines) in my Writer document. But I want to insert only the content of one of the second column (the random interger), the value only without any text/cell format from the spreadsheet document. The insert position format in the Writer document should be use on this inserted value. So, *how to insert only the value of 1 cell*? Thanks and regards. -- View this message in context: http://nabble.documentfoundation.org/How-to-insert-a-field-of-a-random-integer-in-the-range-5-to-20-tp4106448p4106482.html Sent from the Users mailing list archive at Nabble.com. -- To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted