Search found 21 matches
- Sun Sep 03, 2017 10:54 pm
- Forum: Calc
- Topic: Border cell thickness
- Replies: 4
- Views: 2152
Re: border cell thickness
ok....thank you...done
- Sun Sep 03, 2017 9:33 pm
- Forum: Calc
- Topic: Border cell thickness
- Replies: 4
- Views: 2152
Border cell thickness
Hi, I have a very simple question - im lookinng for some icon that will give me fast possibility to define thickness (width) of colored line on the border of cells. Now i need to do this: First i need to define " Line arrangement " - which borders will be colored (left,bottom,ect. ....line...
- Thu May 30, 2013 4:22 pm
- Forum: Macros and UNO API
- Topic: [Solved] Adding Conditional Formats using Basic Macro
- Replies: 9
- Views: 16332
Re: [Solved] Adding Conditional Formats using Basic Macro
it seems that you are right in the last sentence at all :) I have solution that works for both problems - principle (forget about my attachment): Im not going to use this macro for this complicated case (for some others yes), instead, Im going to prepare somewhere "source cell" in which I ...
- Thu May 30, 2013 1:46 pm
- Forum: Macros and UNO API
- Topic: [Solved] Adding Conditional Formats using Basic Macro
- Replies: 9
- Views: 16332
Re: [Solved] Adding Conditional Formats using Basic Macro
you are trying to solve the problem "2)" right? I know what you mean...but: I cant use this formula...and copying down will not solve this... I need to use formula in J3....If I used the formula in F11 it would be applied on the cells F11 : J16 but the formulas in the cells will refer somw...
- Thu May 30, 2013 10:40 am
- Forum: Macros and UNO API
- Topic: [Solved] Adding Conditional Formats using Basic Macro
- Replies: 9
- Views: 16332
Re: [Solved] Adding Conditional Formats using Basic Macro
man...im not so terrible! :) I wrote that I can adjust.....in fact im proud of what I have done in 3 years with zero programming knowledge...spredaseeht that generates invoices,delivery notes,does plannin of goods, gpraphs....anyway... I have spent hours to prepare sample of my problem - see attachm...
- Mon May 27, 2013 8:38 pm
- Forum: Macros and UNO API
- Topic: Refresh Problem - Creating Conditional Formats with Macro
- Replies: 4
- Views: 6247
Re: Refresh Problem - Creating Conditional Formats with Macr
hi guys...i dont want to use more than 3 conditions...BUT I want to get rid of...bringing the GUI up and clicking "OK" to let the formula actually calculate. After hiting "OK" the cell gets proper format (according to formula). Do you know why is this happenin...actually not happ...
- Sun May 26, 2013 2:45 pm
- Forum: Macros and UNO API
- Topic: [Solved] Adding Conditional Formats using Basic Macro
- Replies: 9
- Views: 16332
Re: [Solved] Adding Conditional Formats using Basic Macro
Hi guys, the macro is awaysome! But...when I try to use "Absolute" addressing an error shows: "Property or method was not found: ReferencePosition". And I dont know what to do to make it work. Im not programmer, im not familiar with intuitive programmig - i just copy and adjust m...
- Wed Jan 04, 2012 12:05 am
- Forum: Calc
- Topic: [Solved] Evaluate text as formula
- Replies: 2
- Views: 4610
Re: [Solved] Evaluate text as formula
well but this only results the content of addres put in this INDIRECT function as a text. Im looking for a function that results a value/string of formula put in such function as a text. Is there any such formula? example: I have in cell A1 written: =SUM(B1:B2) as a text and I want to make this text...
- Sat Dec 10, 2011 6:23 pm
- Forum: General Discussion
- Topic: Sell Calc file with macros
- Replies: 2
- Views: 1811
Sell Calc file with macros
Hello everybody, I want to sell a Calc file in which I made macros and formulas that turns this file into a small orders-purchasing making system. I dont know how to make it properly to not violate law. Do I have to sell it under the GNU LGPL license? or any other license? Is it OK to mention this o...
- Wed Jun 08, 2011 8:35 am
- Forum: Calc
- Topic: DataPilot blank row issue
- Replies: 11
- Views: 2922
Re: DataPilot blank row issue
yeah yeah! I need autorefreshing macro for PivotTables in new OO 3.3 / FO 3.4 ect... too. The simpliest and really working code that worked for me in OO 3.2 doestn work in 3.3 / 3.4 : http://user.services.openoffice.org/en/forum/viewtopic.php?f=20&t=6004 flaviopac: how looks your code for autore...
- Wed Jun 08, 2011 12:13 am
- Forum: Macros and UNO API
- Topic: Autorefresh DataPilot Tables
- Replies: 24
- Views: 39402
Re: Autorefresh DataPilot Tables
Hi guys, this code that refreshed desired pivot tables stopped working in FO 3.4 (maybe also in OO 3.3 or FO 3.3) Sub update_PT sheet = thisComponent.Sheets.getByName("Sheet1") PT = sheet.DataPilotTables.getByIndex(0) ' put (1) (2) etc to update second,third etc. pivot table in sheet PT.re...
- Sat Dec 04, 2010 6:21 pm
- Forum: Macros and UNO API
- Topic: Autorefresh DataPilot Tables
- Replies: 24
- Views: 39402
Re: Autorefresh DataPilot Tables
How to find desired PT - I have no idea
- Sat Dec 04, 2010 5:24 pm
- Forum: Macros and UNO API
- Topic: Autorefresh DataPilot Tables
- Replies: 24
- Views: 39402
Re: Autorefresh DataPilot Tables
Im not aware of such command. But I have a little brainstorm here which may pusch you forward: If you run this macro with the "...getbyindex(2)" and it will not return an error, you can be sure that you have somewhere in sheet this PT,but it is possibly too small and you have overlooked it...
- Sat Dec 04, 2010 1:49 pm
- Forum: Macros and UNO API
- Topic: Autorefresh DataPilot Tables
- Replies: 24
- Views: 39402
Re: Autorefresh DataPilot Tables
hi, I had this problem too, but solved it long time ago. im not sure what was the problem but I suppose that it was the macro code to refresh pivot tables. So the code Im using now and it is working is this: http://www.oooforum.org/forum/viewtopic.phtml?t=100239 Sub update_PT sheet = thisComponent.S...
- Wed Oct 20, 2010 10:45 pm
- Forum: Macros and UNO API
- Topic: Looking for method like "copyrange" only for values/formats
- Replies: 3
- Views: 4461
Re: Looking for method like "copyrange" only for values/form
Hello, I want to use this: sub copy_range_and_paste_it_to_another_cell oSheet = thisComponent.Sheets.getByIndex(0) oSheet1 = thisComponent.Sheets.getByIndex(1) source = oSheet.getCellRangeByName("A1:z100").getRangeAddress() destination = oSheet1.getCellByPosition(0,0).getCellAddress() oShe...
- Tue Oct 19, 2010 11:21 am
- Forum: Macros and UNO API
- Topic: [Solved] Copy and Paste Syntax
- Replies: 10
- Views: 25456
Re: [Solved] Copy and Paste Syntax
Hello guys, Im looking for almost exact code, but I want it (copy and) paste all properties but not objects, sometimes not values ect. It means setting some flags for "copyrange()". How that code woudl be looking? I dont want to use macro recorder(UNO) because I need it work in hidden shee...
- Mon Oct 18, 2010 12:46 am
- Forum: Calc
- Topic: Select sheet macro
- Replies: 13
- Views: 11588
Re: Select sheet macro
I have found the way how to obtain number of last emty row: Sub number_of_last_row_in_column_A sheet = ThisComponent.getSheets().getByName("sheet1") range = sheet.getCellRangeByPosition(0, 0, 0, 65535) empties = range.queryEmptyCells full = sheet.getCellRangeByPosition(0, 0, 0, empties.Ran...
- Mon Oct 11, 2010 10:35 pm
- Forum: Calc
- Topic: Select sheet macro
- Replies: 13
- Views: 11588
Re: Select sheet macro
yes! I found this macro that is working in hidden sheet!(no UNO) sub main4 Dim Doc As Object Dim Sheet As Object Dim CellRangeAddress As New com.sun.star.table.CellRangeAddress Dim CellAddress As New com.sun.star.table.CellAddress Doc = ThisComponent Sheet = Doc.Sheets(0) CellRangeAddress.Sheet = 0 ...
- Mon Oct 11, 2010 9:31 pm
- Forum: Calc
- Topic: Select sheet macro
- Replies: 13
- Views: 11588
Re: Select sheet macro
hello guys, I was able to record similar macro for my purpose BUT- it is possible to let this macro work in hidden sheet? I have tried but the cursor on unhidden (active)sheet is movin crazy...not good Anyway,my goal by creating this macro is to: copy A1:Z1 and paste it to end of data (adding new li...
- Wed Sep 01, 2010 11:25 pm
- Forum: Macros and UNO API
- Topic: Autorefresh DataPilot Tables
- Replies: 24
- Views: 39402
Re: Autorefresh DataPilot Tables (pivot tables)
wow! it started working! catch was that I had wrong names of pivottables(or datapilot) in that macro as you said - but to figure what are correct names(or indexes) of PT is hard- I had to try writing in that macro DataPilot1,DataPilot2,DataPilot3 ect. till DataPilot20 (I have many PT) and watch whic...
- Wed Sep 01, 2010 12:52 am
- Forum: Macros and UNO API
- Topic: Autorefresh DataPilot Tables
- Replies: 24
- Views: 39402
Re: Autorefresh DataPilot Tables
Villeroy: Hello, Im interested in your macro that refreshes specific pivot table (by name): REM ***** BASIC ***** Sub refresh_Pilots() REM Define a nested array of pairs with (SheetName, DPName) in the order of the desired refresh: sDPNames() = Array( _ Array("Sheet1","DataPilot1&q...