Quantcast
Channel: Apache OpenOffice Community Forum
Viewing all articles
Browse latest Browse all 1281

Macros and UNO API • Re: Copying a data validation field

$
0
0
How do I copy a data validation drop menu?
for example like this python-code

Code:

doc = XSCRIPTCONTEXT.getDocument()source = doc.CurrentSelectionvalidation = source.Validationtarget = doc.Sheets["Sheet2"]["F20"]target.Validation = validation

Statistics: Posted by karolus — Fri Jul 05, 2024 7:42 pm



Viewing all articles
Browse latest Browse all 1281

Trending Articles