Hi i am working on libre calc C# developing.
As i checked the autofilter is a field in DataBaseRange.
How can i set the property "autofilter" for a specific range in C#?
How to set "autofilter" to true in C#
How to set "autofilter" to true in C#
OpenOffice 7.3 on Windows 10
- MrProgrammer
- Moderator
- Posts: 4906
- Joined: Fri Jun 04, 2010 7:57 pm
- Location: Wisconsin, USA
Re: How to set "autofilter" to true in C#
Record a macro of selecting the range and enabling AutoFilter. Translate the recorded macro from StarBasic to C#.winchell wrote:How can i set the property "autofilter" for a specific range in C#?
If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the subject field. Select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
Re: How to set "autofilter" to true in C#
How to translate macro from startBasic toC#?MrProgrammer wrote:Record a macro of selecting the range and enabling AutoFilter. Translate the recorded macro from StarBasic to C#.winchell wrote:How can i set the property "autofilter" for a specific range in C#?
If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the subject field. Select the green checkmark icon at the same time.
In macro. there is :
Code: Select all
dispatcher.executeDispatch(document, ".uno:DataFilterAutoFilter", "", 0, Array())
OpenOffice 7.3 on Windows 10
Re: How to set "autofilter" to true in C#
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice