Re: [libreoffice-users] vlookup help

2024-06-22 Thread Michael D. Setzer II
=On 22 Jun 2024 at 16:12, James wrote:


Date sent:60;Sat, 22 Jun 2024 16:12:13 -0400
To:0;LibreOffice-list 

From:James bjloc...@lockie.ca>
Subject:;[libreoffice-users] vlookup help


> I am having trouble with vlookup.
> I put a test file at:
> https://www.mediafire.com/file/puq9nuu982beicl/vlookup-test.ods/file
>
> The spreadsheet is:
> One $1 1%> Two $2 2%> Three $3 3%> current $2 2%60; #N/A


In D4 I put
=INDEX(A1:A3,MATCH(C4,$C$1:$C$3),1)
and that displays Two


If I understand what you are looking for. Match returns the row.


>
> C4 contains =VLOOKUP(B4,B1:C3,2,0) which works.> D4 contains 
> =VLOOKUP(C4,A1:C3,1,0) which displays #N/A but I want it to
> display whatever is in column A of the matching row.
> "Two" in this case.
> Whatenever I change B4, D4 should display the matching row of column A/
>
> --
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/> Privacy 
> Policy: https://www.documentfoundation.org/privacy




++
Michael D. Setzer II - Computer Science Instructor (Retired)60;
mailto:mi...@guam.net;
mailto:msetze...@gmail.com
mailto:msetze...@gmx.com
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] failed update attempts

2024-02-25 Thread Michael D. Setzer II
On 25 Feb 2024 at 23:55, Peter Hillier-Brook wrote:

Date sent:  Sun, 25 Feb 2024 23:55:41 +
Subject:Re: [libreoffice-users] failed update 
attempts
To: users@global.libreoffice.org
From:   Peter Hillier-Brook 


> On 25/02/2024 15:17, Graeme Eldridge wrote:
> > Hello,
> > 
> > I am running your version 7.6.0.3 quite successfully but thinking I 
> > really should update to 7.6.4 or better just as a matter of best 
> > practice.  That fails because the installer cannot remove version 
> > 7.4.7!  This is logical only in the sense that version 7.4.7 isn't there 
> > and has never been there.  Trying to simply uninstall 7.6.03 fails 
> > exactly the same way as does hiding the Libre Office folder and 
> > attempting a "clean" install.
> > 
> > How do I fix this without buying a new machine (64 bit Windows 10)?

Are you trying to run the update from the program windows, or are 
you downloading the new version and installing it directly.

Just update my mom's Windows 7 machine with no real problem.
Downloaded 
 361730048  Feb 20 23:04 LibreOffice_7.6.5.2_Win_x86-64.msi
   2736128  Feb 20 23:04 
LibreOffice_7.6.5.2_Win_x86-64_helppack_en-US.msi

The helppack installed with no issue replace.
Did have a message about not being able to remove desktop 
short-cut, but it eventually did.

Her other machine is a new mini PC with N100 CPU with windows 
11 that I got for about $200, and it has latest suite on installed. 

I've had issues the the updates either just saying it already has 
latest version, when ther was a newer one? 

With Linux, I've never had any issues with updates..

Might try ccleaner to uninstall it if that does work under tools 
option.  Good Luck.


> > 
> > Thank you,
> > 
> > Graeme
> > 
> > PS.  Trying to install version 26.2 fails similarly
> > 
> Why don't you do the obvious and remove all previous versions prior to 
> installing the required update?
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 mailto:msetze...@gmx.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] striping crlf

2024-01-03 Thread Michael D. Setzer II
After some testing, it seems the "$" without the quotes does the 
job? \n or \r doesn't find it? 
Not sure why $ works?


On 3 Jan 2024 at 11:08, bill wrote:

From:   bill 
Date sent:  Wed, 3 Jan 2024 11:08:39 -0500
To: LibreOffice 
Send reply to:  will...@techservsys.com
Subject:[libreoffice-users] striping crlf

> I have a document that I copied from the original on the web 
> (legally).  Now I need to modify it using LO.  The document has 
> hard line breaks that I want to remove.  Using the find and 
> replace form I can not figure out how to indicate a line break.  
> With "Regular Expressions" selected /n, /n/lf fail.
> 
> What can I use to replace the line break with a space?
> 
> Thank  you
> 
> -- 
> Bill Drescher
> william {at} TechServSys {dot} com
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 mailto:msetze...@gmx.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] text to date

2023-10-02 Thread Michael D. Setzer II
=IF(ISNUMBER(A1),A1,DATEVALUE(MID(A1,FIND(",",A1)+2,20)))
Put dates in A1 and A2
Sun, Jan 1, 2024 isn't a date
Sunday, Jan 1, 2024 is a date.
Put formula in B1, and copied to b2




On 2 Oct 2023 at 0:22, James wrote:


Date sent:Mon, 2 Oct 2023 00:22:24 -0400
To:LibreOffice-list 

From:James 
Subject:[libreoffice-users] text to date


> The shortform of a day (eg. Sun) is not recognized as a date but the
> fullname (eg. Sunday) is.
>
> Sun, Jan 1, 2024 isn't a date
> Sunday, Jan 1, 2024 is a date.
>
> Does anyone know how to converttext in the format NN, MMM D,  to a date?
>
> --
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy




+----------------+
Michael D. Setzer II - Computer Science Instructor (Retired)
mailto:mi...@guam.net
mailto:msetze...@gmail.com
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Calc: how to auto-increment sheet names in a cell formula?

2023-09-20 Thread Michael D. Setzer II
;, "", 0, 
args73())

rem --
dim args74(1) as new com.sun.star.beans.PropertyValue
args74(0).Name = "By"
args74(0).Value = 1
args74(1).Name = "Sel"
args74(1).Value = false

dispatcher.executeDispatch(document, ".uno:GoDown", "", 0, 
args74())

rem --
dim args80(0) as new com.sun.star.beans.PropertyValue
args80(0).Name = "Nr"
args80(0).Value = 11

dispatcher.executeDispatch(document, ".uno:JumpToTable", "", 0, 
args80())

rem --
dim args81(0) as new com.sun.star.beans.PropertyValue
args81(0).Name = "ToPoint"
args81(0).Value = "$A$1:$E$1"

dispatcher.executeDispatch(document, ".uno:GoToCell", "", 0, 
args81())

rem --
dispatcher.executeDispatch(document, ".uno:Copy", "", 0, Array())

rem --
dim args82(0) as new com.sun.star.beans.PropertyValue
args82(0).Name = "Nr"
args82(0).Value = 1

dispatcher.executeDispatch(document, ".uno:JumpToTable", "", 0, 
args82())

rem --
dim args83(5) as new com.sun.star.beans.PropertyValue
args83(0).Name = "Flags"
args83(0).Value = "SVDFNT"
args83(1).Name = "FormulaCommand"
args83(1).Value = 0
args83(2).Name = "SkipEmptyCells"
args83(2).Value = false
args83(3).Name = "Transpose"
args83(3).Value = false
args83(4).Name = "AsLink"
args83(4).Value = false
args83(5).Name = "MoveMode"
args83(5).Value = 4

dispatcher.executeDispatch(document, ".uno:InsertContents", "", 0, 
args83())

rem --
dim args84(1) as new com.sun.star.beans.PropertyValue
args84(0).Name = "By"
args84(0).Value = 1
args84(1).Name = "Sel"
args84(1).Value = false

dispatcher.executeDispatch(document, ".uno:GoDown", "", 0, 
args84())

end sub



> 
> Thanks for any ideas offered!
> 
> -- 
> 
> ~
> “Love recognizes no barriers. It jumps hurdles, leaps fences, penetrates walls
> to arrive at its destination full of hope.” ~ Maya Angelou
> ~
> Tom Cloyd, MS MA LMHC (WA) | t...@tomcloyd.com
> Psychological trauma & dissociative disorders, treatment, research, & advocacy
> Spokane, Washington, U.S.A. | (435) 272-3332
> https://www.gettraumainfo.com/ (professional)
> Facebook: https://www.facebook.com/groups/645665272216298/
> www.tomcloyd.com/ (personal)
> ~
> System76 Galago Pro (galp5) laptop
> Processors: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz
> RAM: 16 GB Dual Channel DDR4 at 3200 MHz
> Storage: 500 GIB SSD
> Operating System: Pop!_OS 22.04 LTS
> Kernel Version: 6.2.6-76060206-generic x86_64
> Gnome ver. 42.5
> Windowing system: X11
> Qt Version: 5.13.3
> [updated 2023-05-09:1420]
> 
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] dbind-WARNING message.

2023-08-24 Thread Michael D. Setzer II
On 24 Aug 2023 at 20:23, Robert Großkopf wrote:

Date sent:  Thu, 24 Aug 2023 20:23:35 +0200
Subject:Re: [libreoffice-users] dbind-WARNING 
message.
To: users@global.libreoffice.org
From:   Robert Großkopf 


> Hi Michael,
> 
> > opening libreoffice or libreoffice7.5 or libreoffice 7.6 as a regular
> > user see this message trying to acces /root file??
> > 
> Which LO-version do you use: directly from LibreOffice or packed by the 
> Linux distribution?

The 7.4 is the one that comes with the Fedora 37
I've installed both the 7.5 and 7.6 versions from Libreoffice web 
site.
libreoffice runs the Fedora release
libreoffice7.5 runs 7.5 versions (updates replace previous)
libreoffice7.6 runs 7.6 version.

I'm running under the XFCE but gdm is the base I guess, with 
gnome being the default for Fedora.

Don't know why non-root user would be accessing a file in root 
directory, and why the file is an empty file.

Running all three versions with root show no message, but with 
other users see the message?

> 
> I have just started LO 7.6.0.3 (from LibreOffice) installed in my user 
> home directory through Konsole. No error appears in Konsole here.
> Then started LO 7.5.4.1 (packed by openSuse) installed for all users 
> through Konsole. Also no error in Konsole.
> 
> Regards
> 
> Robert
> -- 
> Homepage: https://www.familiegrosskopf.de/robert
> 
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


[libreoffice-users] dbind-WARNING message.

2023-08-24 Thread Michael D. Setzer II
opening libreoffice or libreoffice7.5 or libreoffice 7.6 as a regular 
user see this message trying to acces /root file??

If root user no message.

(soffice:178672): dbind-WARNING **: 02:38:58.378: Couldn't 
connect to accessibility bus: Failed to connect to socket 
/root/.cache/at-spi/bus_0.0: Permission denied

File doesn't exist in ~/.cache directory?

File in /root is an empty file?


++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



[libreoffice-users] Question on better way for forumula with ods that auto imports csv file.

2023-07-22 Thread Michael D. Setzer II
Have a spreadsheet that imports data from a csv file into columns 
A, B, C.
Have various formulas in D thru J. Originally had it reference to 
cell using column with number. This worked, but found if would 
open sheet again with more lines in A,B, and C. That the last 
formulas would have the row number offset by the lines added in 
import. Only way I found to get it to always work is using the 
indirect option? Otherwise the copy of formulas would have 
incorrect rows.

=IF(AND(INDIRECT("B"())>10,INDIRECT("B"()-1)>0
),INDIRECT("A"())-INDIRECT("A"()-1),0)


+----------------+
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Writer- find and replace a number

2023-06-30 Thread Michael D. Setzer II
Didn't specify if number meant just digits, so did test with 
[[:digit:]\|"$"\"."\","]

That replaces digits and "$.,", but would replace them appearing 
elsewhere as well. Might also add "+-" as well.
Also, in my test made font a mono font, since replacing digits with 
spaces would shift alignment.

An example of the data might have been useful to come with a 
more complete answer.

On 30 Jun 2023 at 17:54, . wrote:

Date sent:  Fri, 30 Jun 2023 17:54:26 -0400
Subject:Re: [libreoffice-users] Writer- find and 
replace a number
To: Eyal Rozenberg , 
users@global.libreoffice.org
From:   "." 

> Perfect!  Thank you!
> 
> Peter
> 
> *From:* Eyal Rozenberg [mailto:eyalr...@gmx.com]
> *Subject:* [libreoffice-users] Writer- find and replace a number
> *Date:* Friday, June 30, 2023 at 5:50 PM
> *To:* users@global.libreoffice.org, .
> 
> > 1. Open the "Find and Replace" dialog (e.g. with Ctrl+H).
> > 2. Check the "Regular Expressions" checkbox in the lower part of the 
> > dialog
> > 3. Enter a regular expression which will match numbers: [0-9]+ (with
> > the plus sign!).
> > 4. Enter the replacement text you want (you can use $1 in the
> > replacement string to get the number that was matched)
> > 5. Press "Find Next" and then possibly "Replace" or "Replace All" as
> > appropriate
> >
> > What does the regexp mean? It means "One or more occurrences of a
> > character from the sequence 0-9". For more about regular expressions,
> > see for example: https://www.sitepoint.com/learn-regex/
> >
> > Hope that helped,
> > Eyal
> >
> >
> > On 01/07/2023 0:26, . wrote:
> >> How do I find and replace all numbers in Writer?
> >>
> >> What I'm trying to do is get rid of the numbers in a list.
> >>
> >> I have NO idea what they're talking about "regular expressions" and
> >> can't figure out a wild card for numbers.
> >>
> >> Any ideas?
> >>
> >>
> >> Thanks,
> >>
> >> Peter
> >>
> >>
> 
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Is there a way to have cell format remain with an external link??

2023-05-18 Thread Michael D. Setzer II
On 18 May 2023 at 20:38, Brian Barker wrote:

Date sent:  Thu, 18 May 2023 20:38:46 +0100
To: users@global.libreoffice.org
From:   Brian Barker 
Subject:Re: [libreoffice-users] Is there a way to have cell 
format
remain with an external link??
Copies to:  "Michael D. Setzer II" 

> At 00:45 19/05/2023 +1000, Michael D. Setzer II wrote:
> >Have a spreadsheet that has internal link that is updated on 
> >loading. 6 of the columns have numbers with either 1 or 2 decimal 
> >places. But when it imports the cells change to display only the 
> >non-zero decimals. So numbers that have x.00 are displayed as x, and 
> >ones with x.y0 are displayed  as x.y. Tried selecting column to 
> >format, but on next update it goes back to the general format. Could 
> >create a macro to redo formatting, seems there should be a method. 
> >Other columns have whole numbers so changing spreadsheet default 
> >would no be a solution.
> 
> I imagine that you have set up the linkage to a named range in the 
> source spreadsheet, and it appears that doing it this way the 
> formatting of the source data is carried over - which is not what you want.
> 
> Here are two thoughts:
> 
> 1. There is an alternative way to arrange linkage: just enter "=" (no 
> quotes) into a cell and then click on the relevant source cell in the 
> other spreadsheet. This is just as you would do within the same 
> spreadsheet, of course, and - unlike the other method - it creates a 
> formula in the cell. It is easier than it sounds, as you can fill 
> such formulae into other cells in the required range. This technique 
> appears not to carry over the cell formatting, so it may achieve what 
> you desire.
> 
> 2. In any case, there is a workaround. Create your link in whatever 
> way is convenient. Don't worry about the formatting of the values. In 
> another column, make copies of the values using the "=" technique. 
> Format this new column as you wish. If preferred, hide the original column.
> 
> I trust this helps.
> 
> Brian Barker
> 

Thanks for the quick reply. I should have been a little 
clear. The data is being linked to a csv file that contains 
data that is extracted from cable modem every15 
minutes to track status  page data of the 32 channels 
with tracking uncorrectable errors, power levels and 
SNR levels. Then it creates three graphs of data. One 
tracks the first two fields in an X/Y graph. Next 3 fields 
are th max power level of 32 channels, min, and diff. 
Graphs max and min. Final 3 are the max, min, diff of 
SNR readings.

2023-05-18 23:42:18,15661,-2.0,-8.8,6.8,37.36,33.96,3.40
2023-05-18 23:57:19,1159,-1.9,-8.8,6.9,37.64,34.35,3.29
2023-05-19 00:12:19,23583,-1.9,-8.8,6.9,37.64,34.48,3.16
2023-05-19 00:27:20,7,-2.0,-8.8,6.8,37.64,34.35,3.29
2023-05-19 00:42:21,0,-2.0,-8.9,6.9,37.64,33.83,3.81
2023-05-19 00:57:21,0,-2.0,-8.8,6.8,37.64,33.83,3.81
2023-05-19 01:12:22,0,-2.0,-8.8,6.8,37.64,33.96,3.68
2023-05-19 01:27:23,0,-2.0,-8.8,6.8,37.64,33.96,3.68
2023-05-19 01:42:23,0,-1.9,-8.8,6.9,37.64,33.96,3.68

When it imports from csv file data is brought in as 
general format. 
My solution is a simple macro. I setup 6 cells in another 
area of spreadsheet that have formatting I want 3 
columns with .1 and then 3 columns with .2. Then have it 
copy the cells formatting contents only over the area 
where data is copied. Have to run macro every time. Just 
linked macro to a little image, so just clicking on it. to 
run.

Thanks again fro the quick reply. The data from cable 
modem, is an html page, so requies extracting info, and 
pulling data to make th csv files. 

> 
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy
> 


++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



[libreoffice-users] Is there a way to have cell format remain with an external link??

2023-05-18 Thread Michael D. Setzer II
Have a spreadsheet that has internal link that is updated 
on loading. 6 of the columns have numbers with either 1 
or 2 decimal places. But when it imports the cells 
change to disply only the non-zero decimals. So numbers 
that have x.00 are displayed as x, and ones with x.y0 are 
displayed  as x.y. Tried selecting column to format, but 
on next update it goes back to the general format. 
Could create a macro to redo formatting, seems there 
should be a method. Other columns have whole numbers 
so changing spreadsheet default would no be a solution.

Thanks.

++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Function acting on range

2023-03-16 Thread Michael D. Setzer II
On 16 Mar 2023 at 23:29, Regina Henschel wrote:

Subject:Re: [libreoffice-users] Function acting on 
range
To: users@global.libreoffice.org
From:   Regina Henschel 

Date sent:  Thu, 16 Mar 2023 23:29:10 +0100

> Hi Michael,
> 
> Michael D. Setzer II schrieb am 16.03.2023 um 22:45:
> > On 16 Mar 2023 at 18:22, ady wrote:
> > 
> > 
> > From:ady 
> > Date sent:Thu, 16 Mar 2023 18:22:56 -0300
> > Subject:Re: [libreoffice-users] Function acting on
> > range
> > To:Users 
> > 
> > 
> >> Hi Regina,
> >>
> >>> But you can use {=AVERAGE({ABS($Sheet1.B1:$Sheet1.B30)} for example.
> >>
> >> Besides the typo, for that to work it would need to be all in the same
> >> worksheet, which is contrary to the initial setup.
> >>
> >> ISTM that using SUM() and COUNT() would be simpler, if the data is
> >> already with the layout as described, in multiple sheets.
> > 
> > 
> > Don't see how just using SUM() and COUNT() would
> > work.
> 
> Sum() and Count() work an ranges which include several sheets. So if you 
> did not need Abs(), then Sum()/Count() would give the average.
> 
> Therefore the problem here is, that Steve needs the Abs() function, for 
> what ever reason.
> 
> Unfortunately Sumif() does neither work on ranges over several sheets. 
> So the solution
> (Sumif(myRange;">0")-Sumif(myRange;"<0")/Count(myRange) will not work, 
> if myRange goes over several sheets.
> 

Interesting. Don't know why sum() and count() have no 
problem handling cells across sheets but sumif() doesn't?
Just did my test using cells on single sheet and it had no 
problem, but then did try it with using b2 on sheet1 thru 
sheet6, and get error. Do a lot of things with calc, but 
not things like that.

In my test, seems one would have to individually do each 
cell. In my case I did 6, but his would require 19??

=AVERAGE(ABS(Sheet1.B2),ABS(Sheet2.B2),ABS(Sheet
3.B2),ABS(Sheet4.B2),ABS(Sheet5.B2),ABS(Sheet6.B2)) 

Don't have quick access to see if its SUMIF would 
support ranges. Have used spreadsheets going back to 
visicalc on Apple, Lotus 1 on PC then thru version of 
Lotus, Quattro Pro, and then Open and Libre Calc. 

Wonder why the Sumif doesn't use similar base as sum?

Thanks for info.



> Inside one sheet there is no problem with abs or sumif using ranges.
> 
> Kind regards,
> Regina
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Function acting on range

2023-03-16 Thread Michael D. Setzer II
On 16 Mar 2023 at 18:22, ady wrote:


From:ady 
Date sent:Thu, 16 Mar 2023 18:22:56 -0300
Subject:Re: [libreoffice-users] Function acting on 
range
To:Users 


> Hi Regina,
>
> > But you can use {=AVERAGE({ABS($Sheet1.B1:$Sheet1.B30)} for example.
>
> Besides the typo, for that to work it would need to be all in the same
> worksheet, which is contrary to the initial setup.
>
> ISTM that using SUM() and COUNT() would be simpler, if the data is
> already with the layout as described, in multiple sheets.


Don't see how just using SUM() and COUNT() would 
work. Assuming the use of ABS was wanting to change 
negative values to positive values a simple sum of 
numbers would give a value different from the sum of 
absolute values.
In my previous post I used number 1 2 3 -1 -2 -3 in 
range, so a SUM of range would result in 0, so average 
would be 0. SUM of the absolute value results in 12 and 
then average would be 2.


Perhaps I'm missing something?


Did a test that seems to work.
Put number in B2 to G2
1 2 3 -1 -2 -3


=(SUMIF(B2:G2,">=0")-SUMIF(B2:G2,"<0"))/COUNT(B2:G2)


Adds all the non-negative numbers and subtracts sum of 
negative numbers to get a total of all the abs values.
That should work if I understand it. Don't know if any 
cell could be blank, so might need COUNTA or just 
divide by number of cells.


Don't know why that is wanted, but seem the ABS in 
function wants that??




>
> Regards,
> Ady.
>
> --
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy




++
Michael D. Setzer II - Computer Science Instructor (Retired)
mailto:mi...@guam.net
mailto:msetze...@gmail.com
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Function acting on range

2023-03-15 Thread Michael D. Setzer II
On 16 Mar 2023 at 13:13, Steve Edmonds wrote:

Date sent:  Thu, 16 Mar 2023 13:13:03 +1300
To: Users 
From:   Steve Edmonds 
Subject:[libreoffice-users] Function acting on range

> Hi, on the off chance I will be pleasantly surprised, can a function act 
> on a range.
> 
> i.e can I do something like =AVERAGE(ABS($Sheet1.B28:$Sheet19.B28)) to 
> average the absolute value of the numbers in the range.
> The above seems to return only the last value of the range. I can 
> achieve this with an intermediate column on every sheet.
> Steve

Believe ABS returns absolute value of just a number or cell, got 
errors when I tried a range.

Did a test that seems to work.
Put number in B2 to G2
1 2 3 -1 -2 -3

=(SUMIF(B2:G2,">=0")-SUMIF(B2:G2,"<0"))/COUNT(B2:G2)

It sums up all the positive number and zeros, and then 
subtracts the sum of all the negative number) that is 
then divided by count. In this case sums were 6 and -6 
resulting in 12, and then dividing by 6 result was 2.

Think it would work using range across sheets?
Don't know if any cells might contain blanks, so might 
just want to hard code number to divide?

> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


+--------+
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] RPM upgrade 7.4 to 7.5

2023-02-03 Thread Michael D. Setzer II
libobasis7.5-onlineupdate-7.5.0.3-3.x86_64.rpm
libobasis7.5-ooofonts-7.5.0.3-3.x86_64.rpm
libobasis7.5-ooolinguistic-7.5.0.3-3.x86_64.rpm
libobasis7.5-postgresql-sdbc-7.5.0.3-3.x86_64.rpm
libobasis7.5-python-script-provider-7.5.0.3-3.x86_64.rpm
libobasis7.5-pyuno-7.5.0.3-3.x86_64.rpm
libobasis7.5-writer-7.5.0.3-3.x86_64.rpm
libobasis7.5-xsltfilter-7.5.0.3-3.x86_64.rpm
libreoffice7.5-7.5.0.3-3.x86_64.rpm
libreoffice7.5-base-7.5.0.3-3.x86_64.rpm
libreoffice7.5-calc-7.5.0.3-3.x86_64.rpm
libreoffice7.5-dict-en-7.5.0.3-3.x86_64.rpm
libreoffice7.5-dict-es-7.5.0.3-3.x86_64.rpm
libreoffice7.5-dict-fr-7.5.0.3-3.x86_64.rpm
libreoffice7.5-draw-7.5.0.3-3.x86_64.rpm
libreoffice7.5-en-US-7.5.0.3-3.x86_64.rpm
libreoffice7.5-freedesktop-menus-7.5.0-3.noarch.rpm
libreoffice7.5-impress-7.5.0.3-3.x86_64.rpm
libreoffice7.5-math-7.5.0.3-3.x86_64.rpm
libreoffice7.5-ure-7.5.0.3-3.x86_64.rpm
libreoffice7.5-writer-7.5.0.3-3.x86_64.rpm


Again, if libreoffice come out with update like 7.5.04 the 
process would update the 7.5 version rather than install 
another version.

My newlibre script, but may not work for others, so 
please check 

newlib=$(ls -1 LibreOffice_$1*.gz |tail -n 1 | cut -f1,2 -d_)
mkdir $newlib
cd $newlib/
for a in ../$newlib*.gz ; do tar xvf $a ; done 
for a in $(find . | grep "\.rpm") ; do mv $a .; done
rpm -Uvh *.rpm
tar -Jcvf ../$newlib.xz *.rpm
rm l*.rpm -f
rm LibreOffice_$1* -R -f
cd ..
rmdir $newlib



On 4 Feb 2023 at 8:51, Steve Edmonds wrote:

Date sent:  Sat, 4 Feb 2023 08:51:04 +1300
Subject:Re: [libreoffice-users] RPM upgrade 7.4 to 
7.5
To: users@global.libreoffice.org
From:   Steve Edmonds 


> I am not sure if this will be of any help as I use SUSE with YAST and 
> zypper, but it looks like dnf/yum may have similar functionality.
> Using downloaded (not from a repository) RPMs that will undergo regular 
> updates I create a local repository from a directory containing the RPMs.
> My system treats 7.3 and 7.4 as 2 different packages, I would have 2 
> different local repositories.
> To go from 7.3 to 7.4 I would mark 7.3 to uninstall and 7.4 to install 
> and mostly the dependency checking allows resolution of any issues.
> To go from 7.3.1 to 7.3.2 say would be seen as an upgrade.
> 
> This means it is easy to swap back from say 7.4 to 7.3 if you strike a 
> bug that is a show stopper for you while you wait for the bug 
> resolution, as I have had on a few occasions.
> Steve
> 
> On 04/02/2023 01:28, Michael D. Setzer II wrote:
> > On 3 Feb 2023 at 17:20, Lee Thomas Stephen wrote:
> >
> > From:   Lee Thomas Stephen
> > 
> > Date sent:  Fri, 3 Feb 2023 17:20:15 +0530
> > Subject:Re: [libreoffice-users] RPM upgrade 7.4 to
> > 7.5
> > To: msetze...@gmail.com
> > Copies to:  LibreOffice Users
> > 
> >
> >> I did
> >>
> >> rpm -Uvh *.rpm
> >>
> >> Now I have both 7.4 and 7.5.
> >> The command installed a separate 7.5 instead of upgrading from 7.4.
> >> Any solution for an upgrade?
> >> As I face this issue on every major release.
> > dnf update will eventually update the libreoffice that is
> > in the Fedora/Redhat repos when they are updated.
> >
> > As I understand it, you would need to download and
> > repeat process to update libreoffice versions.
> >
> > I use a little script after downloading the lastest update
> > and help gz files.
> >
> > newlib=$(ls -1 LibreOffice_$1*.gz |tail -n 1 | cut -f1,2 -d_)
> > mkdir $newlib
> > cd $newlib/
> > for a in ../$newlib*.gz ; do tar xvf $a ; done
> > for a in $(find . | grep "\.rpm") ; do mv $a .; done
> > rpm -Uvh *.rpm
> > tar -Jcvf ../$newlib.xz *.rpm
> > rm l*.rpm -f
> > rm LibreOffice_$1* -R -f
> > cd ..
> > rmdir $newlib
> >
> > If you have installed the help, the upgrade gives an error
> > if the new help files are not installed at same time. If you
> > just install without help, you can just do the rpm update.
> > I like to create an archive of rpms to then copy to other
> > machines..
> >
> > So make example is what I use, but you may want to do
> > something different.
> >
> >
> >
> >> Thanks
> >>
> >> ---
> >> Lee
> >>
> >> On Fri, Feb 3, 2023 at 3:53 PM Michael D. Setzer II 
> >> wrote:
> >>
> >>> On 3 Feb 2023 at 12:20, Lee Thomas Stephen wrote:
> >>>
> >>> From:   Lee Thomas Stephen
> >>> 
> >>> Date sent:  Fri, 3 Feb 2023 12:20:02 +0530
> >>> Subject:   

Re: [libreoffice-users] RPM upgrade 7.4 to 7.5

2023-02-03 Thread Michael D. Setzer II
On 3 Feb 2023 at 17:20, Lee Thomas Stephen wrote:

From:   Lee Thomas Stephen 

Date sent:  Fri, 3 Feb 2023 17:20:15 +0530
Subject:Re: [libreoffice-users] RPM upgrade 7.4 to 
7.5
To: msetze...@gmail.com
Copies to:  LibreOffice Users 


> I did
> 
> rpm -Uvh *.rpm
> 
> Now I have both 7.4 and 7.5.
> The command installed a separate 7.5 instead of upgrading from 7.4.
> Any solution for an upgrade?
> As I face this issue on every major release.

dnf update will eventually update the libreoffice that is 
in the Fedora/Redhat repos when they are updated.

As I understand it, you would need to download and 
repeat process to update libreoffice versions.

I use a little script after downloading the lastest update 
and help gz files.

newlib=$(ls -1 LibreOffice_$1*.gz |tail -n 1 | cut -f1,2 -d_)
mkdir $newlib
cd $newlib/
for a in ../$newlib*.gz ; do tar xvf $a ; done 
for a in $(find . | grep "\.rpm") ; do mv $a .; done
rpm -Uvh *.rpm
tar -Jcvf ../$newlib.xz *.rpm
rm l*.rpm -f
rm LibreOffice_$1* -R -f
cd ..
rmdir $newlib

If you have installed the help, the upgrade gives an error 
if the new help files are not installed at same time. If you 
just install without help, you can just do the rpm update.
I like to create an archive of rpms to then copy to other 
machines..

So make example is what I use, but you may want to do 
something different.



> 
> Thanks
> 
> ---
> Lee
> 
> On Fri, Feb 3, 2023 at 3:53 PM Michael D. Setzer II 
> wrote:
> 
> > On 3 Feb 2023 at 12:20, Lee Thomas Stephen wrote:
> >
> > From:   Lee Thomas Stephen
> > 
> > Date sent:  Fri, 3 Feb 2023 12:20:02 +0530
> > Subject:[libreoffice-users] RPM upgrade 7.4 to 7.5
> > To: LibreOffice Users
> > 
> >
> > > Hi,
> > >
> > > I have LibreOffice 7.4.5 installed via RPM installation on RHEL 8.7
> > > I downloaded the RPM installation of LibreOffice 7.5.0.
> > > but I am unable to do
> > > dnf upgrade *.rpm
> >
> > Think rpm -Uvh *.rpm
> > Is what you want to use.
> > The Libreoffice from the site installs differently than the
> > one from the Fedora repos for me.
> >
> > which libreoffice libreoffice7.4
> > /usr/bin/libreoffice
> > /usr/bin/libreoffice7.4
> >
> > The office submenu then list both the repo version and
> > the libreoffice versions of programs.
> >
> > Haven't tried the 7.5 yet.
> >
> > >
> > > The error is
> > > -%<-
> > > Package libobasis7.5-base not installed, cannot update it.
> > > No match for argument: libobasis7.5-base-7.5.0.3-3.x86_64.rpm
> > > Package libobasis7.5-calc not installed, cannot update it.
> > > No match for argument: libobasis7.5-calc-7.5.0.3-3.x86_64.rpm
> > > Package libobasis7.5-core not installed, cannot update it.
> > > No match for argument: libobasis7.5-core-7.5.0.3-3.x86_64.rpm
> > > Package libobasis7.5-draw not installed, cannot update it.
> > > ..
> > > etc.
> > > -%<-
> > >
> > > So what is the correct path to upgrade from 7.4 to 7.5?
> > >
> > > Thanks
> > >
> > > ---
> > > Lee
> > >
> > > --
> > > To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> > > Problems?
> > https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> > > Posting guidelines + more:
> > https://wiki.documentfoundation.org/Netiquette
> > > List archive: https://listarchives.libreoffice.org/global/users/
> > > Privacy Policy: https://www.documentfoundation.org/privacy
> >
> >
> > ++
> >  Michael D. Setzer II - Computer Science Instructor
> > (Retired)
> >  mailto:mi...@guam.net
> >  mailto:msetze...@gmail.com
> >  Guam - Where America's Day Begins
> >  G4L Disk Imaging Project maintainer
> >  http://sourceforge.net/projects/g4l/
> > ++
> >
> >
> >
> >
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


+--

Re: [libreoffice-users] RPM upgrade 7.4 to 7.5

2023-02-03 Thread Michael D. Setzer II
On 3 Feb 2023 at 12:20, Lee Thomas Stephen wrote:

From:   Lee Thomas Stephen 

Date sent:  Fri, 3 Feb 2023 12:20:02 +0530
Subject:[libreoffice-users] RPM upgrade 7.4 to 7.5
To: LibreOffice Users 


> Hi,
> 
> I have LibreOffice 7.4.5 installed via RPM installation on RHEL 8.7
> I downloaded the RPM installation of LibreOffice 7.5.0.
> but I am unable to do
> dnf upgrade *.rpm

Think rpm -Uvh *.rpm
Is what you want to use.
The Libreoffice from the site installs differently than the 
one from the Fedora repos for me.

which libreoffice libreoffice7.4 
/usr/bin/libreoffice
/usr/bin/libreoffice7.4

The office submenu then list both the repo version and 
the libreoffice versions of programs.

Haven't tried the 7.5 yet.

> 
> The error is
> -%<-
> Package libobasis7.5-base not installed, cannot update it.
> No match for argument: libobasis7.5-base-7.5.0.3-3.x86_64.rpm
> Package libobasis7.5-calc not installed, cannot update it.
> No match for argument: libobasis7.5-calc-7.5.0.3-3.x86_64.rpm
> Package libobasis7.5-core not installed, cannot update it.
> No match for argument: libobasis7.5-core-7.5.0.3-3.x86_64.rpm
> Package libobasis7.5-draw not installed, cannot update it.
> ..
> etc.
> -%<-
> 
> So what is the correct path to upgrade from 7.4 to 7.5?
> 
> Thanks
> 
> ---
> Lee
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Closing and reopening Writer - ver 7.4.1.1

2022-09-19 Thread Michael D. Setzer II
On 19 Sep 2022 at 7:56, Ianseeks wrote:

From:   Ianseeks 
To: users@global.libreoffice.org
Subject:[libreoffice-users] Closing and reopening 
Writer - ver 7.4.1.1
Date sent:  Mon, 19 Sep 2022 07:56:02 +0100

> HI
> 
> With this latest version, if i close Writer, the next time I open it, its
> displayed as a very small square window in the top left hand corner of the
> screen which  then have to resize to full screen.  This happens with or
> without a document open but not evey time. 
> 
> Anyone else having this issue?
> 
> regards
> 
> Ian
> -- 

Not seeing that on Fedora 35 with XFCE, checked and I 
have 7.4.1.2 so don't know if that might have a fix?
Info from help about version info copy.

Version: 7.4.1.2 / LibreOffice Community
Build ID: 3c58a8f3a960df8bc8fd77b461821e42c061c5f0
CPU threads: 2; OS: Linux 5.19; UI render: default; VCL: 
gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded



> opensuse:tumbleweed:20220915
> Qt: 5.15.5 KDE Frameworks: 5.98.0 - KDE Plasma:  5.25.5 - kwin 5.25.5
> kmail2 5.21.1 (22.08.1) - akonadiserver 5.21.1 (22.08.1) - Kernel:  
> 5.19.8-1-default  - xf86-video-nouveau:  1.0.17
> 
> 
> 
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy
> 


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] possible to know still or fresh looking at version number?

2022-09-04 Thread Michael D. Setzer II
On 4 Sep 2022 at 8:09, jindam, vani wrote:

Date sent:  Sun, 04 Sep 2022 08:09:29 +
From:   "jindam, vani" 
To: users@global.libreoffice.org
Subject:[libreoffice-users] possible to know still or 
fresh looking at version number?

> hello lo users,
> 
> is it possible to quickly tell whether lo is 
> fresh or still by looking at version number?
> 
> regards,
> jindam, vani
> 

Had an off-line chat with another user a while ago, but he 
wanted to be able to actually automatically download 3 
versions of latest libreoffice is there was a new one..

Had run it on 8/24 and it had download 7.4.0.3 verion, 
and just ran it now, and it downloaded the 7.4.1.1 
verions. Didn't know there was a new version, so 
expected it to download nothing but it did download all 3 
of the file sets. 86, 64 for windows and 64 rpm for linux.

Uses wget2. Note: If using wget2.exe under windows, it 
has issues if you use more than 2 threads, so would 
change to 2. Didn't try rewritten for windows..

test9d.sh script (bold echo -e is one long line)

#!/usr/bin/bash
test="https://mirror.clarkson.edu/tdf/libreoffice/testing/;
wget2 -q -N $test
testsub=$test$(grep "^list
wget2 --max-threads=1 -q -B "$testsub" -i list
p1=$(grep "^test9

wget2 --max-threads=8 -q -nc -B "$testsub" -i test9
rm index.html list x*

That was written to actually just do download. Picked a 
specific mirror I found to be fast from my location, you 
might find another that works better for you.





> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] "reverse solidus" not working in the find dialog box

2022-08-15 Thread Michael D. Setzer II
On 15 Aug 2022 at 19:33, Johnny Rosenberg wrote:

From:   Johnny Rosenberg 

Date sent:  Mon, 15 Aug 2022 19:33:15 +0200
Subject:Re: [libreoffice-users] "reverse solidus" not 
working in the find
dialog box
To: LibreOffice Användare 


> Den mån 15 aug. 2022 kl 13:38 skrev Michael D. Setzer II <
> msetze...@gmail.com>:
> 
> > In Linux that are a number of option using standard
> > commands.
> >
> 
> I think he said he's on Windows, actually.
> 

Yes, but mentioned that there are ways to add both tr and 
sed to windows. I also wrote a little cpp program that 
does the same thing. Compile with linux compiler runs 
with test 9 record file 
linux run 
time ./weird weirdmsg

real0m0.003s
user0m0.001s
sys 0m0.001s
windows run
time ./weird.exe weirdmsg

real0m0.236s
user0m0.042s
sys 0m0.097s

compiled with a native windows cpp compiler and run 
with windows versus via wine might be close in time.

Said his file has 3,500 records so running with that would 
give a better comparison.


> 
> Kind regards
> 
> Johnny Rosenberg
> 
> 
> > First would be sed
> > sed 's/ \[/\t/g;s/\]/\t /g'  >
> > fix-in contains
> > test [ sjflsdkf] [ jflsjflsf ]
> >
> > output is:
> > test sjflsdkfjflsjflsf
> >
> > or
> >
> > sed 's/\] \[/\t/g;s/\[/\t/g;s/\]/\t/g'  > that would change ] [ to a single tab, and then single [ or
> > ] to \t.
> >
> > Another option would be tr command.
> > tr ']' '\t'  >
> > There are generally windows versions of both sed and tr,
> > but would have to look.
> >
> > Another option would be a simple cpp program to
> > preprocess data.
> >
> > If you send a real copy of data, could look at writing a
> > program. Another user had a file that had 8884 lines of
> > data for a month of data, and wrote a program to filter to
> > one line for each day, with the max values for 24 fields.
> >
> > Well good luck.
> >
> >
> > On 15 Aug 2022 at 16:04, Thomas Blasejewicz wrote:
> >
> > Date sent:  Mon, 15 Aug 2022 16:04:44 +0900
> > To: users@global.libreoffice.org
> > From:   Thomas Blasejewicz 
> > Subject:[libreoffice-users] "reverse solidus" not
> > working in the find dialog box
> >
> > > Good afternoon from Japan
> > > Actually, I have asked about this in 2018 and a number of things were
> > > suggested.
> > > Unfortunately none did solve the problem.
> > > Problem:
> > > I have a long file with about 3,500 lines (each line = item) looking
> > like:
> > > HKES [] /(n) xx/
> > >
> > > where I would like to replace the "space[" and "]space" with tabs
> > > so that I can import the file into Calc.
> > >
> > > However, working with Japanese Windows 10, Japanese keyboard etc.
> > > NOTHING I tried so far
> > > allowed me to enter a \t (=> THIS is supposed to be a backslash) as a
> > > regular expression, telling
> > > the computer to replace the space[ with a tab.
> > >
> > > Question:
> > > Is there a trick telling the computer to replace any key sequence with a
> > > tab?
> > >
> > > Thank you.
> > >
> > >
> > > --
> > > To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> > > Problems?
> > https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> > > Posting guidelines + more:
> > https://wiki.documentfoundation.org/Netiquette
> > > List archive: https://listarchives.libreoffice.org/global/users/
> > > Privacy Policy: https://www.documentfoundation.org/privacy
> >
> >
> > ++
> >  Michael D. Setzer II - Computer Science Instructor
> > (Retired)
> >  mailto:mi...@guam.net
> >  mailto:msetze...@gmail.com
> >  Guam - Where America's Day Begins
> >  G4L Disk Imaging Project maintainer
> >  http://sourceforge.net/projects/g4l/
> > ++
> >
> >
> >
> >
> > --
> > To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> > Problems?
> > https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> > Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> > List archive: https://listarchives.libreoffice.org/g

Re: [libreoffice-users] "reverse solidus" not working in the find dialog box

2022-08-15 Thread Michael D. Setzer II
Not sure if the utf-8 characters will go thru with this, but hopefully it does 
get 
thru in some fashion.

On 15 Aug 2022 at 16:04, Thomas Blasejewicz wrote:

Date sent:  Mon, 15 Aug 2022 16:04:44 +0900
To: users@global.libreoffice.org
From:   Thomas Blasejewicz 
Subject:[libreoffice-users] "reverse solidus" not working in 
the find 
dialog box

> Good afternoon from Japan
> Actually, I have asked about this in 2018 and a number of things were 
> suggested.
> Unfortunately none did solve the problem.
> Problem:
> I have a long file with about 3,500 lines (each line = item) looking like:
> HKES     [] /(n) xx/
> 
> where I would like to replace the "space[" and "]space" with tabs
> so that I can import the file into Calc.
> 
> However, working with Japanese Windows 10, Japanese keyboard etc. 
> NOTHING I tried so far
> allowed me to enter a \t (=> THIS is supposed to be a backslash) as a 
> regular expression, telling
> the computer to replace the space[ with a tab.
> 
> Question:
> Is there a trick telling the computer to replace any key sequence with a 
> tab?
> 
> Thank you.
> 

In looking at one line you gave. Have a program findnoascii to find utf-8 code 
and 
this is what I get.
line as I pulled from email (seems utf-8 character don't show with standard 
font).
HKES     [] /(n) xx/   

Results from my nofindascii 
 1  4 c2a0   [ ]
 1  6 c2a0   [ ]
 1  8 c2a0   [ ]
 1 11 e889af []
 1 14 e79fa5 []
 1 17 e889af []
 1 20 e883bd []
 1 25 e3828a []
 1 28 e38287 []
 1 31 e38186 []
 1 34 e381a1 []
 1 37 e3828a []
 1 40 e38287 []
 1 43 e38186 []
 1 46 e381ae []
 1 49 e38186 []

  3 c2a0   [ ]  NO-BREAK SPACE (U+00A0) 
  3 e38186 []   HIRAGANA LETTER U (U+3046) 
  1 e381a1 []   HIRAGANA LETTER TI (U+3061) 
  1 e381ae []   HIRAGANA LETTER NO (U+306E) 
  2 e38287 []   HIRAGANA LETTER SMALL YO (U+3087) 
  2 e3828a []   HIRAGANA LETTER RI (U+308A) 
  1 e79fa5 []   know, perceive, comprehend (U+77E5) 
  1 e883bd []   "to be able; can, permitted to; ability (U+80FD) "
  2 e889af []   good, virtuous, respectable (U+826F) 

using tr '[' '\t' weirdmsg.csv
get file that can be loaded in libreoffice weirdmsg.csv
Might want to change no-break spaces to a tab as well?

> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] "reverse solidus" not working in the find dialog box

2022-08-15 Thread Michael D. Setzer II
In Linux that are a number of option using standard 
commands.
First would be sed
sed 's/ \[/\t/g;s/\]/\t /g' 
Subject:[libreoffice-users] "reverse solidus" not 
working in the find dialog box

> Good afternoon from Japan
> Actually, I have asked about this in 2018 and a number of things were 
> suggested.
> Unfortunately none did solve the problem.
> Problem:
> I have a long file with about 3,500 lines (each line = item) looking like:
> HKES     [] /(n) xx/
> 
> where I would like to replace the "space[" and "]space" with tabs
> so that I can import the file into Calc.
> 
> However, working with Japanese Windows 10, Japanese keyboard etc. 
> NOTHING I tried so far
> allowed me to enter a \t (=> THIS is supposed to be a backslash) as a 
> regular expression, telling
> the computer to replace the space[ with a tab.
> 
> Question:
> Is there a trick telling the computer to replace any key sequence with a 
> tab?
> 
> Thank you.
> 
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] multiplying time

2022-08-13 Thread Michael D. Setzer II
± is not a time/date value it should be formated as a 
regular number and would show 8.75
8 hours and 45 minutes
Values in time format versus values in number format.


08:45:00 AM
0.3645833
06:00:00 PM
8.75


The 8.75 gets converted to 8 being the number of days, 
and the .75 is 3/4 of a day being 18 hours, so isn't a 
time/date value. But is the correct value to multiple by 
the pay rate.




On 13 Aug 2022 at 14:15, bill wrote:


From: bill off...@michiganpsychotherapy.com>
Date sent:60;Sat, 13 Aug 2022 14:15:55 -0400
Send reply to:will...@techservsys.com
Subject: ;Re: [libreoffice-users] multiplying time
To: 0;msetze...@gmail.com


> On 8/8/2022 10:46 AM, Michael D. Setzer II wrote:> > If I understand 
> what you are looking at.> > With A1 having 8:45
> > B1 having A1/time(1,0,0)
> > B1 would have decimal equivalent of time in hours
> > C1 would be B1 * $15 (example rate)
> > C1 would be 131.25 (8.75 * 15)
> >
> > I am missing something.
> in B1:  A1/ TIME(1,0,0)
> If I put 08:45 AM into A1 the result I get is 06:00 PM in B1.
>
> bill
> >
> >
> > On 8 Aug 2022 at 9:51, bill wrote:
> >
> >
> > From:bill 
> > Date sent:Mon, 8 Aug 2022 09:51:51 -0400> > Send reply 
> > to:will...@techservsys.com
> > To:users@global.libreoffice.org
> > Subject:[libreoffice-users] multiplying time> >
> >
> >> On a spreadsheet I want to multiply time worked in hh:mm by pay
> >> rate (integer) and I can't find out how.> >>
> >> Help please.
> >>
> >> --
> >> Bill Drescher
> >> william {at} TechServSys {dot} com
> >>
> >> --
> >>
> >>
> >>
>
>
> --
> Bill Drescher
> william {at} TechServSys {dot} com
>




++
Michael D. Setzer II - Computer Science Instructor (Retired)   60;
mailto:mi...@guam.net  ;
mailto:msetze...@gmail.com
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] VLOOKUP Syntax to find MAX on a particular date

2022-08-08 Thread Michael D. Setzer II
On 8 Aug 2022 at 21:25, Hylton Conacher (ZR1HPC) 
wrote:

Date sent:  Mon, 8 Aug 2022 21:25:44 +0200
To: LibreOffice Users 

From:   "Hylton Conacher (ZR1HPC)" 

Subject:[libreoffice-users] VLOOKUP Syntax to find 
MAX on a particular date

> Hi,
> 
> Using LO Calc 7.3.2.2 and I have a 28 column table RAW Data table in 
> excess of 65k rows. A three column sample below:
> Date  Simple Date Outdoor Temp
> 2022-01-01T00:05:00+02:00 2022-01-01 00:05:00 17.5
> 2022-01-01T00:00:00+02:00 2022-01-01 00:00:00 17.4
> 
> I have a secondary table, called Amended RAW Data containing just the 10 
> digit date and the corresponding value of the column value I am seeking, 
> whether it be the Outdoor Temp, Daily Rainfall etc
> 
> What I need to do is query the following table, searching for a specific 
> 10 digit date, and find the max value on a specific date.
> 
> I have tried so many different itinerations on the VLOOKUP formula and 
> browsed many elementary Google VLOOKUP pages that I need help. I have 
> tried(all return N/A):
> 
> =MAX(VLOOKUP(LEFT($'RAW Data'.$B$2:$B$62037,10),$'RAW 
> Data'.$B$2:$L$62037,1,FALSE))
> 
> =MAX(VLOOKUP($A11,$'RAW Data'.$B$2:$M$62037,11))
> 
> =MAX(VLOOKUP($A11,$'RAW Data'.$B$2:$M$62037,11))
> 
> =MAX(VLOOKUP(LEFT($'RAW Data'.$B$2:$B$62307,10)=$'Amended RAW 
> Data'.$A$11,$'RAW Data'.$B$2:$L$62037,11,0))
> 
> References to 'Amended RAW Data'.$A$11 refer to a date that I know has 
> greater than zero value, and the 11th column data I want to max, within 
> a date.
> 
> Help appreciated
> Hylton

Not sure I understand you completely, but here is a test I 
did using maxifs.

In cells A5-A8
Date

2022-01-01T00:05:00+02:00

2022-01-01T00:00:00+02:00

2022-01-02T00:00:00+02:00


In cells B5-B8
Simple Date

 01/01/2022 12:05 AM

 01/01/2022 12:00 AM

 01/02/2022 12:00 AM


In cells C5-C8
Outdoor Temp

17.5

17.4

  26


In cells E6-E7
01/01/22

01/02/22


In cells F6 and F7
=MAXIFS($C$6:$C$8,$B$6:$B$8,">="&$E6,$B$6:$B$8,"<"&($E6+1))
=MAXIFS($C$6:$C$8,$B$6:$B$8,">="&$E7,$B$6:$B$8,"<"&($E7+1))

Displayed values of 17.5 and 26
Using Maxifs to get the max of range with outdoor temp, but date needs to be >= 
date in E 
and less than that +1 (next day)..


> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] multiplying time

2022-08-08 Thread Michael D. Setzer II
If I understand what you are looking at.
With A1 having 8:45
B1 having A1/time(1,0,0)
B1 would have decimal equivalent of time in hours
C1 would be B1 * $15 (example rate)
C1 would be 131.25 (8.75 * 15)


That would work if 24 hours or less.
If values more than 24 hours would need to more
Example:
a6=days as whole number
a6=2
b6=2:00 (time(2,0,0))
c6=(a6+b6)/time(1,0,0)
d6=c6*15 (50 * 15) = 750


Another example:
a9 =date(0,0,2)+time(2,0,0) Displays 12/02/99 02:00am
b9 =(a9-date(0,0,0))/time(1,0,0) Displays 50
c9 =b9 * 15 Display 750




On 8 Aug 2022 at 9:51, bill wrote:


From:bill 
Date sent:Mon, 8 Aug 2022 09:51:51 -0400
Send reply to:will...@techservsys.com
To:users@global.libreoffice.org
Subject:[libreoffice-users] multiplying time


> On a spreadsheet I want to multiply time worked in hh:mm by pay
> rate (integer) and I can't find out how.
>
> Help please.
>
> --
> Bill Drescher
> william {at} TechServSys {dot} com
>
> --
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy




+----------------+
Michael D. Setzer II - Computer Science Instructor (Retired)
mailto:mi...@guam.net
mailto:msetze...@gmail.com
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



[libreoffice-users] Searching for info gives nothing related to what I need?

2022-07-24 Thread Michael D. Setzer II
Have gotten this macro to do what I want, but the process requires two 
inputbox commands. Was trying to find a way to have a single dialog rather 
than two. All the searches come up with thing not even closely related to what 
I 
am looking for. Many are linked to Calc or Base or have super complex step.
Want a single form or whatever to enter the to: info and subject: info.
Have tried dozens of search terms but not finding an example. 

Sub Mailto
Dim oDoc As Object
Dim Path$, sendto$,subject$,cmd$
oDoc = ThisComponent
Path$ = oDoc.getURL()
sendto$ = InputBox ("To:")
subject$ = InputBox("Subject:")
If oDoc.HasLocation() Then
  subject$=replace(subject$," ","%20")
  cmd$="/home/msetzerii/.wine/drive_c/PMAIL/Programs/WSENDTO.EXE " 
(Path$,8,100) &" "&" 
mailto:"$$(63)&"subject="$&"=SENDING%20"&
mid(Path$,8,100)
  shell(cmd$)
Else
  Print "The document has not yet been stored"
End If
End Sub
++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] LO W short line

2022-07-21 Thread Michael D. Setzer II
Found a page that mention a process:

In writer
-   does a regular -
:-: does a slightly wider one
:--:again wider
:---:   again wider

Doing 4 results in it being unchanged.

Not sure if that is what you want?


On 21 Jul 2022 at 20:00, Ami Sigall wrote:

From:   Ami Sigall 

Date sent:  Thu, 21 Jul 2022 20:00:09 -0400
To: lo user help 

Copies to:  Chris Johnson 

Subject:[libreoffice-users] LO W short line

> Hi.
> 
> 
> In many word processors there's a short solid thin horizontal line the 
> equivalent of three dashes worth of space. It is used to indicate a 
> pause or short interval of time between words. In some three dashes are 
> replaced by this short line. Anyone know if Writer has this, where it 
> can be found and how to use it?
> 
> 
> Thank you.
> 
> 
> -- 
> 
> Chris Johnson rchristopherjohn...@gmail.com
> Ex SysAdmin, now, writer  /Insanity in individuals is something rare --
> but in groups, parties, nations, and epochs it is the rule.
> /(Friedrich Nietzsche)
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


+----+
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Tried send email with strace

2022-07-19 Thread Michael D. Setzer II
On 19 Jul 2022 at 8:12, Stephan Bergmann wrote:

Date sent:  Tue, 19 Jul 2022 08:12:06 +0200
Subject:Re: [libreoffice-users] Tried send email 
with strace
To: LibreOffice 
Copies to:  msetze...@gmail.com
From:   Stephan Bergmann 


> On 7/19/22 00:07, Michael D. Setzer II wrote:
> > Found some code at end of strace
> > 
> > (soffice:166273): GLib-GObject-WARNING **: 07:19:47.960: invalid cast from
> > 'GtkBox' to 'GtkMenuShell'
> > 
> > (soffice:166273): GLib-GObject-WARNING **: 07:19:47.960: invalid cast from
> > 'GtkBox' to 'GtkMenuShell'
> > 
> > (soffice:166273): GLib-GObject-WARNING **: 07:20:00.439: invalid cast from
> > 'GtkBox' to 'GtkMenuShell'
> > 
> > (soffice:166273): GLib-GObject-WARNING **: 07:20:00.439: invalid cast from
> > 'GtkBox' to 'GtkMenuShell'
> > /usr/bin/xdg-email: line 978: xdg-email-hook.sh: command not found
> > ) = 0
> > 
> > Note sure why it is call xdg-email instead of passing directly to internet 
> > email
> > setting??
> > xdg-email gives a popup that says unable to detect mailto: URL??
> 
> See my response at 
> <https://listarchives.libreoffice.org/global/users/2022/msg00383.html> 
> "Re: [libreoffice-users] Question on send to email option in linux.."
> 
> (And better not start new email threads when you could have continued 
> the existing one.)
> 

Thanks for the information. 
Thought it was a significant difference in what I had 
found since I was under the assumtion that setting the 
option internet email would have it directly call that 
program rather than have it go thru some other process.

Saw the xdg-email at very end of the strace showing the 
issue. In later email saw that it was passing 

/usr/bin/xdg-email 
mailto:?subject=testemail=file:///tmp/lu1757371x
dt6i.tmp/lu1757371xdt6m.tmp/testemail.odt

So it was creating subject using the basename of the file 
and creating a copy of the file under tmp.

Modified my WSENDTO script to
#!/bin/bash
/home/msetzerii/.wine/drive_c/PMAIL/Programs/WSENDT
O.EXE $(echo "$1" |sed 's_^.*file://__g')

and then replaced the xdg-email with link to WSENDTO 
and it was able to call the email client and load program 
as attachment. 

Noticed there is no senddoc.sh on my system in either the 
Fedora libreoffice or the 7.3.4.2 directories, but just 
senddoc. It does appear to be very similar to the contents 
of the xdg-email script.

My Macro to do mailto
Sub Mailto
Dim oDoc As Object
Dim Path$
oDoc = ThisComponent
Path$ = oDoc.getURL()
If oDoc.HasLocation() Then
shell("/home/msetzerii/.wine/drive_c/PMAIL/Programs/W
SENDTO.EXE " (Path$,8,100) )
Else
  Print "The document has not yet been stored"
End If
End Sub 

Seems to work fine, and bypasses the senddoc and sends 
just the direct filename rather than creating a copy in the 
/tmp directory. The mid removes the FILE:// from the 
oDoc.getURL() value returned.

Had found an old macro someone had written long ago 
for Libreoffice 2 that no longer worked, and hadn't been 
updated for many years, and was just trying to find a 
solution that would work. 

Not something I do a lot, but interesting.

Thanks again for info.

++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



[libreoffice-users] Send email option - more info?

2022-07-18 Thread Michael D. Setzer II
Doing work using strace seems that libreOffice is calling 
/usr/bin/xdg-email and passing parameter 
mailto:?subject=testemail=file:///tmp/lu1757371xdt6i.tmp/lu1757371x
dt6m.tmp/testemail.odt

That isn't working nothing beyond it work.
Running that same thing afterwards didn't work, since file was deleted, but 
then manually copied the odt file to location. This worked to a degree, but 
parameter $1 was mailto:?subjct=testemail 
Rest of info wasn't passed. Putting it in "'s worked.
Data would pass to my WSENDTO script and would get attachment, thou not 
subjest. Not sure if WSENDTO has option for other than attachment??

WSENDTO shell script.
#!/bin/bash
/home/msetzerii/.wine/drive_c/PMAIL/Programs/WSENDTO.EXE $(echo "$1" 
|sed 's_^.*file://__g')

That strips everything but path to file.

Still since it doesn't get passed from xdg-email it didn't work.
Renamed the xdg-email, and created a symbolic link to WSENDTO and it works.

Not sure why the Internet email option doesn't directory call WSENDTO, but 
uses xdg-email?

Will put it back to the original, since not sure if the xdg-email might have 
other 
uses. Seems to be dated back to 2010??

But interesting. My macro seems to work, and perhaps someone has detailed 
option of the WSENDTO beyond just sending filename.
Sometime things showed up in To: or Subject: lines, so must be something.

+--------+
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



[libreoffice-users] Tried send email with strace

2022-07-18 Thread Michael D. Setzer II
Found some code at end of strace

(soffice:166273): GLib-GObject-WARNING **: 07:19:47.960: invalid cast from 
'GtkBox' to 'GtkMenuShell'

(soffice:166273): GLib-GObject-WARNING **: 07:19:47.960: invalid cast from 
'GtkBox' to 'GtkMenuShell'

(soffice:166273): GLib-GObject-WARNING **: 07:20:00.439: invalid cast from 
'GtkBox' to 'GtkMenuShell'

(soffice:166273): GLib-GObject-WARNING **: 07:20:00.439: invalid cast from 
'GtkBox' to 'GtkMenuShell'
/usr/bin/xdg-email: line 978: xdg-email-hook.sh: command not found
) = 0

Note sure why it is call xdg-email instead of passing directly to internet 
email 
setting??
xdg-email gives a popup that says unable to detect mailto: URL??

But this will open email client and attaches file, but gives pop up windows 
error.

xdg-email --attach testemail.odt 
Popup shows input/output error failed to open Mail Reader??

So, not sure why the libreoffice is calling xdg-email or why the xdg-email 
doesn't link the filename passed without the --attach or if there is suppose to 
be 
an xdg-email-hook.sh somewhere? dnf failed to find anything that includes it?


++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Question on send to email option in linux..

2022-07-18 Thread Michael D. Setzer II
On 18 Jul 2022 at 22:12, Philip Jackson wrote:

Date sent:  Mon, 18 Jul 2022 22:12:20 +0200
Subject:Re: [libreoffice-users] Question on send to 
email option in linux..
From:   Philip Jackson 
To: LibreOffice 

> On 18/07/2022 21:35, Michael D. Setzer II wrote:
> > Thanks for the reply. I have LibreOffice 7.2.7.2 version as
> > loaded by default for my Fedora 35 and also have
> > LibreOffice 7.3.4.2 downloaded from libreoffice.
> >
> > With both I have tried a simple saved file with the word
> > test in it. File is saved. Have Tools / Options / Internet /
> > Email set to /usr/bin/WSENDTO (Thou I did also try using
> > the direct path to program as well.).
> 
> Strange - but in all the years I've been using LO Writer and email, I've 
> never thought or had reason to look at that setting. But now that you've made 
> me curious, I've had a look to see what I've got in Tools / Options / 
> Internet / Email and it informs me that my email program is :  sensible-lomua.
> 
> I've no idea what that is. I've used Thunderbird in conjunction with Linux 
> and LO for many years and it just worked.
> 
> Sorry.

Thanks again for the quick response. Don't know if it is 
trying something else. In browser I can type 
mailto:mi...@guam.net and it pulls up email client with 
no problem. Just seeing nothing with libreoffice, but the 
macro works fine. 

Thanks.



> 
> > /usr/bin/WSENDTO has this.
> > #!/bin/bash
> > echo $0 $1 $2 $3
> > /home/msetzerii/.wine/drive_c/PMAIL/Programs/WSENDT
> > O.EXE $1
> >
> > Strange thing is that absolutely nothing happens. No box
> > opens, and nothing in way of a error message is showing
> > up.. But with my simple macro - running it opens the
> > email client and has the document attached with no
> > problem...
> >
> > Simple Macro
> > Sub Mailto
> > Dim oDoc As Object
> > Dim Path$
> > oDoc = ThisComponent
> > Path$ = oDoc.getURL()
> > If oDoc.HasLocation() Then
> > shell("/home/msetzerii/.wine/drive_c/PMAIL/Programs/W
> > SENDTO.EXE " (Path$,8,100) )
> > Else
> >Print "The document has not yet been stored"
> > End If
> > End Sub
> >
> > Tools / Marco / Run and selecting it opens the email client
> > with the file attached..
> >
> > Not getting anything is what confuses me. Would expect
> > something to show on screen, but nothing. The macro
> > calls same program and takes the passed parameter, and
> > does trim theFILE://  off the parameter.
> >
> >
> >> +
> >>>Michael D. Setzer II - Computer Science Instructor
> >>> (Retired)
> >>>mailto:mi...@guam.net
> >>>mailto:msetze...@gmail.com
> >>>Guam - Where America's Day Begins
> >>>G4L Disk Imaging Project maintainer
> >>>http://sourceforge.net/projects/g4l/
> >>> ++
> >>>
> >>>
> >>>
> >>>
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Question on send to email option in linux..

2022-07-18 Thread Michael D. Setzer II
On 18 Jul 2022 at 18:25, Philip Jackson wrote:

Date sent:  Mon, 18 Jul 2022 18:25:45 +0200
Subject:Re: [libreoffice-users] Question on send to 
email option in linux..
To: users@global.libreoffice.org
From:   Philip Jackson 

> Could there be a problem with your installation of LO?
> 
> I'm using LO Writer 6.4.7.2 on UbuntuStudio 20.04 and the Send to email
> works fine. Clicking the File > 'Send to email' opens a write window in my
> Thunderbird mail client with the document already attached. 
>

Thanks for the reply. I have LibreOffice 7.2.7.2 version as 
loaded by default for my Fedora 35 and also have 
LibreOffice 7.3.4.2 downloaded from libreoffice.

With both I have tried a simple saved file with the word 
test in it. File is saved. Have Tools / Options / Internet / 
Email set to /usr/bin/WSENDTO (Thou I did also try using 
the direct path to program as well.).

/usr/bin/WSENDTO has this.
#!/bin/bash
echo $0 $1 $2 $3
/home/msetzerii/.wine/drive_c/PMAIL/Programs/WSENDT
O.EXE $1

Strange thing is that absolutely nothing happens. No box 
opens, and nothing in way of a error message is showing 
up.. But with my simple macro - running it opens the 
email client and has the document attached with no 
problem...

Simple Macro
Sub Mailto
Dim oDoc As Object
Dim Path$
oDoc = ThisComponent
Path$ = oDoc.getURL()
If oDoc.HasLocation() Then 
shell("/home/msetzerii/.wine/drive_c/PMAIL/Programs/W
SENDTO.EXE " (Path$,8,100) )
Else
  Print "The document has not yet been stored"
End If
End Sub
 
Tools / Marco / Run and selecting it opens the email client 
with the file attached..

Not getting anything is what confuses me. Would expect 
something to show on screen, but nothing. The macro 
calls same program and takes the passed parameter, and 
does trim the FILE:// off the parameter. 


> Philip
> 
> On 18/07/2022 12:14, Michael D. Setzer II wrote:
> > Was trying to get the option to work, but after setting the
> > program for Internet email nothing  happened when I
> > tried to send to email. No message No Error.
> >
> > Created a macro that does seem to work, but is very
> > basic. Just copied stuff I found on web, so some parts
> > might be better. First writer macro I've done. Usually do
> > macros in calc.
> > Found code getURL that gets path to file that must be
> > saved already. Probable a command to get it without the
> > file://  but found another thing to remove that.
> > Then it is just a matter of calling the WSENDTO.EXE
> > program and adding the full path to the already save file.
> > That brings up the Pegasus Email client, and adds the
> > document as an attachment.
> >
> > Sub Mailto
> > Dim oDoc As Object
> > Dim Path$
> > oDoc = ThisComponent
> > Path$ = oDoc.getURL()
> > If oDoc.HasLocation() Then
> >Print "The Document URL is " & oDoc.getURL()
> >uWithoutProto = Split(oDoc.getURL(),"file://")(1)
> > shell("/home/msetzerii/.wine/drive_c/PMAIL/Programs/W
> > SENDTO.EXE " & uWithoutProto)
> > Else
> >Print "The document has not yet been stored"
> > End If
> > End Sub
> >
> > Has print statements from original code, that could be
> > removed. The WSENDTO.EXE is the mapi client that
> > works in windows and works from firefox.  Surprized that
> > nothing shows with libreoffice.
> >
> > Thanks.
> >
> > ++
> >   Michael D. Setzer II - Computer Science Instructor
> > (Retired)
> >   mailto:mi...@guam.net
> >   mailto:msetze...@gmail.com
> >   Guam - Where America's Day Begins
> >   G4L Disk Imaging Project maintainer
> >   http://sourceforge.net/projects/g4l/
> > ++
> >
> >
> >
> >
> 
> --
> -

[libreoffice-users] Question on send to email option in linux..

2022-07-18 Thread Michael D. Setzer II
Was trying to get the option to work, but after setting the 
program for Internet email nothing  happened when I 
tried to send to email. No message No Error.

Created a macro that does seem to work, but is very 
basic. Just copied stuff I found on web, so some parts 
might be better. First writer macro I've done. Usually do 
macros in calc.
Found code getURL that gets path to file that must be 
saved already. Probable a command to get it without the 
file:// but found another thing to remove that.
Then it is just a matter of calling the WSENDTO.EXE 
program and adding the full path to the already save file.
That brings up the Pegasus Email client, and adds the 
document as an attachment. 

Sub Mailto
Dim oDoc As Object
Dim Path$
oDoc = ThisComponent
Path$ = oDoc.getURL()
If oDoc.HasLocation() Then
  Print "The Document URL is " & oDoc.getURL()
  uWithoutProto = Split(oDoc.getURL(), "file://")(1)
shell("/home/msetzerii/.wine/drive_c/PMAIL/Programs/W
SENDTO.EXE " & uWithoutProto)
Else
  Print "The document has not yet been stored"
End If
End Sub

Has print statements from original code, that could be 
removed. The WSENDTO.EXE is the mapi client that 
works in windows and works from firefox.  Surprized that 
nothing shows with libreoffice. 

Thanks.

+----------------+
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] ReDim Preserve (BASIC macro programming)

2022-07-10 Thread Michael D. Setzer II
Using break and watching with the array uncommented 
the type is showing as variant?? without it type is 
showing as long?
watching array gives variant with value 0 to -1?? if 
defined or not defined?

With line commented it gives value type as Long.

Sub ResizeArrayTest 
Dim MyArray(6) as Long, i as Long
rem MyArray()=array(1, 2988, 
3, 488, 5888, 688)
for i = 0 to 5
MyArray(i)=(i+1)*100
print MyArray (i)
next i

ReDim Preserve MyArray( 4 ) As Long
for i = 0 to 3
print MyArray (i)
next i

End Sub

Put a break on both print statements and watch Myarray 
and array
On 10 Jul 2022 at 14:59, Remy Gauthier wrote:

Subject:Re: [libreoffice-users] ReDim Preserve 
(BASIC macro programming)
From:   Remy Gauthier 

To: Johnny Rosenberg 
, LibreOffice
Användare

Date sent:  Sun, 10 Jul 2022 14:59:29 -0400

> Hi,
> 
> I can reproduce your issue on LO 7.3.4.2 on Fedora 35.
> Not 100% familiar with LO Basic, but this code works:
> 
> Sub resizeArrayTest
> 
> dim myArray (5) As Long
> for i = 0 to 5
> myArray (i) = i
> next i
> 
> ReDim Preserve myArray (4)
> End Sub
> 
> Sub Main
> 
> call resizeArrayTest
> 
> End Sub
> 
> It seems the Array() function you are using returns something that
> cannot be ReDim'ed, which may explain your observation.
> 
> I hope this helps.
> Rémy.
> 
> 
> 
> Le dimanche 10 juillet 2022 à 20:02 +0200, Johnny Rosenberg a écrit :
> > Hi.
> > 
> > Is this a bug or is my brain just not working?
> > 
> > 
> > 
> > 
> > 
> > *Sub ResizeArrayTest Dim MyArray(5) As Long MyArray=Array(1,
> > 2, 3,
> > 4, 5, 6) ReDim Preserve MyArray(4)End Sub*
> > 
> > Running this creates the array MyArray, but it's *empty*, so it seems
> > like "
> > *Preserve*" doesn't work here. Or what am I doing wrong? I'm sure I
> > have
> > got Preserve to work many times before, but maybe my brain crashed
> > this
> > time.
> > 
> > Using LibreOffice 7.2.7.2 on Ubuntu Studio 20.04.
> > 
> > Kind regards
> > 
> > Johnny Rosenberg
> > 
> 
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Calc function COUNTA

2022-06-25 Thread Michael D. Setzer II
With 3 no blank cells in range
=COUNTBLANK($A$2:$A$1000)
Returns 996
These all return 3
=COUNTA($A$2:$A$1000)
=COUNTIF($A$2:$A$1000,">""")
=COUNTIFS($A$2:$A$1000,">""")

Believe =COUNTA(A$2:A$1, ISBLANK=0) is getting 
0 from range, but the counts the isblank=0 as an item?


On 25 Jun 2022 at 21:41, Harvey Nimmo wrote:

Subject:[libreoffice-users] Calc function COUNTA
From:   Harvey Nimmo 
To: libreoffice-users 

Date sent:  Sat, 25 Jun 2022 21:41:23 +0200

> I wanted to count the number of non-blank items in a list of items
> using COUNTA. 
> 
> Cell A1 has the formula =COUNTA(A$2:A$1, ISBLANK=0) above an
> otherwise empty column.  It returns the value 1! 
> 
> Is that supposed to mean something? Has anyone notice this? 
> It's obviously not a big problem, because a workaround is obvious. 
> But do I have to mistrust the results of the COUNTA function?
> 
> Cheers
> Harvey
> 
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] ROUND function consistency

2022-06-05 Thread Michael D. Setzer II
=https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/round-function


Was the page I found that mentioned it, but other pages 
didn't mention the banking rounding? So not sure if excell 
would use regular rounding in excell, but uses the 
banking rounding if using the VBA? Don't have access to 
excell so no way to test, and might even vary depending 
on what version of excell and/or windows??


Note


This VBA function returns something commonly 
referred to as bankers rounding. So be careful 
before using this function. For more predictable 
results, use Worksheet Round functions in Excel 
VBA.


Note sure why neither Calc or Excell give option to select 
which type of rounding to use?


Made a test formula to do it.
=IF(AND(RIGHT(TEXT(A1,##."),2)="50",ISEVEN(INT(A1*100))=1),INT(A1*100)/100,ROUND(A1,2))


That looked at 3 and 4 digits and would round down for 0 
to 49 and round up for 51 to 99. 50 would depend on the 
original digit to 2nd decimal being even or odd to 
determine.


=IF(AND(RIGHT(TEXT(A1,##.000"),1)="5",ISEVEN(INT(A1*100))=1),INT(A1*100)/100,ROUND(A1,2))
Would work with just looking at 3 digit, and would do same for 0 to 4, and 6 to 
9, and then vary if 3rd was 5?


Might be another way, but that seemed to work..




On 5 Jun 2022 at 12:49, Johnny Rosenberg wrote:


From: Johnny Rosenberg 

Date sent:60;Sun, 5 Jun 2022 12:49:42 +0200
Subject: ;Re: [libreoffice-users] ROUND function 
consistency
To: 0;LibreOffice Användare 



> Den sön 5 juni 2022 kl 11:55 skrev Michael D. Setzer II <;msetze...@gmail.com
> >:
>
> > One windows excell page mentions that it uses the
> > banking rounding method, which I believe is the round to
> > nearest even. So, using that method 12.125 would round
> > to 12.12, while 12.135 would round to 12.14..> >
>
> Oh, yes. I didn't think of that. Yes, that makes sense, and I remember we
> learned that method in school too. So no bug report necessary, then\u2026 
> Unless
> we want the documentation to be clearer on this.>
>
>
> Kind regards
>
> Johnny Rosenberg
>
>
> > With this method if next digit is 1,2,3,4 the number> > rounds down. If it 
> > is 6,7,8,9 it rounds up. If 0 it does
> > nothing, but if it is 5, it has to check if the key pervious
> > digit is an even or old number. If it is even, then it rounds
> > down, if odd it rounds up.
> >
> > The regular LibreOffice round uses the standard round
> > function.
> >
> > Usually, the standard round is used, but know that some
> > government regulations require the banking/roundeven> > or roundodd method.
> >
> > Was surprized that excell's would default to banking?
> > Note sure why they don't provide one for each method, or
> > have an option to set.
> >
> >
> >
> > On 5 Jun 2022 at 11:37, Johnny Rosenberg wrote:
> >
> > From:   Johnny Rosenberg
> > 
> > Date sent: Sun, 5 Jun 2022 11:37:04 +0200> > Subject: 
> >    60;   Re: [libreoffice-users] ROUND function
> > consistency
> > To:    LibreOffice Användare
> > 
> >
> > > Looks like a bug to me. 12.125 returns 12.12, but 12.1251 returns 12.13.
> > > Both should return the same.
> > > I guess this bug should be reported.> > > Meanwhile, you can make your 
> > > own function that you can use. Here are two
> > > different suggestions.
> > >
> > > 1: This one use the Calc built-in ROUND() cell function. Place it in "My
> > > macros & dialogs". VBA compatibility mode is not needed.
> > >
> > > Public Function faRound(x As Double, d As Integer)
> > > Dim Calc
> > > Calc=createUnoService("com.sun.star.sheet.FunctionAccess")
> > > faRound=Calc.callFunction("ROUND", Array(x, d))
> > > End Function
> > >
> > > 2: This one use the method we learned at school:
> > > Public Function fRound(x As Double, d As Integer)
> > > fRound=Int(10^d*x+.5)/10^d
> > > End Function
> > >
> > > Test:
> > > Print afRound(12.125, 2)
> > > Result: 12.13
> > >
> > > Print fRound(12.125, 2)
> > > Result: 12.13
> > >
> > > Print fRound(12.125, 1)
> > > Result: 12.1
> > >
> > > ... and so on.
> > >
> > > Kind regards
> > >
> > > Johnny Rosenberg
> > >
> > > Den sön 5 juni 2022 kl 04:46 skrev Steve Edmonds <
> > steve.edmo...@ptglobal.com
> > > >:
> > >
> > > > I have just put a basic macro toge

Re: [libreoffice-users] ROUND function consistency

2022-06-05 Thread Michael D. Setzer II
One windows excell page mentions that it uses the 
banking rounding method, which I believe is the round to 
nearest even. So, using that method 12.125 would round 
to 12.12, while 12.135 would round to 12.14..
With this method if next digit is 1,2,3,4 the number 
rounds down. If it is 6,7,8,9 it rounds up. If 0 it does 
nothing, but if it is 5, it has to check if the key pervious 
digit is an even or old number. If it is even, then it rounds 
down, if odd it rounds up.

The regular LibreOffice round uses the standard round 
function.

Usually, the standard round is used, but know that some 
government regulations require the banking/roundeven 
or roundodd method. 

Was surprized that excell's would default to banking? 
Note sure why they don't provide one for each method, or 
have an option to set. 



On 5 Jun 2022 at 11:37, Johnny Rosenberg wrote:

From:   Johnny Rosenberg 

Date sent:  Sun, 5 Jun 2022 11:37:04 +0200
Subject:Re: [libreoffice-users] ROUND function 
consistency
To: LibreOffice Användare 


> Looks like a bug to me. 12.125 returns 12.12, but 12.1251 returns 12.13.
> Both should return the same.
> I guess this bug should be reported.
> Meanwhile, you can make your own function that you can use. Here are two
> different suggestions.
> 
> 1: This one use the Calc built-in ROUND() cell function. Place it in "My
> macros & dialogs". VBA compatibility mode is not needed.
> 
> Public Function faRound(x As Double, d As Integer)
> Dim Calc
> Calc=createUnoService("com.sun.star.sheet.FunctionAccess")
> faRound=Calc.callFunction("ROUND", Array(x, d))
> End Function
> 
> 2: This one use the method we learned at school:
> Public Function fRound(x As Double, d As Integer)
> fRound=Int(10^d*x+.5)/10^d
> End Function
> 
> Test:
> Print afRound(12.125, 2)
> Result: 12.13
> 
> Print fRound(12.125, 2)
> Result: 12.13
> 
> Print fRound(12.125, 1)
> Result: 12.1
> 
> ... and so on.
> 
> Kind regards
> 
> Johnny Rosenberg
> 
> Den sön 5 juni 2022 kl 04:46 skrev Steve Edmonds  >:
> 
> > I have just put a basic macro together so it will calculate income tax
> > due from our local tax rates.
> > I needed to round the tax to the nearest cent so taking the easy route I
> > added Option VBASupport 1 to use the available VB round function.
> >
> > I then noticed that the VB round function with say round(12.125,2)
> > rounds down to 12.12 and the LO inbuilt spread sheet function ROUND with
> > ROUND(12.125,2) rounds up to 12.13.
> >
> > Is rounding in this situation arbitrary or is there some some convention
> > for consistency.
> >
> > Steve
> >
> >
> > --
> > To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> > Problems?
> > https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> > Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> > List archive: https://listarchives.libreoffice.org/global/users/
> > Privacy Policy: https://www.documentfoundation.org/privacy
> >
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Issue with automating a simple process.

2022-05-04 Thread Michael D. Setzer II
On 4 May 2022 at 19:48, Paul D. Mirowsky wrote:


Date sent:Wed, 4 May 2022 19:48:06 -0400
Send reply to:p_mirow...@bentaxna.com
Subject:Re: [libreoffice-users] Issue with automating a 
simple process.
To:users@global.libreoffice.org
From:"Paul D. Mirowsky" 

Organization:Bentax of North America, Inc.


> I apologize, but I do not know how Calc handles this function, but the
> logic is...
>
> If A5 greater then zero, then end process
>


The issues seems to be. I set conditional range to be A1:AAV600 
and the conditional formatting works great.
But, when I reload spreadsheet, the external link imports new data 
into A5:AV564 (at moment).
If I check condition format range it has changed from A1:AV600 to 
A565:AV600,A1:AV4
and thus only applies to headings and empty cells were it does 
nothing.
I can manually change it back to A1:AV600 and it works.
But that requires manually 
FORMAT/CONDITIONAL/MANAGE/EDIT/CELL RANGE
to change it.
So 4 clicks change range and two OK clicks. Not a big deal, but 
wondering why range changes, or why absolute or range name is 
not an option??




> Hope this helps.
>
>
> On 5/3/22 04:33, Michael D. Setzer II wrote:
> > Have a shell script that creates 2 csv files with data that
> > changes each quarter of year.
> >
> > Script creates the files with about 600 lines.
> >
> > Have a spreadsheet that then has external links to import
> > data to cell A5:V600 from one and AA5:AV600 for other.
> > That works fine..
> >
> > I added conditional formatting that compares the data
> > between two groups to hightlight lines that are added or
> > deleted between to sets of data. That also works fine at
> > that point.
> >
> > Problem is: If I open the spreadsheet again, it reimports
> > the data and in process wipes out all reference to the
> > range A5:AV5xx and AA5:AV5xx leaving just cells
> > between groups. Tried setting range to A1:AV600, but
> > again, it seems importing information wipes out the
> > conditional formatting.
> >
> > I can manually go in and change the ranges back to
> > A1:AV600 and that restores the formatting..
> >
> > Tried recording a macro for that, but result is nothing
> > was recorded.
> > Also, trying to record the importing manually does seem
> > to work either.
> >
> > Tried to create a Range name thinking that might keep it,
> > but conditional formatting does except range names or
> > absolute addresses??
> >
> > Perhaps it can't be done.
> >
> > But process is much better than original manually getting
> > two sets of data to line up with manuall inserting cells.
> > Has about 46 records that are add/delete between data
> > sets.
> >
> > Perhaps there is something I'm missing.
> >
> > ++
> > Michael D. Setzer II - Computer Science Instructor
> > (Retired)
> > mailto:mi...@guam.net
> > mailto:msetze...@gmail.com
> > Guam - Where America's Day Begins
> > G4L Disk Imaging Project maintainer
> > http://sourceforge.net/projects/g4l/
> > ++
> >
> >
> >
> >
> --
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy




++
Michael D. Setzer II - Computer Science Instructor (Retired)
mailto:mi...@guam.net
mailto:msetze...@gmail.com
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Clearing formatting.

2022-04-07 Thread Michael D. Setzer II
=Column A has number
Column B sees if value can be used in formula (=a+1)
Column C checks isnumber result
Column D checks is text result
Column E checks Format result
Column F checks Type result
Column G =col(a) but format set to $


123124TRUEFALSEF0v=$123.00C2-
'123124FALSETRUEF0l123C2-
`123124TRUEFALSEF0v$123.00C2-
\u201c123#VALUE!FALSETRUEF0l\u201c123C2-
^123#VALUE!FALSETRUEF0l^123Â-


Interesting that a 'number is not a number but can be used in 
formula? But a numeric format is not applied since it is a label 
type?




++
Michael D. Setzer II - Computer Science Instructor 
(Retired)
mailto:mi...@guam.net  ;
mailto:msetze...@gmail.com
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Clearing formatting.

2022-04-07 Thread Michael D. Setzer II
=Recall in Lotus and Quattro Pro you could enter for text 
fields a single quote, double quote or carat that would set 
cell alignment to left/right/center.
Libreoffice doesn't seem to support that, and have to 
manually set alignment.


Tried entering numbers directly in calc and got these 
results.


AB =a1+1
1230;124straight 123Right aligned
'123=
60;124single '123Left aligned
`123=
60;124apostrophy123Right aligned
\u201c123#VALUE!Gives error in formula
^123#VALUE!


Does the web page have single quote or apostrophy or 
UTF8 simple or something else?


Thanks

So, with a single quote or apostrophy it is treated as a 
number but does change alignment?




On 8 Apr 2022 at 7:51, Steve Edmonds wrote:


Date sent:60;Fri, 8 Apr 2022 07:51:20 +1200
Subject: ;Re: [libreoffice-users] Clearing formatting.
To: 0;users@global.libreoffice.org
From: Steve Edmonds 



> The data is from part of a table on a public page but created in> response to 
> entering a street address.
> There are no issues when I paste the data if I select "detect special
> numbers" and there are no issues processing the numbers preceded with a
> '  in a calculation.
>
> I started wondering why LO doesn't see '123 as a format it can change or
> is it an over riding format that LO won't change and when I have a
> format like '123 how do I get it back to a number. If I type '123 into a
> cell, Format>Cells.. tells me it is a number, I can use it in a formula
> but can't sum it.
>
> If you format a cell as text (right click or Format>Cells..) and type in
> $123.00 you have some text as expected. If you delete the $ you have
> 123.00. If you now Format>Cells.. and select Number>General you would
> expect this to become a number format, but LO inserts the ' so it
> becomes '123.00 and changes the cell format to number but forcing the
> contents to remain as text.
>
>  From this point my question arose as to how to remove the ' so the
> contents of the cell became a number, and which Brian solved for me.
>
> Steve
>
> On 07/04/2022 13:18, Michael D. Setzer II wrote:> > Note: That the "`" does 
> work. In my testing I must have
> > enter ' instead of ` and the is why the "`" didn't work
> > since it was char(39) instead of char(96)..> >
> > Just wondering if the data is from a public page or some
> > kind of private page?? I have a spreadsheet that uses the
> > external data link to a web site to get the latest covid
> > stats for the US states, D.C. and territories. Than have
> > macro that processes it into rest of sheet.> >
> > Would be interesting to see how the spreadsheet
> > processes in the ` with the number. When I type in a> > number with a ` at 
> > the front, it shows that value as a text> > field and is left justified..
> >
> >
> >
> > On 6 Apr 2022 at 10:58, Michael D. Setzer II wrote:
> >
> > From: ="Michael D. Setzer II"
> > 
> > To: Steve Edmonds
> > ,
> >  =users@global.libreoffice.org> > Date sent:Wed, 06 Apr 2022 
> >10:58:56 +1000
> > Subject:=Re: [libreoffice-users] Clearing formatting.
> > Send reply to:msetze...@gmail.com
> > Priority:normal
> >
> >> =On 6 Apr 2022 at 10:13, Steve Edmonds wrote:
> >>
> >>
> >> Date sent:60;Wed, 6 Apr 2022 10:13:51 +1200
> >> To: 0;users@global.libreoffice.org> >> From: Steve Edmonds
> >> 
> >> Subject: ;[libreoffice-users] Clearing formatting.> >>
> >>
> >>> Hi, just wondering if there is an easy way to clear formatting of the
> >>> style '2892 where the apostrophe is used.
> >>> When I paste data from a web page LO inserts the apostrophe by default.
> >>> I realise there are options on pasting to have numbers pasted as text,
> >>> but my query is in regards converting '2892 to the number 2892.
> >>>
> >>
> >> Not sure this would work.
> >> Assuming you are using text formatting dialog option.
> >> You could click on the other option in addition to
> >> whatever filtering options you are using. Then put the
> >> apostrophe in the position after the other.
> >> You will end up with a column with the blanks where the> >> apostrophy 
> >> was. Would then just delete that column.
> >> That does assume that all numbers in column have> >> apostrophy and that 
> >> other cells don't have apostrophy's?
> >> Another option that might work for you.> >> Past data as currently done.
> >> In another column to right put formula> >> No leading  an assuming 
> &g

Re: [libreoffice-users] Clearing formatting.

2022-04-06 Thread Michael D. Setzer II
Note: That the "`" does work. In my testing I must have 
enter ' instead of ` and the is why the "`" didn't work 
since it was char(39) instead of char(96)..

Just wondering if the data is from a public page or some 
kind of private page?? I have a spreadsheet that uses the 
external data link to a web site to get the latest covid 
stats for the US states, D.C. and territories. Than have 
macro that processes it into rest of sheet.

Would be interesting to see how the spreadsheet 
processes in the ` with the number. When I type in a 
number with a ` at the front, it shows that value as a text 
field and is left justified..



On 6 Apr 2022 at 10:58, Michael D. Setzer II wrote:

From:           "Michael D. Setzer II" 

To: Steve Edmonds 
,
users@global.libreoffice.org
Date sent:  Wed, 06 Apr 2022 10:58:56 +1000
Subject:Re: [libreoffice-users] Clearing formatting.
Send reply to:  msetze...@gmail.com
Priority:   normal

> =On 6 Apr 2022 at 10:13, Steve Edmonds wrote:
> 
> 
> Date sent:60;Wed, 6 Apr 2022 10:13:51 +1200
> To: 0;users@global.libreoffice.org
> From: Steve Edmonds 
> 
> Subject: ;[libreoffice-users] Clearing formatting.
> 
> 
> > Hi, just wondering if there is an easy way to clear formatting of the
> > style '2892 where the apostrophe is used.
> > When I paste data from a web page LO inserts the apostrophe by default.
> > I realise there are options on pasting to have numbers pasted as text,
> > but my query is in regards converting '2892 to the number 2892.
> >
> 
> 
> Not sure this would work.
> Assuming you are using text formatting dialog option.
> You could click on the other option in addition to 
> whatever filtering options you are using. Then put the 
> apostrophe in the position after the other.
> You will end up with a column with the blanks where the 
> apostrophy was. Would then just delete that column.
> That does assume that all numbers in column have 
> apostrophy and that other cells don't have apostrophy's?
> Another option that might work for you.
> Past data as currently done.
> In another column to right put formula
> No leading  an assuming D1 is cell with '2982 format 
> numbers. Tried to match with "`" but it didn't work?? Had 
> to use code and ascii value for `'
> \u201c=IF(CODE(LEFT(D1,1))=39,VALUE(MID(D1,2,20)),d1)
> If all numbers have ` you could just use.
> No leading 
> \u201c=VALUE(MID(D1,2,20))
> 
> 
> Then copy the formula going down.
> Then highlight. Ctrl-C, and the Shift-Ctrl-V over original 
> data, rather than doing one cell at a time.
> 
> 
> Perhaps one of those would work with your data.
> Good Luck. Have a nice day.
> 
> 
> 
> 
> > I cannot Format Cells... format as number or clear direct formatting or
> > find and replace the '. I can Ctl-x, Ctl-Shft-v and paste and the ' is
> > cleared.
> >
> > Steve
> >
> > --
> > To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> > Problems? 
> > https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> > Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> > List archive: https://listarchives.libreoffice.org/global/users/> Privacy 
> > Policy: https://www.documentfoundation.org/privacy
> 
> 
> 
> 
> ++
> Michael D. Setzer II - Computer Science Instructor 
> (Retired)
> mailto:mi...@guam.net  ;
> mailto:msetze...@gmail.com
> Guam - Where America's Day Begins
> G4L Disk Imaging Project maintainer
> http://sourceforge.net/projects/g4l/
> ++
> 
> 
> 
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy
> 


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Clearing formatting.

2022-04-05 Thread Michael D. Setzer II
=On 6 Apr 2022 at 10:13, Steve Edmonds wrote:


Date sent:60;Wed, 6 Apr 2022 10:13:51 +1200
To: 0;users@global.libreoffice.org
From: Steve Edmonds 

Subject: ;[libreoffice-users] Clearing formatting.


> Hi, just wondering if there is an easy way to clear formatting of the
> style '2892 where the apostrophe is used.
> When I paste data from a web page LO inserts the apostrophe by default.
> I realise there are options on pasting to have numbers pasted as text,
> but my query is in regards converting '2892 to the number 2892.
>


Not sure this would work.
Assuming you are using text formatting dialog option.
You could click on the other option in addition to 
whatever filtering options you are using. Then put the 
apostrophe in the position after the other.
You will end up with a column with the blanks where the 
apostrophy was. Would then just delete that column.
That does assume that all numbers in column have 
apostrophy and that other cells don't have apostrophy's?
Another option that might work for you.
Past data as currently done.
In another column to right put formula
No leading  an assuming D1 is cell with '2982 format 
numbers. Tried to match with "`" but it didn't work?? Had 
to use code and ascii value for `'
\u201c=IF(CODE(LEFT(D1,1))=39,VALUE(MID(D1,2,20)),d1)
If all numbers have ` you could just use.
No leading 
\u201c=VALUE(MID(D1,2,20))


Then copy the formula going down.
Then highlight. Ctrl-C, and the Shift-Ctrl-V over original 
data, rather than doing one cell at a time.


Perhaps one of those would work with your data.
Good Luck. Have a nice day.




> I cannot Format Cells... format as number or clear direct formatting or
> find and replace the '. I can Ctl-x, Ctl-Shft-v and paste and the ' is
> cleared.
>
> Steve
>
> --
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/> Privacy 
> Policy: https://www.documentfoundation.org/privacy




+--------+
Michael D. Setzer II - Computer Science Instructor 
(Retired)
mailto:mi...@guam.net  ;
mailto:msetze...@gmail.com
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Off Line Help Installation

2022-03-22 Thread Michael D. Setzer II
On 22 Mar 2022 at 7:56, Robert Großkopf wrote:

Date sent:  Tue, 22 Mar 2022 07:56:46 +0100
Subject:Re: [libreoffice-users] Off Line Help 
Installation
To: users@global.libreoffice.org
From:   Robert Großkopf 


> Hi Joe,
> >> 
> >> file:///opt/libreoffice7.3/help/en-GB/text/shared/05/new_help.html?System=UNIX=WRITER=.uno:HelpIndex#bm_id3806162
> >> 
> >> 
> >> 
> >> My guess is that you installed LibreOffice from an Ubuntu
> >> repository, rather than the original libreoffice download site.
> >> /tmp is a particularly stupid location - the clue is in the name.
> >> It's temporary.
> > 
> > I downloaded the help file from LibreOffice.org. Joe
> > 
> Hope not only the help file but both: The whole LO from LibreOffice.org
> and not a part form Ubuntu and another part of LibreOffice.org.
> 
> So please have a look at file:///opt/libreoffice7.3/help ist there exist 
> any help. Then only the link is wrong. And the link will be set from the 
> main program.
> 
Just wondering. I'm using Fedora and it has the has 
7.1.8.1 as the default Libreoffice.
I've also installed 7.2.6.2 and 7.3.1.3 on the system, and 
can run whichever one I want from Application Office 
Menu.

This is one issue I have.  For each version I download the 
version of the RPMs, and also download the local help 
RPM as well. Extract the files, and then copy the help 
RPM files to same location as the other rpms, and then 
install. This puts the help files in the correct location.

Have a little script I use to automate process and create a 
file I can copy to other systems to install.

newlib=$(ls -1 LibreOffice_$1*.gz |tail -n 1 | cut -f1,2 -d_)
mkdir $newlib
cd $newlib/
for a in ../$newlib*.gz ; do tar xvf $a ; done 
for a in $(find . | grep "\.rpm") ; do mv $a .; done
rpm -Uvh *.rpm
tar -Jcvf ../$newlib.xz *.rpm
rm l*.rpm -f
rm LibreOffice_$1* -R -f
cd ..
rmdir $newlib


> Regards
> 
> Robert
> -- 
> Homepage: https://www.familiegrosskopf.de/robert
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Help with find & replace. [SOLVED]

2022-03-17 Thread Michael D. Setzer II
On 17 Mar 2022 at 9:49, Dave Barton wrote:

Subject:Re: [libreoffice-users] Help with find & 
replace. [SOLVED]
To: users@global.libreoffice.org
From:   Dave Barton 
Date sent:  Thu, 17 Mar 2022 09:49:41 +

> On 16/03/2022 16:29, Dave Barton wrote:
> > I am looking for a find & replace solution in Writer, where there is a
> > blank space as the last character of a paragraph
> > (eg. last word ).
> 
> Thanks to all who replied.
> 

No problem. That is what support lists are suppose to do. 
Glad you got a solution.


> Dave
> 
> 
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


+--------+
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] orientating a right-angled triangle.

2022-03-16 Thread Michael D. Setzer II
On 16 Mar 2022 at 21:04, Ian Graham wrote:


Date sent:60;Wed, 16 Mar 2022 21:04:28 +
From: Ian Graham 
Subject: ;[libreoffice-users] orientating a 
right-angled triangle.
To: 0;users@global.libreoffice.org


> I feel as if I must be being incredibly stupid, but I'm trying to draw a
> right-angled triangle in LibreOffice Writer, and I can't get one the way
> round I want.
Insert/Shape/Basic Shapes/Right Triangle
Size it to the size you want.
Right click \u2013 Select Flip horizontally.




>
> I want one with the right angle at bottom right, a short side rising
> from the right-angle, and the hypotenuse sloping down from right to left.
>
> If I click and drag left, the height is at the left. But so it is, if I
> drag right! I've been into what right-click offers, and there are two
> different controls there, but I still can't find a way to achieve what I
> want !
>
> Help !
>
> Ian Graham
>
> Wales UK
>
> --
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/> Privacy 
> Policy: https://www.documentfoundation.org/privacy




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Help with find & replace.

2022-03-16 Thread Michael D. Setzer II
On 16 Mar 2022 at 20:41, Dave Barton wrote:

Subject:Re: [libreoffice-users] Help with find & 
replace.
To: users@global.libreoffice.org
From:   Dave Barton 
Date sent:  Wed, 16 Mar 2022 20:41:43 +

> On 16/03/2022 20:01, Steve Edmonds wrote:
> > 
> > 
> > On 17/03/2022 08:34, Dave Barton wrote:
> >> On 16/03/2022 18:27, Brian Barker wrote:
> >>> At 16:29 16/03/2022 +, Dave Barton wrote:
> >>>> I am looking for a find & replace solution in Writer, where there is a
> >>>> blank space as the last character of a paragraph (eg. last word
> >>>> ). In the original OOo and most of the text editors I
> >>>> use the simple solution that worked/works perfectly is: Find =
> >>>> $ Replace = $ (Note: I use  here to represent a single
> >>>> space character). This does not work in LO Writer, so I am forced to
> >>>> fiddle around copying from LO and pasting into AOO, running F in
> >>>> AOO, then copy/paste back again. Any pointers would be welcome.
> >>> I'm surprised that exactly what you say works in OpenOffice. Don't you
> >>> need to find space-dollar, just as you describe, but to replace with
> >>> nothing? Replacing with dollar will surely insert an unwanted dollar
> >>> character?
> >>>
> >>> Or have you forgotten to click "Other options" in the Find and Replace
> >>> dialogue and to tick "Regular expressions"?
> >>>
> >>> I trust this helps.
> >>>
> >>> Brian Barker
> >> Hi Brian,
> >>
> >> After 22 Years of you and I being involved in this project, I genuinely
> >> bow to your superior knowledge in this area. However, I do assure you
> >> that the convoluted LO->AOO->LO  nonsense works for me, exactly as it
> >> did in the days of OOo.
> >>
> >> No, I have not forgotten to click "Other options in the Find and Replace
> >> dialogue and to tick "Regular expressions", please see my screen capture:
> >> https://www.mediafire.com/view/80552jkp3qw6o8x/F%2526R_LO.png/file
> >>
> >> Here is a very simplistic file illustrating the 
> >> paragraph endings:
> >> https://www.mediafire.com/file/vmixa9r4dhjpc9e/F%2526R_LO.odt/file
> >>
> >> Version: 7.3.1.3 (x64) / LibreOffice Community
> >> Build ID: a69ca51ded25f3eefd52d7bf9a5fad8c90b87951
> >> CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: default; VCL:
> >> win
> >> Locale: es-ES (en_IE); UI: en-US
> >> Calc: threaded
> >>
> >> If you can please show me where I am going wrong, I would be extremely
> >> grateful.
> >>
> >> Dave Barton
> >>
> >>
> > May be this is sorted and I have received the emails out of order, but
> > assuming you just want to remove the trailing space from each line, both
> > Johnny's and Michael's methods work for me on your sample file.
> > 
> > Find= [:space:]{1,}$
> > Replace= empty
> > 
> > Find= $
> > Replace= empty
> > 
> > Use regular expression= checked
> > Steve
> 
> 
> Thanks Steve, but no it's NOT sorted.
> 
> You have "Kinda" given me 1/2 a clue.
> 
> What does {.1.} mean?
file:///opt/libreoffice7.3/help/en-US/text/shared/01/0211.html?=WRITER

{N}

The post-fix repetition operator that specifies an exact 
number of occurrences ("N") of the regular expression 
term immediately preceding it must be present for a 
match to occur. For example, "tre{2}" matches "tree".  

{N,M}   
 The post-fix repetition operator that specifies a range 
(minimum of "N" to a maximum of "M") of occurrences of 
the regular expression term immediately preceding it 
that can be present for a match to occur. For example, 
"tre{1,2}" matches "tre" and "tree".  

{N,}

The post-fix repetition operator that specifies a range 
(minimum "N" to an unspecified maximum) of 
occurrences of the regular expression term immediately 
preceding it that can be present for a match to occur. 
(The maximum number of occurrences is limited only by 
the size of the document). For example, "tre{2,}" 
matches "tree", "treee", and "tre".  

So, [:space:]{1,}$ matches one or more spaces at end of 
line.
{1,}$ does the same with  actually 
being a single space.
> 
> In all my researching of regular expressions, I have never encountered
> this option. The wonderf

Re: [libreoffice-users] Help with find & replace.

2022-03-16 Thread Michael D. Setzer II
On 17 Mar 2022 at 9:01, Steve Edmonds wrote:

Date sent:  Thu, 17 Mar 2022 09:01:42 +1300
Subject:Re: [libreoffice-users] Help with find & 
replace.
To: users@global.libreoffice.org
From:   Steve Edmonds 


> 
> 
> On 17/03/2022 08:34, Dave Barton wrote:
> > On 16/03/2022 18:27, Brian Barker wrote:
> >> At 16:29 16/03/2022 +, Dave Barton wrote:
> >>> I am looking for a find & replace solution in Writer, where there is a
> >>> blank space as the last character of a paragraph (eg. last word
> >>> ). In the original OOo and most of the text editors I
> >>> use the simple solution that worked/works perfectly is: Find =
> >>> $ Replace = $ (Note: I use  here to represent a single
> >>> space character). This does not work in LO Writer, so I am forced to
> >>> fiddle around copying from LO and pasting into AOO, running F in
> >>> AOO, then copy/paste back again. Any pointers would be welcome.
> >> I'm surprised that exactly what you say works in OpenOffice. Don't you
> >> need to find space-dollar, just as you describe, but to replace with
> >> nothing? Replacing with dollar will surely insert an unwanted dollar
> >> character?
> >>
> >> Or have you forgotten to click "Other options" in the Find and Replace
> >> dialogue and to tick "Regular expressions"?
> >>
> >> I trust this helps.
> >>
> >> Brian Barker
> > Hi Brian,
> >
> > After 22 Years of you and I being involved in this project, I genuinely
> > bow to your superior knowledge in this area. However, I do assure you
> > that the convoluted LO->AOO->LO  nonsense works for me, exactly as it
> > did in the days of OOo.
> >
> > No, I have not forgotten to click "Other options in the Find and Replace
> > dialogue and to tick "Regular expressions", please see my screen capture:
> > https://www.mediafire.com/view/80552jkp3qw6o8x/F%2526R_LO.png/file
> >
> > Here is a very simplistic file illustrating the 
> > paragraph endings:
> > https://www.mediafire.com/file/vmixa9r4dhjpc9e/F%2526R_LO.odt/file
> >
> > Version: 7.3.1.3 (x64) / LibreOffice Community
> > Build ID: a69ca51ded25f3eefd52d7bf9a5fad8c90b87951
> > CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: default; VCL: win
> > Locale: es-ES (en_IE); UI: en-US
> > Calc: threaded
> >
> > If you can please show me where I am going wrong, I would be extremely
> > grateful.
> >
> > Dave Barton
> >
> >
> May be this is sorted and I have received the emails out of order, but 
> assuming you just want to remove the trailing space from each line, both 
> Johnny's and Michael's methods work for me on your sample file.
> 
> Find= [:space:]{1,}$
> Replace= empty
> 
> Find= $
> Replace= empty
> 
> Use regular expression= checked
> Steve

Just to make sure it is clear $ will only remove 1 
space at end of line {1,}$ or [:space:]{1,}$ will 
remove all spaces 1 to whatever.



> 
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Help with find & replace.

2022-03-16 Thread Michael D. Setzer II
[:space:]{1,}$ Seemed to work for me in find option and 
left replace completely blank. Than replace all.

On 16 Mar 2022 at 16:29, Dave Barton wrote:

To: LibreOffice Users 

From:   Dave Barton 
Subject:[libreoffice-users] Help with find & replace.
Date sent:  Wed, 16 Mar 2022 16:29:34 +

> I am looking for a find & replace solution in Writer, where there is a
> blank space as the last character of a paragraph
> (eg. last word ).
> 
> In the original OOo and most of the text editors I use the simple
> solution that worked/works perfectly is:
> Find = $ Replace = $
> (Note: I use  here to represent a single space character).
> 
> This does not work in LO Writer, so I am forced to fiddle around copying
> from LO and pasting into AOO, running F in AOO, then copy/paste back
> again.
> 
> Any pointers would be welcome.
> 
> Dave
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


+----+
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Spreadsheet question

2022-03-13 Thread Michael D. Setzer II
Seem to be able to get it to load the data from the csv file.
Just select option to use two delimeters. Use the : for 
headings and space for the data fields.
Then just have it use the odd columns for column 
headers, and even columns for the data for those heading.
Also used a formula ot convert date and time to date and 
time values.


On 13 Mar 2022 at 11:03, Michael H wrote:

From:   Michael H 
Date sent:  Sun, 13 Mar 2022 11:03:32 -0500
Subject:Re: [libreoffice-users] Spreadsheet question
To: "Rogier F. van Vlissingen" 
Copies to:  "Michael D. Setzer II" , 
LibreOffice Användare 

> 
> Note that regex is much easier in a text editor than in LO Calc. I do this 
> kind 
> of thing as normal course of my activity: get the file to look like the .csv 
> i 
> want with an editor first, then import it into LO Calc. Tab delimited is the 
> least error prone... (you can make a tab in most editors with regex with \t )
> 
> I use jEdit because it's ability to record the search/replace activity, then 
> allow you to edit and replay the recorded "macros" on other files helps me 
> work far far faster. But any text editor with regex functionality will 
> eventually have to moving faster than LO Calc.
> 
> But it's a steep learning curve.
> 
> On Sun, Mar 13, 2022 at 9:18 AM Rogier F. van Vlissingen 
>  wrote:
> Awesome, thanks!
> 
> A bit puzzling... I thought I exactly copied your previous 
> instructions,
> but I got the idiot results you saw. Now I downloaded your 
> spreadsheet, and
> indeed it came out better in your case, so there must be 
> some subtle
> mistake some place. I will have to repeat the process and 
> figure that out.
> 
> Thanks so much.
> 
> On Sun, Mar 13, 2022 at 10:00 AM Michael D. Setzer II 
> 
> wrote:
> 
> > Not clear on how you got that break down with my 
> instructions I get A thru
> > AB and here I transposed them to show. PM2.5 is in 
> Column G not two.
> > Then had formula to convert date and time value. Moved
> > A
> > Date
> > B
> > 20220302
> > 03/02/22
> > "=DATE(LEFT(AH2,4),MID(AH2,5,2),RIGHT(AH2,2))
> > C
> > Time
> > D
> > 1631
> > 04:31:00 PM
> > "=TIME(INT(AH4/100),MOD(AH4,100),0)
> > E
> > PM1.0
> > F
> > 0
> > G
> > PM2.5
> > H
> > 0
> > I
> > PM10
> > J
> > 0
> > K
> > CO2
> > L
> > 10
> > M
> > HCHO
> > N
> > 0.001
> > O
> > TVOC
> > P
> > 0
> > Q
> > >0.3DustNum
> > R
> > 0
> > S
> > >0.5DustNum
> > T
> > 0
> > U
> > >1.0DustNum
> > V
> > 0
> > W
> > >2.5DustNum
> > X
> > 0
> > Y
> > >5.0DustNum
> > Z
> > 0
> > AA
> > >10DustNum
> > AB
> > 0
> > On 13 Mar 2022 at 9:30, Rogier F. van Vlissingen wrote:
> > From:  "Rogier F. van Vlissingen" 
> 
> > Date sent:   Sun, 13 Mar 2022 09:30:49 -0400
> > Subject:Re: [libreoffice-users] Spreadsheet question
> > To:   "Michael D. Setzer II" 
> 
> > Copies to:   users@global.libreoffice.org
> > > Funny complication.
> > >
> > > One of the variable labels is PM2.5, but in this case that 
> became two
> > > columns, H, and I respectively, like this:
> > >
> > > H   I
> > > PM2 5
> > >
> > >
> > > On Sun, Mar 13, 2022 at 9:27 AM Rogier F. van 
> Vlissingen <
> > vlisc...@gmail.com>
> > > wrote:
> > >
> > > > Awesome, thanks!
> > > >
> > > > I replicated that, and now I can just name the 
> columns and the delete
> > the
> > > > preceding columns with the variable names and I am 
> in business.
> > > >
> > > > One of these babies is 11775 rows ;-)
> > > >
> > > >
> > > >
> > > > On Sun, Mar 13, 2022 at 9:18 AM Michael D. Setzer 
> II <
> > msetze...@gmail.com>
> > > > wrote:
> > > >
> > > >> Loaded the csv file with libreoffice and click on 
> space and
> > > >> other boxes and entered :.
> > > >> That brings in columns A thru AB.
> > > >>
> > > >>
> > > >> On 13 Mar 2022 at 9:05, Rogier F. van Vlissingen 
> wrote:
> > > >>
> > > >> From: "Rogier F. van Vlissingen"
> > > >> 
> > > >> Date sent:   Sun, 13 Mar 2022 09:05:56 -0

Re: [libreoffice-users] Spreadsheet question

2022-03-13 Thread Michael D. Setzer II
=Not clear on how you got that break down with my 
instructions I get A thru AB and here I transposed them 
to show. PM2.5 is in Column G not two.
Then had formula to convert date and time value. Moved




ADate


B20220302
03/02/22
\u201c=DATE(LEFT(AH2,4),MID(AH2,5,2),RIGHT(AH2,2))
CTime


D163104:31:00 PM
\u201c=TIME(INT(AH4/100),MOD(AH4,100),0)
EPM1.0


F0


GPM2.5


H0


IPM10


J0


KCO2


L10


MHCHO


N0.001



OTVOC


P0


Q>0.3DustNum




R0


S>0.5DustNum




T0


U>1.0DustNum




V0


W>2.5DustNum




X0


Y>5.0DustNum




Z0


AA>10DustNum



AB0




On 13 Mar 2022 at 9:30, Rogier F. van Vlissingen wrote:


From: "Rogier F. van Vlissingen" 

Date sent:60;Sun, 13 Mar 2022 09:30:49 -0400
Subject: ;Re: [libreoffice-users] Spreadsheet 
question
To: 0;"Michael D. Setzer II" 

Copies to:60;users@global.libreoffice.org


> Funny complication.
>
> One of the variable labels is PM2.5, but in this case that became two
> columns, H, and I respectively, like this:
>
> H   I
> PM2  5
>
>
> On Sun, Mar 13, 2022 at 9:27 AM Rogier F. van Vlissingen 
> wrote:
>
> > Awesome, thanks!
> >
> > I replicated that, and now I can just name the columns and the delete the
> > preceding columns with the variable names and I am in business.
> >
> > One of these babies is 11775 rows ;-)
> >
> >
> >
> > On Sun, Mar 13, 2022 at 9:18 AM Michael D. Setzer II 
> > wrote:
> >
> >> Loaded the csv file with libreoffice and click on space and
> >> other boxes and entered :.
> >> That brings in columns A thru AB.
> >>
> >>
> >> On 13 Mar 2022 at 9:05, Rogier F. van Vlissingen wrote:> >>
> >> From:  "Rogier F. van Vlissingen"
> >> 
> >> Date sent:   60;  Sun, 13 Mar 2022 09:05:56 -0400
> >> Subject:;    Re: [libreoffice-users] Spreadsheet
> >> question
> >> To:0;    David Lynch 
> >> Copies to:   60;  users@global.libreoffice.org
> >>
> >> > wow... I had never used that function before...
> >> > >
> >> > > I am not quite there yet, however, but at least this is a path. Here
> >> is an
> >> > > example of one of the strings> >> > >
> >> > > Date:20220302 Time:1631 PM1.0:000 PM2.5:000 PM10:000 CO2:0010
> >> HCHO:0.001
> >> > > TVOC:0.000 >0.3DustNum:0 >0.5DustNum:0 >1.0DustNum:0
> >> > > >2.5DustNum:0 >5.0DustNum:0 >;10DustNum:0
> >> > >
> >> > > Using the expression as you wrote it, I get fields, like this:
> >> > > Date 20220302 Time 1631 PM1.0 000 PM2.5 000 PM10 000 CO2 0010 HCHO
> >> 0.001
> >> > > TVOC 0.000 >0.3DustNum 0 >0.5DustNum 0 >1.0DustNum 0
> >> > > >2.5DustNum 0 >5.0DustNum 0 >;10DustNum 0 and then I could
> >> > > name the columns and delete the columns with the variable names.
> >> > >
> >> > > I will have to study that function... thanks.> >> > >
> >> >
> >> >
> >> >
> >> > > On Sun, Mar 13, 2022 at 8:41 AM David Lynch dlynch131...@gmail.com>
> >> > > wrote:
> >> > >
> >> > >> On 13/03/2022 12:04, Rogier F. van Vlissingen wrote:
> >> > >> > Var1: value1 Var2: value2 Var3: value 3 ... Var10: value10
> >> > >>
> >> > >> Place the strings in column 1 than put
> >> > >>
> >> > >> =REGEX($A1,"(?<=^| |:)[^ ]+?(?=:| |$)",,COLUMN()-1)
> >> > >>
> >> > >> in column 2 and drag right for ten columns and down.
> >> > >>
> >> > >> David Lynch
> >> > >>
> >> > >>
> >> >
> >> > --
> >> > To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> >> > Problems?
> >> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> >> > Posting guidelines + more:
> >> https://wiki.documentfoundation.org/Netiquette
> >> > List archive: https://listarchives.libreoffice.org/global/users/
> >> > Privacy Policy: https://www.documentfoundation.org/privacy
> >>
> >>
> >> ++
> >>  Michael D. Setzer II - Computer Science Instructor
> >> (Retired)
> >>  mailto:mi...@guam.net
> >>  mailto:msetz

Re: [libreoffice-users] Spreadsheet question

2022-03-13 Thread Michael D. Setzer II
The spreadsheet I sent gave columns A thru AB, but some 
may not have separated exactly correct. Not knowing 
exactly what changes would be needed.
Started by inserting a row at top.


To convert date to an actual date field. In ad1 put B.
In ad2 put this formula to make a date.
=DATE(LEFT(B2,4),MID(B2,5,2),RIGHT(B2,2))
In ae1 put D
In ae2 put
=TIME(INT(D2/100),MOD(D2,100),0)




On 13 Mar 2022 at 9:05, Rogier F. van Vlissingen wrote:


From:"Rogier F. van Vlissingen" 

Date sent:Sun, 13 Mar 2022 09:05:56 -0400
Subject:Re: [libreoffice-users] Spreadsheet 
question
To:David Lynch 
Copies to:users@global.libreoffice.org


> wow... I had never used that function before...
> >
> > I am not quite there yet, however, but at least this is a path. Here is an
> > example of one of the strings
> >
> > Date:20220302 Time:1631 PM1.0:000 PM2.5:000 PM10:000 CO2:0010 HCHO:0.001
> > TVOC:0.000 >0.3DustNum:0 >0.5DustNum:0 >1.0DustNum:0
> > >2.5DustNum:0 >5.0DustNum:0 >10DustNum:0
> >
> > Using the expression as you wrote it, I get fields, like this:
> > Date 20220302 Time 1631 PM1.0 000 PM2.5 000 PM10 000 CO2 0010 HCHO 0.001
> > TVOC 0.000 >0.3DustNum 0 >0.5DustNum 0 >1.0DustNum 0
> > >2.5DustNum 0 >5.0DustNum 0 >10DustNum 0 and then I could
> > name the columns and delete the columns with the variable names.
> >
> > I will have to study that function... thanks.
> >
>
>
>
> > On Sun, Mar 13, 2022 at 8:41 AM David Lynch 
> > wrote:
> >
> >> On 13/03/2022 12:04, Rogier F. van Vlissingen wrote:
> >> > Var1: value1 Var2: value2 Var3: value 3 ... Var10: value10
> >>
> >> Place the strings in column 1 than put
> >>
> >> =REGEX($A1,"(?<=^| |:)[^ ]+?(?=:| |$)",,COLUMN()-1)
> >>
> >> in column 2 and drag right for ten columns and down.
> >>
> >> David Lynch
> >>
> >>
>
> --
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Spreadsheet question

2022-03-13 Thread Michael D. Setzer II
Loaded the csv file with libreoffice and click on space and 
other boxes and entered :.
That brings in columns A thru AB.


On 13 Mar 2022 at 9:05, Rogier F. van Vlissingen wrote:

From:   "Rogier F. van Vlissingen" 

Date sent:  Sun, 13 Mar 2022 09:05:56 -0400
Subject:Re: [libreoffice-users] Spreadsheet 
question
To: David Lynch 
Copies to:  users@global.libreoffice.org

> wow... I had never used that function before...
> >
> > I am not quite there yet, however, but at least this is a path. Here is an
> > example of one of the strings
> >
> > Date:20220302 Time:1631 PM1.0:000 PM2.5:000 PM10:000 CO2:0010 HCHO:0.001
> > TVOC:0.000 >0.3DustNum:0 >0.5DustNum:0 >1.0DustNum:0
> > >2.5DustNum:0 >5.0DustNum:0 >10DustNum:0
> >
> > Using the expression as you wrote it, I get fields, like this:
> > Date 20220302 Time 1631 PM1.0 000 PM2.5 000 PM10 000 CO2 0010 HCHO 0.001
> > TVOC 0.000 >0.3DustNum 0 >0.5DustNum 0 >1.0DustNum 0
> > >2.5DustNum 0 >5.0DustNum 0 >10DustNum 0 and then I could
> > name the columns and delete the columns with the variable names.
> >
> > I will have to study that function... thanks.
> >
> 
> 
> 
> > On Sun, Mar 13, 2022 at 8:41 AM David Lynch 
> > wrote:
> >
> >> On 13/03/2022 12:04, Rogier F. van Vlissingen wrote:
> >> > Var1: value1 Var2: value2 Var3: value 3 ... Var10: value10
> >>
> >> Place the strings in column 1 than put
> >>
> >> =REGEX($A1,"(?<=^| |:)[^ ]+?(?=:| |$)",,COLUMN()-1)
> >>
> >> in column 2 and drag right for ten columns and down.
> >>
> >> David Lynch
> >>
> >>
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++



The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any other MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

    File information ---
 File:  BRSmart128S_0302-0313_2022_RFvV_BR.ods
 Date:  13 Mar 2022, 23:16
 Size:  675913 bytes.
 Type:  Libre-sheet

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] LibreOffice 7.3 not working on Fedora 34??

2022-02-07 Thread Michael D. Setzer II
On 7 Feb 2022 at 21:24, Andrew Pitonyak wrote:

From:   "Andrew Pitonyak" 

Date sent:  Mon, 07 Feb 2022 21:24:32 -0500
Copies to:  "Dave Barton" , 
users@global.libreoffice.org
To:             "Michael D. Setzer II" 

Subject:Re: [libreoffice-users] LibreOffice 7.3 not 
working on Fedora
34??

> 
> On Monday, February 07, 2022 20:20 EST, "Michael D. Setzer II" 
>  wrote:
>  =On 7 Feb 2022 at 17:17, Dave Barton wrote:
> Subject:      Re: [libreoffice-users] LibreOffice 7.3 not
> working on Fedora 34??
> To:  users@global.libreoffice.org
> From:0;    Dave Barton 
> Date sent:  Mon, 7 Feb 2022 17:17:07 +
> 
> 
> > On 06/02/2022 22:28, Jean-Baptiste Faure wrote:
> > > Hi,
> > >
> > > Le 03/02/2022 à 10:56, Michael D. Setzer II a écrit :
> > >> Yesterday, Downloaded and installed and it reports a
> > >> crash, but just gives option to submit it, but no details.
> > >> Come up in safe mode, but opening calc just drops to
> > >> command prompt.
> > >> Tried running with strace, and don't see anything that
> > >> looks like error.
> > >> Have the Fedora 34 regular latest version running fine,
> > >> and have the had 7.2.x versions up to 7.2.5 and both work
> > >> fine.
> > >> Thought perhaps having 7.2.5 and 7.3 caused issue, so
> > >> uninstalled both, and then reinstalled 7.3, but same
> > >> results.> >> Have uninstalled 7.3, and put the 7.2.5 back, and it is
> > >> working.> >> Only tested with Calc, so not sure if 7.3 had other items
> > >> working?> >> Don't know what it actual submitted with the error it
> > >> found, or if includes any way to contact me of issue?
> > >> Thanks.> >>
> > >
> > > Seems like this bugreport:
> > > https://bugs.documentfoundation.org/show_bug.cgi?id=146990
> > >
> > > Best regards.> > JBF
> >
> > Now https://bugs.documentfoundation.org/show_bug.cgi?id=147135
> >
> > This bug has been reported in the forums of a number Linux distros. The
> > issue is very random and appears to only arise in some hardware
> > environments.
> >
> > For example, I run PCLinuxOS with either Intel or AMD based hardware on
> > a number of machines and I cannot reproduce the crash. For others with
> > near equivalent hardware and software environments to mine, the crash is
> > 100% reproducible.>
> > This is going to be a difficult one for the devs to track down.
> >
> 
> 
> Did notice something in message log file.
> If run libreoffice7.3 but don't try calc there is nothing,
> but if try calc and it crashes the log has these lines??
> 
> 
> Feb  8 11:04:04 setzconote audit[513755]: ANOM_ABEND auid=1000 uid=0 gid=0 
> ses=2 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=513755 
> comm="soffice.bin" exe="/opt/libreoffice7.3/program/soffice.bin"
> sig=4 res=1
> Feb  8 11:04:05 setzconote abrt-server[513792]: Package 'libreoffice7.3' 
> isn't signed with proper key
> 
> Unfortuantely, the lines on abrt at time don't seem to show anything to me.
> Feb  8 11:04:05 setzconote abrt-dump-journal-oops[2039]: 
> abrt-dump-journal-oops: Found oopses: 1
> Feb  8 11:04:05 setzconote abrt-dump-journal-oops[2039]: 
> abrt-dump-journal-oops: Creating problem directories
> Feb  8 11:04:05 setzconote abrt-server[513792]: Package 'libreoffice7.3' 
> isn't signed with proper keyFeb  8 11:04:05 setzconote abrt-server[513792]: 
> 'post-create' on '/var/spool/abrt/ccpp-2022-02-08-11:04:05.227869-513755' 
> exited with 1
> Feb  8 11:04:05 setzconote abrt-server[513792]: Deleting problem directory 
> '/var/spool/abrt/ccpp-2022-02-08-11:04:05.227869-513755'
> Feb  8 11:04:06 setzconote abrt-server[513791]: Can't find a meaningful 
> backtrace for hashing in '.'
> Feb  8 11:04:06 setzconote abrt-server[513791]: Preserving oops '.' because 
> DropNotReportableOopses is 'no'
> Feb  8 11:04:06 setzconote abrt-notification[513811]: System encountered a 
> non-fatal error in ??()
> Feb  8 11:04:06 setzconote abrt-dump-journal-oops[2039]: Reported 1 kernel 
> oopses to Abrt
> 
> 
> > Regards
> > Dave
> >
> 
>  What I am about to say has no bearing on anything related to reality, but, 
> this is what I had to do to make VMWare work on Fedora after I built my own  
> binaries. The likliehood that this will work for you is very small indeed. 
> 
> I think you will need to create a password f

Re: [libreoffice-users] LibreOffice 7.3 not working on Fedora 34??

2022-02-07 Thread Michael D. Setzer II
=On 7 Feb 2022 at 17:17, Dave Barton wrote:
Subject:      Re: [libreoffice-users] LibreOffice 7.3 not 
working on Fedora 34??
To:  users@global.libreoffice.org
From:0;    Dave Barton 
Date sent:  Mon, 7 Feb 2022 17:17:07 +


> On 06/02/2022 22:28, Jean-Baptiste Faure wrote:
> > Hi,
> >
> > Le 03/02/2022 à 10:56, Michael D. Setzer II a écrit :
> >> Yesterday, Downloaded and installed and it reports a
> >> crash, but just gives option to submit it, but no details.
> >> Come up in safe mode, but opening calc just drops to
> >> command prompt.
> >> Tried running with strace, and don't see anything that
> >> looks like error.
> >> Have the Fedora 34 regular latest version running fine,
> >> and have the had 7.2.x versions up to 7.2.5 and both work
> >> fine.
> >> Thought perhaps having 7.2.5 and 7.3 caused issue, so
> >> uninstalled both, and then reinstalled 7.3, but same
> >> results.> >> Have uninstalled 7.3, and put the 7.2.5 back, and it is
> >> working.> >> Only tested with Calc, so not sure if 7.3 had other items
> >> working?> >> Don't know what it actual submitted with the error it
> >> found, or if includes any way to contact me of issue?
> >> Thanks.> >>
> >
> > Seems like this bugreport:
> > https://bugs.documentfoundation.org/show_bug.cgi?id=146990
> >
> > Best regards.> > JBF
>
> Now https://bugs.documentfoundation.org/show_bug.cgi?id=147135
>
> This bug has been reported in the forums of a number Linux distros. The
> issue is very random and appears to only arise in some hardware
> environments.
>
> For example, I run PCLinuxOS with either Intel or AMD based hardware on
> a number of machines and I cannot reproduce the crash. For others with
> near equivalent hardware and software environments to mine, the crash is
> 100% reproducible.>
> This is going to be a difficult one for the devs to track down.
>


Did notice something in message log file.
If run libreoffice7.3 but don't try calc there is nothing,
but if try calc and it crashes the log has these lines??


Feb  8 11:04:04 setzconote audit[513755]: ANOM_ABEND auid=1000 uid=0 gid=0 
ses=2 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=513755 
comm="soffice.bin" exe="/opt/libreoffice7.3/program/soffice.bin" 
sig=4 res=1
Feb  8 11:04:05 setzconote abrt-server[513792]: Package 'libreoffice7.3' isn't 
signed with proper key

Unfortuantely, the lines on abrt at time don't seem to show anything to me.
Feb  8 11:04:05 setzconote abrt-dump-journal-oops[2039]: 
abrt-dump-journal-oops: Found oopses: 1
Feb  8 11:04:05 setzconote abrt-dump-journal-oops[2039]: 
abrt-dump-journal-oops: Creating problem directories
Feb  8 11:04:05 setzconote abrt-server[513792]: Package 'libreoffice7.3' isn't 
signed with proper keyFeb  8 11:04:05 setzconote abrt-server[513792]: 
'post-create' on '/var/spool/abrt/ccpp-2022-02-08-11:04:05.227869-513755' 
exited with 1
Feb  8 11:04:05 setzconote abrt-server[513792]: Deleting problem directory 
'/var/spool/abrt/ccpp-2022-02-08-11:04:05.227869-513755'
Feb  8 11:04:06 setzconote abrt-server[513791]: Can't find a meaningful 
backtrace for hashing in '.'
Feb  8 11:04:06 setzconote abrt-server[513791]: Preserving oops '.' because 
DropNotReportableOopses is 'no'
Feb  8 11:04:06 setzconote abrt-notification[513811]: System encountered a 
non-fatal error in ??()
Feb  8 11:04:06 setzconote abrt-dump-journal-oops[2039]: Reported 1 kernel 
oopses to Abrt


> Regards
> Dave
>
> --
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] LibreOffice 7.3 not working on Fedora 34??

2022-02-07 Thread Michael D. Setzer II
On 7 Feb 2022 at 15:04, Robert Großkopf wrote:

Date sent:  Mon, 7 Feb 2022 15:04:37 +0100
Subject:Re: [libreoffice-users] LibreOffice 7.3 not 
working on Fedora 34??
To: users@global.libreoffice.org
From:   Robert Großkopf 


> Hi Michael,
> > 
> > One of the messages talks about a version 7.3.0.3 that
> > works, but I can't seem to find it on any of the links.
> > Perhaps it fixed this issue, but caused others??
> 
> Have a look here: https://dev-builds.libreoffice.org/pre-releases/
> 
> or here: https://www.libreoffice.org/download/download/
> 
> 7.3.0.3 is the current release of LO.
>
The link just 7.3.0, but downloaded again, and file was 
exactly the same as the earlier download. So, guess 
7.3.0.3 might work with Fedora 35, but doesn't work on 
any of my Fedora 34 machines.
 
> Regards
> 
> Robert
> -- 
> Homepage: https://www.familiegrosskopf.de/robert
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] LibreOffice 7.3 not working on Fedora 34??

2022-02-07 Thread Michael D. Setzer II
On 6 Feb 2022 at 23:28, Jean-Baptiste Faure wrote:

Date sent:  Sun, 6 Feb 2022 23:28:29 +0100
From:   Jean-Baptiste Faure 

Subject:Re: [libreoffice-users] LibreOffice 7.3 not 
working on Fedora 34??
To: users@global.libreoffice.org
Copies to:  mi...@guam.net
Organization:   The Document Foundation

> Hi,
> 
> Le 03/02/2022 à 10:56, Michael D. Setzer II a écrit :
> > Yesterday, Downloaded and installed and it reports a
> > crash, but just gives option to submit it, but no details.
> > Come up in safe mode, but opening calc just drops to
> > command prompt.
> > Tried running with strace, and don't see anything that
> > looks like error.
> > Have the Fedora 34 regular latest version running fine,
> > and have the had 7.2.x versions up to 7.2.5 and both work
> > fine.
> > Thought perhaps having 7.2.5 and 7.3 caused issue, so
> > uninstalled both, and then reinstalled 7.3, but same
> > results.
> > Have uninstalled 7.3, and put the 7.2.5 back, and it is
> > working.
> > Only tested with Calc, so not sure if 7.3 had other items
> > working?
> > Don't know what it actual submitted with the error it
> > found, or if includes any way to contact me of issue?
> > Thanks.
> > 
> 
> Seems like this bugreport: 
> https://bugs.documentfoundation.org/show_bug.cgi?id=146990
> 

Thanks for info. Checked that bug report, and it links as 
dup to another report. Does show more info than what I 
am seeing, but no solution yet.

Downloaded the latest daily dev build I seem to find that 
shows the date of the 2/5 and 7.3.0.0 and it does the 
same. 

One of the messages talks about a version 7.3.0.3 that 
works, but I can't seem to find it on any of the links. 
Perhaps it fixed this issue, but caused others?? 

Did try, and document and impress options do open, but 
calc option just fails. It again sends report sometimes.

Will watch for an update, but again. Thanks.


> Best regards.
> JBF
> 
> -- 
> Seuls des formats ouverts peuvent assurer la pérennité de vos documents.
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



[libreoffice-users] Formatting Question..

2021-12-31 Thread Michael D. Setzer II
Have some raw data I get that has mostly numeric data.
The minor issue I have is that some fields in these 
numeric columns have a - (dash) rather than a 0 or other 
number. After importing data into LibreOffice Calc these 
cells are left aligned text fields, where numeric fileds are 
right aligned. Wanted to have them centered.
Recall the old lotus and quattro pro use the ' " ^ at the 
beginning of text fields to set them up as left right 
centered. But don't think that works in either Excel or 
LibreOffice?

To get what I wanted, ended up highlighting how range 
and setting up a conditions format option for cell = "-" 
and creating a new style I called Centered with just the 
alignment option of center. That works, but seems 
overkill for few fields. About 250 rows and 19 columns of 
data.

Perhaps I've missed an option or it was just something 
the newer spreadsheets just don't support?

Thanks.


-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] SUM, SUMIF, IF, INDEX, MATCH, VLOOKUP?

2021-12-15 Thread Michael D. Setzer II
Reply without the other stuff since this is somewhat long.
Wanted to try to create a macrothat would do everthing 
with just the original data in columns A-D.


With old Quattro pro would have been amuch simpiler 
process.. Would be nice if we could upload sheets.


Well, just wanted to see if I could do something.


The LibreOffice Macro recorder is terrible. So had to do a 
lot. Seems to work, but not pretty. Found that something 
that use to work no longer does. Have an old macro that 
actual used a regular sort with options, but now recorder 
just makes a single rem line that does nothing. Does work 
with a just sort ascending record, so had to switch data 
and total columns.
With column A having the Date and Time value
and Columns B-D having the values.
Macro will do the Integer Date Only in Column E.
Puts the Date in Column F with the last line for a date
Puts the Total in Column G for that data.
Copies the data from F and G to H and I without blank 
lines and sorts it. If data was already sorted that line 
might not be needed?? It also sets the formatting.


I'm not following the latest message that refers to a 
Sheet2? Will have to look at it more.


Saved macro as
sub subtotal
rem --
rem define variables
dim documentas object
dim dispatcher as object
rem --
rem get access to the document
document= ThisComponent.CurrentController.Frame
dispatcher = createUnoService(com.sun.star.frame.DispatchHelper)


rem --
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name =ToPoint
args1(0).Value =$E$1:$H$50


dispatcher.executeDispatch(document,.uno:GoToCell,, 0, args1())


rem --
dispatcher.executeDispatch(document,.uno:Cut,, 0, Array())


rem --
dim args2(0) as new com.sun.star.beans.PropertyValue
args2(0).Name =ToPoint
args2(0).Value =$E$1


dispatcher.executeDispatch(document,.uno:GoToCell,, 0, args2())


rem --
dim args3(0) as new com.sun.star.beans.PropertyValue
args3(0).Name =StringName
args3(0).Value =Date Only
dispatcher.executeDispatch(document,.uno:EnterString,, 0, args3())


dim args4(0) as new com.sun.star.beans.PropertyValue
args4(0).Name =ToPoint
args4(0).Value =$E$2


dispatcher.executeDispatch(document,.uno:GoToCell,, 0, args4())


rem --
dim args5(0) as new com.sun.star.beans.PropertyValue
args5(0).Name =StringName
args5(0).Value ==if(a20,int(a2),+chr$(34)+chr$(34)+)
dispatcher.executeDispatch(document,.uno:EnterString,, 0, args5())


dim args6(0) as new com.sun.star.beans.PropertyValue
args6(0).Name =ToPoint
args6(0).Value =$F$2


dispatcher.executeDispatch(document,.uno:GoToCell,, 0, args6())


dim args7(0) as new com.sun.star.beans.PropertyValue
args7(0).Name =StringName
args7(0).Value ==IF(E2E3,E2,+CHR$(34)+CHR$(34)+)


dispatcher.executeDispatch(document,.uno:EnterString,, 0, args7())




dim args8(0) as new com.sun.star.beans.PropertyValue
args8(0).Name =ToPoint
args8(0).Value =$G$2


dispatcher.executeDispatch(document,.uno:GoToCell,, 0, args8())


rem --
dim args9(0) as new com.sun.star.beans.PropertyValue
args9(0).Name =StringName
args9(0).Value 
==IF(E2E3,SUMIFS($C$2:$C$50,$E$2:$e$50,+CHR$(34)+=+CHR$(34)+INT($A$2:$A$50)),+CHR$(34)+CHR$(34)+)


dispatcher.executeDispatch(document,.uno:EnterString,, 0, args9())




dim args10(0) as new com.sun.star.beans.PropertyValue
args10(0).Name =ToPoint
args10(0).Value =$E$2:$G$2


dispatcher.executeDispatch(document,.uno:GoToCell,, 0, args10())


rem --
dispatcher.executeDispatch(document,.uno:Copy,, 0, Array())


dim args11(0) as new com.sun.star.beans.PropertyValue
args11(0).Name =ToPoint
args11(0).Value =$E$3:$G$50


dispatcher.executeDispatch(document,.uno:GoToCell,, 0, args11())


rem --
dispatcher.executeDispatch(document,.uno:Paste,, 0, Array())


dim args12(0) as new com.sun.star.beans.PropertyValue
args12(0).Name =ToPoint
args12(0).Value =$E$2:$F$50
dispatcher.executeDispatch(document,.uno:GoToCell,, 0, args12())


rem --
dim args13(0) as new com.sun.star.beans.PropertyValue
args13(0).Name =NumberFormatValue
args13(0).Value = 84


dispatcher.executeDispatch(document,.uno:NumberFormatValue,, 0, 
args13())


rem --
rem Raw Data downloaded and pasted from 
https://www.worldometers.info/coronavirus/country/us/
dim args14(0) 

Re: [libreoffice-users] SUM, SUMIF, IF, INDEX, MATCH, VLOOKUP?

2021-12-15 Thread Michael D. Setzer II
=The subtotal seems to cause issues, so another option.
Again in Column E:
E1: Date Only
E2:Ex: =int(a2) copy down
F2 - Formula $5 needs to be changed to last row
=IF(E2E3,SUMIFS($C$2:$C$5,$E$2:$E$5,=uot;INT($A$2:$A$5)),)
Copy down Column F
G2 - Same as F
=IF(E2E3,E2,)
Copy down Column G


Data is there, but blank cells.
Can use Ctrl-Shift-V to copy to other location and then do 
a data sort ascending to get ridof blank lines.


On 15 Dec 2021 at 21:11, Hylton Conacher (ZR1HPC) 
wrote:


Date sent:Wed, 15 Dec 2021 21:11:55 +0200
To:=LibreOffice usersus...@global.libreoffice.org
From:0;Hylton Conacher (ZR1HPC)hyl...@conacher.co.za
Subject:=[libreoffice-users] SUM, SUMIF, IF, INDEX, 
MATCH, VLOOKUP?


Hi,


I am quickly losing patience with a task that requires a sum of values
that occur on the same date, but at different times.


My raw data sheet is in 4 columns
Date/Time | Value 1| Value Y| Value z
2021-10-08 08:00:00| 5| 7| 0.15
2021-10-08 14:05:16| 3| 10| 5
2021-10-09 10:05:30| 15| 3| 25
2021-10-09 18:00:00| 15| 9| 6
...
..
.


I have a secondary sheet with just the date i.e. 2010-10-08, acquired
with formula `=LEFT($Data.A4,10)'. Column B of this sheet needs to be
the SUM of all the numbers in the 3rd column, BUT only for the date in
column A i.e.


2010-10-08| 17
2010-10-09| 12
...
..
.


I have tried many Google searches and seen many videos on how this is
supposed to work yet for some reason, being race, colour, creed, or
stupidity, I cannot get the result I seek. It would seem that the
summation of data with the same date, but different time component in
the main data sheet is causing an issue.


I'd really appreciate some pointers here, even if not possible. If not
possible what could be done. I just don't understand the
INDEX(MATCH())/vlookupargument.


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] SUM, SUMIF, IF, INDEX, MATCH, VLOOKUP?

2021-12-15 Thread Michael D. Setzer II
On 15 Dec 2021 at 21:11, Hylton Conacher (ZR1HPC) 
wrote:

Date sent:  Wed, 15 Dec 2021 21:11:55 +0200
To: LibreOffice Users 

From:   "Hylton Conacher (ZR1HPC)" 

Subject:[libreoffice-users] SUM, SUMIF, IF, INDEX, 
MATCH, VLOOKUP?

> Hi,
> 
> I am quickly losing patience with a task that requires a sum of values 
> that occur on the same date, but at different times.
> 
> My raw data sheet is in 4 columns
> Date/Time | Value 1| Value Y| Value z
> 2021-10-08 08:00:00| 5| 7| 0.15
> 2021-10-08 14:05:16| 3| 10| 5
> 2021-10-09 10:05:30| 15| 3| 25
> 2021-10-09 18:00:00| 15| 9| 6

Don't know if this is what you are wanting, but I did this.
Copied the above data into a sheet using shift-ctrl-V use | 
as delimiter. That date and time is pasted as a date/time 
value versus a text string.

Added a 5th column labled as Date Only and put formula 
under it. =int(a2) and copied for the 4 data elements.

Then highlighted the 5 rows of Data.
Data/Subtotals
Group By "Date Only"
Under Calc Subtotals for: Checked value Y and Date Only
For value Y use SUM function
For Date Only used AVG function
Then OK.
That has it insert rows for each group with the totals for 
each day. It also shows a final total of everything that 
could be ignored.

Posible extra step if you just want the subtotal data.
In cells F2 and G2 put the formulas
=if(a2=0,e2,"")  That gets date only for subtotal lines
=if(a2=0,c2,"")  That gets value y for subtotal lines.
Copy F2:g2 down to F7: (don't need row 8 for final total).
Then highlight F2:G7 use Ctrl-C
Go to H2 - Do ctrl-shift-V and paste text number date/time
The Click Data - Sort ascending. 
That gives just the subtotal lines with date and total of 
day?

Might be a better way to do it, seems to work. Perhaps a 
macro to automate the whole thing.

> 
> I have a secondary sheet with just the date i.e. 2010-10-08, acquired 
> with formula `=LEFT($Data.A4,10)'. Column B of this sheet needs to be 
> the SUM of all the numbers in the 3rd column, BUT only for the date in 
> column A i.e.
> 
> 2010-10-08| 17
> 2010-10-09| 12
> ...
> ..
> .
> 
> I have tried many Google searches and seen many videos on how this is 
> supposed to work yet for some reason, being race, colour, creed, or 
> stupidity, I cannot get the result I seek. It would seem that the 
> summation of data with the same date, but different time component in 
> the main data sheet is causing an issue.
> 
> I'd really appreciate some pointers here, even if not possible. If not 
> possible what could be done. I just don't understand the 
> INDEX(MATCH())/vlookup  argument.
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] LoCalc- convert a 4 digit number to time

2021-06-11 Thread Michael D. Setzer II
=TIME(INT(A1/100),MOD(A1,100),0)


On 11 Jun 2021 at 19:00, Dutton wrote:


To:users@global.libreoffice.org
From:duttonl...@ipadring.net
Subject:[libreoffice-users] LoCalc- convert a 4 
digit number to time
Date sent:Fri, 11 Jun 2021 19:00:39 -0400




Here's what I'd like to
do;




In cell A1 there's the
number 1230




In cell A2 I want the
number to appear as 12:30 (a time figure)




Does anyone know that
can be done in Calc?




Thank you,




Peter Dutton




--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] conditional formatting based on day of week

2021-05-28 Thread Michael D. Setzer II
Try this:
Highlight full range of Area
In my test A1:F419
For Condition 1
Set to Formula is:
Formula to weekday($a1)=1
Weekday returns 1 for Sunday on my setup (1 to 7) 
Just select ERROR as Style (for testing)

With the $a1 it will hightlight whole row of data instead 
of just that column.



On 28 May 2021 at 18:01, Gary Dale wrote:

To: LibreOffice Users 

From:   Gary Dale 
Subject:[libreoffice-users] conditional formatting 
based on day of week
Date sent:  Fri, 28 May 2021 18:01:38 -0400

> It's been years since I tried to do anything with conditional formatting 
> and now I can't seem to get it right.
> 
> I have a spreadsheet sorted in date order where I want to highlight the 
> start of each week (i.e. Sunday) to divide up the data visually. My idea 
> was to test if the date cell in the current row was a Sunday, so I 
> constructed the formula as:
> 
> (WEEKDAY(ADDRESS(ROW(), "B"), 2) = 0)
> 
> where column B contains the dates. I apply that condition to a selection 
> that excludes the column titles and set the formatting to a background 
> highlight. Unfortunately it doesn't do anything and I can't figure out why.
> 
> Any ideas?
> 
> Thanks in advance.
> 
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Libreoffice impress presentation - metropolis - exported as PDF, doesn't display correctly on some devi

2021-05-16 Thread Michael D. Setzer II
On 16 May 2021 at 18:27, Daffy Duck wrote:

Subject:[libreoffice-users] Libreoffice impress 
presentation - metropolis - exported as PDF, doesn't 
display correctly on some devices
From:   Daffy Duck 
To: users@global.libreoffice.org
Date sent:  Sun, 16 May 2021 18:27:18 -0500

> I made a presentation with impress, used Metropolis theme.
> 
> I then exported it as PDF.
> 
> The problem is, some, when opening on such things as iphones, get the
> text cut off, like the top part of the text is not showing, etc.
> 
> Others, until they turn the phone sideways, it doesn't display the text
> correctly.
> 
> How do I make sure the text looks correct for all, or at least most,
> users on different devices?

Note an expert, but something you might try.
Open file, and go to File/Properties/Fonts
There are two check boxes for embedding fonts.
Don't know if either or both would make a difference.
Might be some font that you used isn't included on these 
devices and they are using a different font that throws 
everything off?
Not sure why this isn't listed under the PDF options as a 
choice? 
Had a spreadsheet I exported that had this issue with 
some fonts, and believe this fixed it? But it was long ago..
Worth a try. Worst thing, it makes no difference. File will 
be bigger since fonts will be included. 


> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


+----------------+
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Calc: Formatting cell with decimal point but no decimal digits

2021-05-11 Thread Michael D. Setzer II
On 11 May 2021 at 13:24, Philip Jackson wrote:

Subject:Re: [libreoffice-users] Calc: Formatting cell 
with decimal point but
no decimal digits
To: users@global.libreoffice.org
From:   Philip Jackson 
Date sent:  Tue, 11 May 2021 13:24:26 +0200

> On 11/05/2021 03:22, Joel Roth wrote:
> >> Using LibreOffice 7.0.5.2 on macOS High Sierra (10.13.6), setting the
> >> number format to "#,##0\." (without the quotes, of course) works for me.
> >> ("#,##0.." also works, but that's too bizarre.;-)
> >
> > On my version (6.1.5) both of these formats display the cell
> > contents with a trailing decimal point, but with this
> > formatting, inputting 123.45 results in cell content 12345.
> 
> This thread caught my eye and I can't imagine the use case for displaying the 
> digital point as the OP wishes - but I gave his model a try as I did also 
> with the two expressions proposed by Chuck. I am using Calc 6.4.7.2 in Ubuntu 
> 20.04.2  The results were surprising.
> 
> I entered 123.59 in some cells in 3 columns formatted as: -
> 
> 1) Numbers #,##0"."
> 
> 2) Numbers #,##0\.
> 
> 3) Numbers  #,##0..
> 
> All three columns then displayed my entries as "124."   ie, rounded up and 
> with a final "."
> 
> But, when I entered 123.59 into other empty cells in those 3 pre-formatted 
> columns, my new entries were displayed as "12,359." in each case.
> 
> So applying the format to an already entered number gives a final "." - I 
> don't know whether the rounding up is acceptable or not. But I imagine the OP 
> wants to enter his number into cells that already have his format applied.
> 
> Curiously, when I selected my 3 columns and attempted to return to 
> 'normality' by formatting the cells to Numbers > General, nothing happened. I 
> had to change to some other format than Number (eg date) and then back to 
> numbers-general to get a result.
> 
> When Numbers-General was eventually restored, the "124."  entries were 
> returned to their original states of "123.59" but those entries applied to 
> the pre-formatted columns and which then displayed as "12,359." became 
> "12359" under the restored numbers-general regime.
> 
> Philip
> 

When I saw the original message my though was that the 
person made a typo and had actually used #,##0"," 
instead of #,##0"."

But waited for someone to come up with another 
reason?? Would just be one key off.


> 
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy
> 


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Counting cells

2021-03-25 Thread Michael D. Setzer II
Just did a quick test. Put 1 to 5 in A1 to A5, A to D in A6 
to A9, left A10 and A11 blank.
=count(a1:a11) gives 5
=counta(a1:a11) gives 9

Countif could do other variations.  

On 24 Mar 2021 at 21:46, Joe Conner wrote:

To: users@global.libreoffice.org
From:   Joe Conner 
Subject:[libreoffice-users] Counting cells
Date sent:  Wed, 24 Mar 2021 21:46:34 -0600

> I am confused about how to count a number of cells that have a number. 
> In Calc, if cells a1:a11 each may or may not have a number in it, what 
> formula may I use to count how many cells have a number? I do not want 
> the sum of the numbers, just how many cells contain a number.
> 
> Thank you.
> 
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


+----------------+
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



[libreoffice-users] Question on Command Line options for Writer??

2021-02-03 Thread Michael D. Setzer II
I've done things with Calc, and it has options to set how 
the importing of csv files goes..


Was chatting with a person that was trying to convert odt 
to pdf files via command line. That was actually simple.


libreoffice --headless --convert-to pdf filename.odt


Issue was that it uses the last options that was used from 
program.


63229 Aug92019 lisarequest.odt(Original ODT File)
55911 Aug92019 lisarequest2.pdf (Exported from GUI)
124092 Feb3 01:46 lisarequest3.pdf (Exported from
Command Line but last time had set the option to create hybrid)
66932 Feb3 03:26 lisarequest.pdf(Changed option in GUI to 
remove the check on hybrid, exited program, redid command line 
option)


Have looked for a way to do this on command line, but everything 
I've found seems to say you have to do it in the GUI settings??


With calc, I have a script that uses
libreoffice --infilter=CSV:59,34,76,1true$f.csv
That opens the csv file with the exact options I need.


Perhaps writer can do the same, but I've not found how??


Thanks.




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] calc: index column A with column B

2021-01-29 Thread Michael D. Setzer II
Then use >0.001 or whatever value works instead of >0


On 29 Jan 2021 at 14:06, James wrote:

Subject:Re: [libreoffice-users] calc: index column A with 
column B
To: Rob Jasper 
Copies to:  users@global.libreoffice.org
From:   James 
Date sent:  Fri, 29 Jan 2021 14:06:08 -0500

> Another problem.
> 
> Some of the numbers display as 0 but are calculated so have fractions like
> 
> 0.000812344372353
> I want to find the last row that displays as non-zero.
>   
> 
> On 2021-01-29 6:30 a.m., Rob Jasper wrote
> 
> > James,
> >
> > Since a MINIF function does not exist you can use MINIFS.
> >
> > Change MIN(B:B) to MINIFS(B:B;B:B;">0")
> >
> > Success,
> > Rob
> >
> >
> >> Op 29 jan. 2021, om 03:59 heeft James  het volgende 
> >> geschreven:
> >>
> >>> I want to find the row in column A that corresponds to the row of a
> >>>
> >>> value in column B.
> >>>
> >>> eg.
> >>>
> >>> rowAB
> >>> 1  10   22
> >>> 2  20   15
> >>> 3  30   3000
> >>> 4  40   10
> >>>
> >>> =some_function('A',minimum_function(B));
> >>>
> >>> where minimum_function(B) returns 4 and some_function('A',4) returns 
> >>> the
> >>>
> >>> value in column A at row 4.
> >> I asked the previous and someone gave me the formula:
> >>
> >> =INDIRECT("$A"(MIN(B:B);B:B;0))
> >>
> >>
> >> It worked fine but now I have some rows with zeros (more than one row):
> >> rowA   B
> >> 1   10  22
> >> 2   20  15
> >> 3   30  3000
> >> 4   40  10
> >> 5  50  0
> >> 6  60  0
> >>
> >> Is there a MINBUTGREATERTHANZERO function?
> 
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] What does LibreOffice recognize as a column delimiter?

2021-01-28 Thread Michael D. Setzer II
I put the data in a file called tabel1.csv
Then imported the data into Calc (Vertical Bar is 124)
The following command loaded the file into a calc spreadsheet.
libreoffice --infilter=CSV:124,34,76,1 tabel1.csv
Then copied it into writer.
Tried to do it with --writer, but it results in just text rather than a table.
Might be a way to do it directly, but don't know myself. Do more with 
calc.

I'd just have the c program make standard csv format file with , or ; but 
Vertical bar does work with the 124 code. Then just copy it from calc 
into writer.



On 28 Jan 2021 at 7:02, Jeffrey Walton wrote:

Send reply to:  noloa...@gmail.com
From:   Jeffrey Walton 
Date sent:  Thu, 28 Jan 2021 07:02:42 -0500
Subject:[libreoffice-users] What does LibreOffice recognize as 
a column delimiter?
To: users@global.libreoffice.org

> Hi Everyone,
> 
> I have a Writer document with a Table inside. The table is large at
> about 3 columns x 500 rows. When I attempt to highlight the table
> cells and paste the data from a single 1 x 1500 source LibreOffice
> mishandles populating the table.
> 
> I'm generating the data from a C++ program so I can format the data in
> a way that makes Writer happy. For example, I can use a vertical bar:
> 
>a  |  b   |   c
>d  |  e   |   f
>...
> 
> Or I can use something else.
> 
> I already tried to use vertical bars and HTML tags like ...,
> but the paste did not work.
> 
> What does LibreOffice recognize as a column delimiter? So I can
> perform the 3x500 paste into the table?
> 
> Thanks in advance.
> 
> Jeff
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] lowriter does not handle emoji's properly

2021-01-24 Thread Michael D. Setzer II
Don't know if this will help, but went to the link, and got same results 
with converting to pdf resulting in no emoji..
With the text example thou, I was able to get something that worked..
Saved the file as an html file.
Then opened the file in firefox.
Then printed to file on my Fedora 32 machine to a PDF.
That PDF file does seem to have the kiss_mark emojis.
Don't know if it will work  with the ones you want, but might want to try 
that...


On 24 Jan 2021 at 21:16, Jeffrey Walton wrote:

Send reply to:  noloa...@gmail.com
From:   Jeffrey Walton 
Date sent:  Sun, 24 Jan 2021 21:16:16 -0500
Subject:[libreoffice-users] lowriter does not handle emoji's 
properly
To: users@global.libreoffice.org

> Hi Everyone,
> 
> I need help to workaround
> https://bugs.documentfoundation.org/show_bug.cgi?id=139892.
> 
> I have an ODT document with an emoji in it. An emoji is just a Unicode
> codepoint (https://unicode.org/emoji/charts/full-emoji-list.html)
> After conversion to PDF using lowriter the emoji is not present.
> Conversion happens with:
> 
> lowriter --convert-to pdf emoji.odt
> 
> I'm working on Ubuntu 20.04 (Focal), x86_64, fully patched. Ubuntu
> 20.04 provides LibreOffice 6.4.6.2 40 (Build:2).
> 
> How do I ensure the emoji survives the conversion?
> 
> Thanks in advance,
> 
> Jeff
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] macros - where stored for Calc

2021-01-10 Thread Michael D. Setzer II
On 10 Jan 2021 at 12:32, Girvin Herr wrote:

Send reply to:  ghe...@fastmail.com
Subject:Re: [libreoffice-users] macros - where stored for Calc
To: users@global.libreoffice.org
From:   Girvin Herr 
Date sent:  Sun, 10 Jan 2021 12:32:04 -0800

> On 1/10/21 3:18 AM, Johnny Rosenberg wrote:
> > Den sön 10 jan. 2021 kl 12:07 skrev Philip Jackson :
> >
> >> On 10/01/2021 08:49, Johnny Rosenberg wrote:
> >>> Den sön 10 jan. 2021 kl 08:35 skrev Tom Cloyd MS MA <
> >>>> tomcloydm...@gmail.com>:
> >>>>> I recently moved my LO user profile to a new computer, but my Calc
> >>>>> macros were not to be found. I had to recreate them. I am about to
> >>>>> repeat this move with another computer. I REALLY want to move my macros
> >>>>> also, but somehow my backups is not catching them.
> >>>>>
> >>>>> Please - where are they stored?
> >>> Here's what I replied:
> >>>> Mine seem to be located at ~/.config/libreoffice/4/user/basic/
> >>>> In ~/.config/libreoffice/4/user/basic/Standard I find my own global
> >>>> macros. They are stored in XML format with file suffixes like xba, xlb,
> >>>> xlc, xdl ...
> >>>> The xdl files are for dialogues, by the way.
> >>>>
> >>>> I'm running Manjaro. I guess it could be slightly different in other
> >>>> operating systems.
> >> My LO templates spent years being in a subdirectory in the
> >> ~/.config/libreoffice/4/user/  structure but after an update (system or
> >> LO, I can't remember now) they all apparently disappeared. Hunting around,
> >> I found them in my home root directory  ~/Templates/
> >>
> > I upgrade relatively often and mine are still in
> > ~/.config/libreoffice/4/user/template/
> > I don't remember if that was also true when I had Ubuntu (I'm on Manjaro
> > since 2016 or so), though.
> >
> >
> > Kind regards
> >
> > Johnny Rosenberg
> >
> >
> >> I don't recall ever having moved them there (but I cannot exclude it 100%)
> >> but it seems as good a place as any.
> >> Philip
> >>
> >>
> >> --
> >> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> >> Problems?
> >> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> >> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> >> List archive: https://listarchives.libreoffice.org/global/users/
> >> Privacy Policy: https://www.documentfoundation.org/privacy
> >>
> Greetings,
> 
> IIRC, the LO default templates directory is in 
> ~/.config/libreoffice/4/user/template Looking at Tools > LibreOffice > 
> Paths will confirm this and it is the place where it can be changed. The 
> Open Desktop standard is in ~/Templates. I added ~/Templates to my LO 
> Templates path with a semicolon separator, so my LO searches both places.
> 
> HTH
> 
> Girvin

In looking at my setup on Fedora System.
Don't know if this matches other setups.
Directory where macros are stored.

/home/msetzerii/.config/libreoffice/4/user/basic/Standard

Files in Directory
-rw-r--r--. 1 msetzerii msetzerii   288 Jun  7  2018 dialog.xlb
-rw-rw-r--. 1 msetzerii msetzerii 18729 Jan  8 22:25 Module1.xba
-rw-rw-r--. 1 msetzerii msetzerii   348 Jan  8 22:25 script.xlb

Now an added question. 
I've made about 40 backup of my macros by doing the following over 
time.
Tools / Macros / Edit
Click on the panel on Right that list the macros
Currently it shows 398 lines.
Do a Ctrl-A to hightlight all lines, and then a Ctrl-C.
Open a text editor, and paste the lines and save as libremacroxx
The Module1.xba file currently has 400 lines in it. 

I've copied the text file to other machines, and just reversed the process 
of pasting the lines into the window, and they seem to transfer just fine.

I also like keeping multiple copies, so I can compare them to see how 
I've made changes over time. Sometimes make a mistake, and having a 
back to be able to restore all or whatever macros. 

Just use the basic setup, so perhaps some have more files.


> 
> 
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


+--

Re: [libreoffice-users] Date number has 5 digits

2020-12-29 Thread Michael D. Setzer II
Put that number in E1 and formated it to a date field.
Comes up as December 27, 2021

Used this formula
="Monday "(DAY(E1),"##")

Using a + I get an error since you are adding a number to a string?
="Monday " seems to give the number value of the date.




On 29 Dec 2020 at 9:27, Peter Dutton wrote:

To: users@global.libreoffice.org
From:   Peter Dutton 
Subject:[libreoffice-users] Date number has 5 digits
Date sent:  Tue, 29 Dec 2020 09:27:20 -0500

> 
> 
> In cell
>   A4 is the following code;
> 
> 
> ="Monday  
>   "+January.$A5
> 
> 
> January.$A5 
>   has the number 27 in it (December 27)
> 
> 
> What
>   appears in cell A4 as a result is- Monday    44557
> 
> 
> What is
>   needed is- Monday    27
> 
> 
> I've
>   tried reformatting cell A4 to a date or text or a number to no
>   success.
> 
> 
> 
> 
> Any
>   idea how to fix this?
> 
> 
> 
> 
> Thanks,
> 
> 
> Peter
> 
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



[libreoffice-users] Strange results when exporting chart??

2020-12-24 Thread Michael D. Setzer II
Was able to fix it, but know it wasn't how it should be done?
Some how when I went to export a chart it was always defaulting to 
/root/x directory. I could manually change it to my users home directory, 
and save it there, but later attempts to export the updated chart would 
again default to the /root/x directory.

Looked thru all the config options I could think of, and nothing.
ended up going into my .config directory, and found this file that 
contained entries with file:///root 

.config/libreoffice/4/user/registrymodifications.xcu

Think it appeared on 3 lines in the file. Just deleted the lines, and then it 
went to defaulting to the users/Document folder..
Not sure what I did to get it to start defaulting to /root/x or where I 
should have gone to correct it without manually editing the file.

.config/libreoffice/4/user/registrymodifications.xcu

Also, is there a way to change the default from PNG to JPG. For this 
chart the JPG seems to be much sharper than the same exported to PNG.

Thanks. Have a Great Day, and be safe.

++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Calc diagrams/figures

2020-12-16 Thread Michael D. Setzer II
On 16 Dec 2020 at 8:49, Informatique wrote:

Date sent:  Wed, 16 Dec 2020 08:49:01 +0100
From:   Informatique 

To: users@global.libreoffice.org
Subject:Re: [libreoffice-users] Calc diagrams/figures

> hello,
> for these problems, i think that LO is not the best tools for scientific 
> diagram.
> Perhaps using a tool as GnuPlot will be better.
> http://www.gnuplot.info/
> François-Marie BILLARD
> 

Did some messages directly with him that included images of what he 
was doing. Problem was with labels and not the actual diagrams. 

The labels where entered using the subscript or superscript ctrl keys, but 
when the graphs were showing, the sub and super options were gone, 
and the labels showed as regular characters. Found that if the sub/super 
characters were entered as unicode ctrl-shift-u then they would stay 
correctly. Unfortunately, not all characters have unicode for sub/super, 
but many do. Would have thought the unicode would have the 26 letters 
upper and lower case with both sub/super characters. Total of 104 
characters. But some don't seem to exist. 

The images he sent made it clear on what his issue was. 


> On Mon, 14 Dec 2020 16:55:00 +0100
> Thomas Welz  wrote:
> 
> > Hello together,
> > 
> > first of all, I hope you can understand, what I want to say. I'm not 
> > really familiar with all the terms regarding this topic.
> > 
> > I'm not sure if this is the appropriate way for improvement suggestions. 
> > I hope so. Sometimes I have to generate figures, which I need for 
> > studying and there's the issue: I need labels like "EEHD,ECD" or "U0" or 
> > "cm" etc (superscript and subscript characters)... But this is not 
> > possible either for labels or for the legend. Of course, I can do it 
> > with the drawing tool, but it takes a lot of time and does not change 
> > automatically if I change anything.
> > 
> > This "feature" would be really awesome and progressive (I think MS 
> > Office Excel has same problem) for everyone who is studying sciences or 
> > engineering or similar.
> > 
> > Kind regards,
> > Thomas
> > 
> > 
> > -- 
> > To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> > Problems? 
> > https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> > Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> > List archive: https://listarchives.libreoffice.org/global/users/
> > Privacy Policy: https://www.documentfoundation.org/privacy
> 
> 
> -- 
> Informatique 
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



[libreoffice-users] Question on getting a list of all the macro commands

2020-11-30 Thread Michael D. Setzer II
Does a file with them exist in full or part.
Was recently looking thru menus and found something interesting that I 
had not noticed before.
Data / Calculate / Formula to Value

I did a test, and it did what I wanted, so recorded the macro.
Strangely, the command to do the Formula to Value was there, but it had 
rem in front of it, so macro would not work as recorded. Removed the 
rem, and it worked fine?? So, this can duplicate the F9 Enter option for 
some things. 

sub xx12
rem --
rem define variables
dim document   as object
dim dispatcher as object
rem --
rem get access to the document
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")

rem --
rem --
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name = "StringName"
args1(0).Value = "=sum(k2:k57)"
dispatcher.executeDispatch(document, ".uno:EnterString", "", 0, args1())
dispatcher.executeDispatch(document, ".uno:ConvertFormulaToValue", "", 0, 
Array())
end sub

My main macro in this sheet takes a set of data from a web site. that is placed 
in a2:o64.
Only need data in a2:d64 and the total of data in K2;K57. So, macro delete 
columns E to O.
But need to save total of K2:K57. Had been entering formula manually, and using 
F9 to convert it.
Just need to put this code in main macro to automate how process to the macro I 
have linked to 
Shift-F4. Updates covid data from 50 states, D.C., and 5 Territories.. So, run 
it as data changes.
Perhaps there are lots of other such processes outthere. 
Still find it strange that the recorder recorded it, but did it as a remark??

Thanks again..

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



[libreoffice-users] Question on getting a list of all the macro commands

2020-11-29 Thread Michael D. Setzer II
Does a file with them exist in full or part.
Was recently looking thru menus and found something interesting that I 
had not noticed before.
Data / Calculate / Formula to Value


I did a test, and it did what I wanted, so recorded the macro.
Strangely, the command to do the Formula to Value was there, but it had 
rem in front of it, so macro would not work as recorded. Removed the 
rem, and it worked fine?? So, this can duplicate the F9 Enter option for 
some things.


sub xx12
rem --
rem define variables
dim documentas object
dim dispatcher as object
rem --
rem get access to the document
document= ThisComponent.CurrentController.Frame
dispatcher = createUnoService(com.sun.star.frame.DispatchHelper)


rem --
rem --
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name =StringName
args1(0).Value ==sum(k2:k57)
dispatcher.executeDispatch(document,.uno:EnterString,, 0, args1())
dispatcher.executeDispatch(document,.uno:ConvertFormulaToValue,, 0, Array())
end sub


My main macro in this sheet takes a set of data from a web site. that is placed 
in a2:o64.
Only need data in a2:d64 and the total of data in K2;K57. So, macro delete 
columns E to O.
But need to save total of K2:K57. Had been entering formula manually, and using 
F9 to convert it.
Just need to put this code in main macro to automate how process to the macro I 
have linked to 
Shift-F4. Updates covid data from 50 states, D.C., and 5 Territories.. So, run 
it as data changes.
Perhaps there are lots of other such processes outthere.
Still find it strange that the recorder recorded it, but did it as a remark??


Thanks again..


-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] bug in LARGE function?

2020-11-26 Thread Michael D. Setzer II
  323
 323
   1
 320


Again if the above paste doesn't work correctly.
Data"=Large($A$2:$A26,2)"=RANK(A2,$A$2:$A$26)
"=LARGE($A$2:$A$26,ROW()-1)
320 323 10  323
320 323 10  323
320 323 10  323
320 323 10  323
320 323 10  323
320 323 10  323
320 323 10  323
320 323 10  322
320 323 10  322
320 323 10  320
320 323 10  320
320 323 10  320
320 323 10  320
320 323 10  320
320 323 10  320
320 323 10  320
322 323 8   320
322 323 8   320
323 323 1   320
323 323 1   320
323 323 1   320
323 323 1   320
323 323 1   320
323 323 1   320
323 323 1   320

Interesting that Rank returns only 1, 8, and 10 for values.
Largest seems to sort values, and for rank returns that on of the set of 
values.. 
"=LARGE(A2:A26,COUNTIF(A2:A26,MAX(A2:A26))+1)
CountIF process calculates you need to get the 8th largest value to get 
the 2nd largest range of values..

Assuming that is what you want it to do??
Hope that helps.

> 
> 
> 
> 
> --
> Sent from: 
> http://document-foundation-mail-archive.969070.n3.nabble.com/Users-f1639498.html
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy
> 


++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



[libreoffice-users] OT: GPS Problem Solutions with Original format to Digital:

2020-11-25 Thread Michael D. Setzer II
=The solution to modify the data to time format with special edit option 
was really nice, but not sure how much work would be required to 
modify it. Tried to do it directly in other ways, but couldn't do it, and 
from feedback it seems it is no longer possible since libreoffice doesn't 
support the formula..
Created test file with 1000 GPS addresses with randon values with 
libreoffice to a text file. Original setup has each on separte line.
sed process does the 1000 items in 0.048 seconds.Then converted same data to 
500 lines with 2 sets of GPS addresses per 
line. Then wrote singlec++ program to process 500 lines of data.
Time: 0.005s.


So, guess there are different methods to solve the problem.
If anyone interested, can send the simple c++ program. Only little issue, 
was the the degree code that was in orginal posted data was a two byte 
version. Had to add a line of code to handle either single or double byte 
coding of that. In the sed solution, I had pasted the symbol, so didn't see 
issue, but in the c++ put the hex value. If anyone wants code, just send 
me an email..


Not really of any interest to me, since I don't have anything that deals 
with GPS or Digital address data. But don't like not being able to solve 
interesting problems. Thanks for the time, and hope this thread wasn't to 
much trouble to some..


Be Safe and Have a Great Day...


Sed Process that produces output of 1000 data points to 500 sets.
time ./gpssed.sh


real0m0.048s
user0m0.016s
sys0m0.019s
input first 8 lines (makes 4 pairs)
8377'73N
419'9E
1562'44S
3442'82O
6683'98N
579'22E
6130'46S
2028'78O
First 4 sets from gpsbc.csv GPS 1, Data 1, GPS 2, Data 
28377'73N,84.30361110,419'9=E,41.1525
1562'44S,-16.0455,3442'82O,-34.7227
6683'98N,67.4105,579'22E,6.3227
6130'46S,-61.5127,2028'78O,-20.4882




sed -e 
's/^/=(/;s/\/+/;s/\x27/\/60+/;s/\x22/\/3600/;s/O\|S/\)*(-1)/;s/N\|E/)/'gps.txtgps.csv
sed -e 
's/^/(/;s/\/+/;s/\x27/\/60+/;s/\x22/\/3600/;s/O\|S/\)*(-1)/;s/N\|E/)/'gps.txtgps.raw
paste -d, gps.txt gps.csvgpsboth.csvbc -lgps.rawgps2.txt
paste -d, gps.txt gps2.txt |awk '{line=line,t;$0} NR%2==0{print line;line=}'| 
sed -e 's/^,//g'gpsbc.csv
if [ -n$1] ; then libreoffice --infilter=CSV:44,34,76,1 gps.csv gpsboth.csv 
gpsbc.csv ; fi


// Then decided to try to do it with a simple C++ program.
// Amost 10 times faster with 500 pairs of address to original format of data.
/* gpsc3.sh
./gpsc3
if [ -n$1] ; then libreoffice --infilter=CSV:44,34,76,1 gpsc3.csv; fi


Time less libreoffice line.
time ./gpsc3
real0m0.005s
user0m0.003s
sys0m0.002s


Input file lines with pairs of address (first 4 lines)
8377'73N 419'9E1562'44S 3442'82O6683'98N 579'22E6130'46S 
2028'78OOutput file
8377'73N 419'9E; ,84.30361176,41.15250015
1562'44S 3442'82O, -16.0411, -34.72277832
6683'98N 

[libreoffice-users] Away around problem. Don't do it with libreoffice??

2020-11-24 Thread Michael D. Setzer II
=Wanted to see if it could be done outside libreoffice calc, since it doesn't 
want to work.


Since I don't have the original user info, I created a file with 1000 
randomly created data elements.


Created a bash script using sed to do the same processing.
Shell script gps3.sh


sed -e 
's/^/=(/;s/\/+/;s/\x27/\/60+/;s/\x22/\/3600/;s/O\|S/\)*(-1)/;s/N\|E/)/'gps.txtgps.csv
sed -e 
's/^/(/;s/\/+/;s/\x27/\/60+/;s/\x22/\/3600/;s/O\|S/\)*(-1)/;s/N\|E/)/'gps.txtgps.raw
paste -d, gps.txt gps.csvgpsboth.csvbc -lgps.rawgps2.txt
paste -d, gps.txt gps2.txtgpsbc.csv#libreoffice --infilter=CSV:44,34,76,1 
gps.csv gpsboth.csv gpsbc.csv


To process the 1000 records time ./gps3.sh reports.


real0m0.037s
user0m0.019s
sys0m0.009s


So, less than 4 hundredth of a secondFirst sed line creates a file that just 
has the decimal version for matching line
Second sed line makes a version of the output for use as input to bc, since it 
doesn't like the leading 
= that is needed to import into libreoffice.
paste command just makes a combined version of input data, and result in 
columns A and B
bc -l takes the formula file, and actual calculates the final number, so no 
need for libreoffice to 
calculate it.
paste again combines the two files.
For time test the loading to libreoffice is commented out.


Did find an error in my earlier process thou..
In other macros, date is converted to time value so the multiply by -1 for 
values didn't need ( ).
The above adds that..


Well, a simple solution that works, and libreoffice can read the csv files 
without issue..
Also, a lot faster...


Again. Have a nice day.




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Question on value command and Err:502

2020-11-24 Thread Michael D. Setzer II
=On 24 Nov 2020 at 13:05, Brian Barker wrote:


Date sent:60;Tue, 24 Nov 2020 13:05:46 +
To:;=users@global.libreoffice.org
From:60;Brian Barker;b.m.bar...@btinternet.com
Subject:;Re: [libreoffice-users] Question on value command 
and Err:502


At 14:48 24/11/2020 +1000, Michael D. Setzer II wrote:
Put a more complex question, and got no responses yet.


You have to admit that your description and layout were pretty foggy!
Did anyone understand it?


So, here it is in simplest form
=value(1+1) converts the 1+1 to 2
But =value( ) fails with Err:502 if text1+1is used or if a cell
containing the text 1+1 is used??
I've looked thru command, and this seems to be the one to convert a
text string to a value?


It is. But the text string1+1is not a value expressed as text but
a numerical expression in text form. And VALUE() does not undertake
to evaluate such expressions.


Is there another command, ...;


What you need instead is the EVALUATE() function. (PS: It doesn't exist!)


I think the fact that VALUE(1+1) entered as part of a formula does
what it does is a lucky side effect. Clearly in this case LibreOffice
is doing something similar to the automatic editing that is done when
any material is entered into a spreadsheet cell. I'm talking about
this sort of thing: when you type=+02(no quotes) into a cell
formatted as Number, you see just 2. The1+1in this case is being
entered into a cell (as part of a formula), not arising as the result
of some calculation.


As you mention, and as I found the evaluate command is what other 
spreadsheets have that would seem to handle this, but libreoffice calc 
doesn't??


Have just been playing with that GPS to Decimal problem, and was 
trying to get a simplier process to do it.


Have made a number of macros, that can do it just fine, but they have 
long formulas. Was looking to do it with a set of regex commands.
Commands did what I wanted, but can't get it to calculate the result..


Best I've gotten So Far.
Raw Data in column A
0315'090E
Have a Macro that puts formula in column 
B=REGEX(REGEX(REGEX(REGEX(REGEX(INDIRECT(ADDRESS(ROW(),COLUMN()-1)),,+),',/60+ot;),CHAR(34),/3600),[EN],),[OSW],*(-1))
That creates the Forumula
03+15/60+090/3600
But value in macro fails if put around it, and using value on the cell, or even 
a 
cell, where the data is copied fails. So, it is not being seen as a formula. 
Seems 
Value only works on a string that only contains digits and nothing else?? And 
as 
you said. LibreOffice doesn't have evaluate as others do.So, macro does what I 
want, but no way I've found to automatically get it to 
convert to the value.
I can do the following steps to get the result I want.
After running the macro I can manually do the following:
F2,F9,CR,HOME,=,CR
That puts the cell in edit mode, then F9 calculates it to the text formula and 
enter, the Home to go to the beginning, insert an = to convert it from a text 
cell 
to an actual format, and then enter to get the final result as digit values.


But again, LibreOffice doesn't have the keypress option to add that.
Other methods work fine, just was trying something different.
Just thought there would be some kind of command to do it..


Additionally, it probable is a flux that value(1+1) worked, probable does 
calculation first, and then sees nothing to convert. When it see as string, it 
probable checks for non-digits, and thus fails automatically..


Thought there might be something else. Not an issue that effects me, but 
thought it would be interesting to figure out..


Have a nice day and be safe..




I trust this helps.

Brian Barker




--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



[libreoffice-users] Question on value comand and Err:502

2020-11-23 Thread Michael D. Setzer II
Put a more complex question, and got no responses yet.
So, here it is in simplest form
=value(1+1)  converts the 1+1 to 2
But =value( ) fails with Err:502 is text "1+1" is used or i a cell 
containing the text 1+1 is used??
I've looked thru command, and this seems to be the one to convert a text 
string to a value? Is there another command, or am I doing something 
wrong?

Contents of a simple spreadsheet

2   "=value(1+1)
Err:502 "=VALUE("1+1")
"1+1TRUE=ISTEXT(A3)
Err:502 "=value(a3)


+----------------+
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



[libreoffice-users] Confused by err:502??

2020-11-22 Thread Michael D. Setzer II
Tried to use regex to convert info to formula to convert.
Got result that is correct, but try to use value to get number and it 
fails with err:502
If I manually put the value in a cell it works, 
but it I put same value in cell with quotes it also fails.
What am I missing??

03°15'090"E
"=REGEX(REGEX(REGEX(REGEX(REGEX(A57,"°","+"),"'","/60+"),"""","/3600"),"[EN
]",""),"[OSW]","*(-1)")
03+15/60+090/3600TRUEcheck if text
Err:502"=VALUE(A59)
03+15/60+090/3600"=CELL("CONTENTS",A59)
Err:502"=VALUE(A61)
03+15/60+090/3600copy VALUE OF A61
Err:502"=VALUE(A63)
3.275"=VALUE(3+15/60+90/3600)
Err:502"=VALUE("3+15/60+90/3600")

++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Re: [Calc] Convert GPS coords from DMS to decimals?

2020-11-22 Thread Michael D. Setzer II
=Wanted to see if could make a time formula that worked without have to reenter 
the data in 
column a to a time format. Uses regex to convert to time format. First set uses 
original 
combined value. Second set uses values split in B and C to make D and E simpler.
Just interesting. Know I sometimes have data that is created by other systems, 
and having 
to manually reenter data might be an issue?


Another option without having to reformat the original text in column A
assuming that it is create by something else in that format.
Re-entering all the data to time format might be an issue.


Time format is definitely the simplist option.


With Original type data in A41 and A420315'090E 4312'814N
0005'12O 4259'12N
In Cells D41 to E42 Get the Values
D41: 3.2750;
E41: 43.42611
D42: -0.087
E42:42.98667


Formula D41: Uses REGEX to convert data to time format value, and if ends with 
other 
than E negates it.
=VALUE(REGEX(REGEX(LEFT(A41,FIND(,A41)-1),['],:,g),[NSEWO],,g)*24)*(IF(MID(A41,FIND(,A41)-1,1)=E,1,-1))


Forumula E41:
=VALUE(REGEX(REGEX(MID(A41,FIND(,A41)+1,20),['],:,g),;[NSEWO],,g)*24)*(IF(RIGHT(A41,1)=N,1,-1))


Same formula for D42 and E42


In A45 and A46 put same values as input.In Columns B and C split the values 
upFormula B45
=LEFT(A45,FIND(,A45)-1)Formula B46
=LEFT(A46,FIND(,A46)-1)Formula C45
=MID(A45,FIND(,A45)+1,20)Formula C46
=MID(A46,FIND(,A46)+1,20)
Formula in D45
=VALUE(REGEX(REGEX(B45,['],:uot;,g),[NSEWO],,guot;)*24)*(IF(RIGHT(B45,1)=E,1,-1))
Formula in E45
=VALUE(REGEX(REGEX(C45,['],:uot;,g),[NSEWO],,guot;)*24)*(IF(RIGHT(C45,1)=N,1,-1))




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] [Calc] Convert GPS coords from DMS to decimals?

2020-11-22 Thread Michael D. Setzer II
>>
> >>> You could of course put the both together to a complete text string, but
> >>> then you can't easily use them for further calculations. For instance, in
> >>> A3, type (for a result with 8 decimals):
> >>> =ROUND(A1*24;8) & ", " & ROUND(B1*24;8)
> >>>
> >> =ROUND(B1*24;8) & ", " & ROUND(A1*24;8)
> >>
> >>> or, if you want to use the values in A2 and B2:
> >>> =ROUND(A2;8) & ", " & ROUND(B2;8)
> >>>
> >>
> >> And you can, of course, also add the degree symbol if you like:
> >> =ROUND(A1*24;8) & "°, " & ROUND(B1*24;8) & "°"
> >>
> >>
> >>> Result (in my case):
> >>> 42,9867, 0,0867
> >>>
> >>
> >> 42,9867°, 0,0867° after adding the degree symbols.
> >>
> >>
> >>> So, as you see, no advanced formulas are needed at all.
> >>>
> >> Still correct. 
> >>
> >>>
> >>> I hope there were not too many typos above.
> >>>
> >>>
> >>> Kind regards
> >>>
> >>> Johnny Rosenberg
> >>>
> >>>
> >>> Den sön 22 nov. 2020 kl 06:14 skrev Gilles :
> >>>
> >>>> Hello,
> >>>>
> >>>> I need to convert GPS coordinates from degrees+minutes+seconds (DMS) to
> >>>> decimal, eg. 00°05'12"O 42°59'12"N -> 42.9867,-0.0867
> >>>>
> >>>> https://postimg.cc/QH0q5qmn <https://postimg.cc/QH0q5qmn>
> >>>>
> >>>> Can Calc do this, or should I look elsewhere?
> >>>>
> >>>> Thank you.
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Sent from:
> >>>> http://document-foundation-mail-archive.969070.n3.nabble.com/Users-f1639498.html
> >>>>
> >>>> --
> >>>> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> >>>> Problems?
> >>>> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> >>>> Posting guidelines + more:
> >>>> https://wiki.documentfoundation.org/Netiquette
> >>>> List archive: https://listarchives.libreoffice.org/global/users/
> >>>> Privacy Policy: https://www.documentfoundation.org/privacy
> >>>>
> >>>
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] [Calc] Convert GPS coords from DMS to decimals?

2020-11-21 Thread Michael D. Setzer II
Would need more info on the format, but the following calculation 
seems to work to convert the number part. Not sure of the N and 
O, or how - (negative sign) in some work...

Did the following.
Put in Cell A1: 00°05'12"O 42°59'12"N -> 42.9867,-0.0867
In Cell B1: Put the Formula - 
=VALUE(MID(A1,1,2))+VALUE(MID(A1,4,2))/60+VALUE(MID(A1,7,2))/3600
That gives result of 0.087
In Cell C1: Put the Forumula -
=VALUE(MID(A1,12,2))+VALUE(MID(A1,15,2))/60+VALUE(MID(A1,18,2))/3
600
That gives result of 42.98667
So, B1 and C1 are the right numbers kind of, reversed order and 
one should be negative.

So might require some additional work, but the math seems 
simple. 

On 21 Nov 2020 at 22:11, Gilles wrote:

Date sent:  Sat, 21 Nov 2020 22:11:59 -0700 (MST)
From:   Gilles 
To: users@global.libreoffice.org
Subject:[libreoffice-users] [Calc] Convert GPS coords 
from DMS to decimals?

> Hello,
> 
> I need to convert GPS coordinates from degrees+minutes+seconds (DMS) to
> decimal, eg. 00°05'12"O 42°59'12"N -> 42.9867,-0.0867
> 
> https://postimg.cc/QH0q5qmn <https://postimg.cc/QH0q5qmn>  
> 
> Can Calc do this, or should I look elsewhere?
> 
> Thank you.
> 
> 
> 
> --
> Sent from: 
> http://document-foundation-mail-archive.969070.n3.nabble.com/Users-f1639498.html
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Easily format cells to bold and a certain background color

2020-11-18 Thread Michael D. Setzer II
=On 18 Nov 2020 at 19:23, Remy Gauthier wrote:


Subject:;Re: [libreoffice-users] Easily format cells to bold and a 
certain

Re: [libreoffice-users] Easily format cells to bold and a certain background color

2020-11-18 Thread Michael D. Setzer II
If I understand what you want, and that cells have the date value in them.
See if this is what you are trying to do?
In Cell A1 put =now()
in Cell A2 put =a1+1
Copy A2 to A3:A33
Highlight Range A1:A33
Format/Conditional/Condition
Select Formula is 
Enter Formula WEEKDAY($A1)=1
I added a new style GrayBold that set font to bold, and background to 
gray4
Than OK.


On 18 Nov 2020 at 18:40, . wrote:

From:   "." 
Subject:[libreoffice-users] Easily format cells to bold and a 
certain background color
To: users@global.libreoffice.org
Date sent:  Wed, 18 Nov 2020 18:40:04 -0500

> 
> 
> I
>   record the weather for each day of the yearit's a hobby.
> 
> 
> It
>   would be simplest if Calc could format each Sunday in bold
>   font and a gray background.  With many Sundays in a year it
>   takes too long to manually change each year's Sundays.
> 
> 
> I have
>   sample Calc sheet I use but don't know where I can upload it
>   so you can take a look at it.
> 
> 
> 
> 
> Thanks,
> 
> 
> 
> 
> Peter
>   Dutton
> 
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Static vs. dynamic time

2020-10-02 Thread Michael D. Setzer II
Was looking for options on this, but haven't found exactly what I'm 
looking for.
Closest I've found is Ctrl + ; that inserts current date
and Ctrl + Shift + ; that inserts the current time. 
Both seem to be the fixed value?

But have found no way to do that in a formula??

Recall long ago in either Lotus or Quattro, you could use now() and then 
{Calc} and it would convert the current time to the fixed value. But that 
was long long ago. Macro recorder doesn't seem to record that kind of 
stuff, and entering formulas don't either.



On 3 Oct 2020 at 10:31, Michael Manning wrote:

From:   Michael Manning 
Date sent:  Sat, 3 Oct 2020 10:31:58 +1000
Subject:Re: [libreoffice-users] Static vs. dynamic time
To: LibreOffice 

> When I have needed a static date or time in Libreoffice Calc, I have found
> that the only way to do this is to enter the date or time directly into the
> spreadsheet and not to use a formula.
> 
> As an example of this, I have been using Calc to measure the drift of
> timepieces compared to a time standard at weekly intervals over a 26 week
> period.  I pre-enter the dates at which the measurements are to be made.
> At the required date, I simply enter the time as shown on the timepiece and
> the time as shown on the time standard at the same instance.  These times
> are then converted to seconds and the difference between in seconds is then
> calculated and charted to show the time drift.  These times and dates are
> static and can be used for later referral.
> 
> I am not sure if there is a way to use a formula or macro to enter a static
> date.  If there is, it is beyond my capabilities.  Entering dates and times
> directly seems very straightforward to me.
> 
> Mike
> email: michaelgmann...@gmail.com
> Libreoffice https://www.libreoffice.org/
> 
> 
> 
> 
> On Fri, 2 Oct 2020 at 19:41, Chimel  wrote:
> 
> > Hi,
> >
> > I use the formula IF(A1<>"";NOW()) copied to every cell of column B.
> > It gives me the correct time every time I type anything on a line of column
> > A.
> > But this is refreshed constantly by the time of the computer, not the time
> > I
> > typed something in column A.
> > I tried looking for a static version of NOW() or playing with iterations
> > (probably not correctly) or looking for a way to stop recomputing this
> > specific column to no avail.
> > Is there a way to set on column B the time of the typing on each line of
> > column A and keep it as a static time.
> >
> > I am usually good with formulas, but this very basic need escapes me.
> > As far as usability is concerned, a STATICNOW() function seems much more
> > useful than the current NOW() function. Or inserting a 0,1 argument for
> > staticness or something.
> > So far, I am forced to type or insert the time manually each time.
> > Let me repeat it: Manually each time! Me!  ;)
> >
> > Thanks,
> > Chimel.
> >
> >
> >
> > --
> > Sent from:
> > http://document-foundation-mail-archive.969070.n3.nabble.com/Users-f1639498.html
> >
> > --
> > To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> > Problems?
> > https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> > Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> > List archive: https://listarchives.libreoffice.org/global/users/
> > Privacy Policy: https://www.documentfoundation.org/privacy
> >
> >
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] LO 6.4.6.2 CALC : Appropriate formula?

2020-09-15 Thread Michael D. Setzer II
First attempt. List removed the formating and stripped the greater than 
signs?? So, manual turned off rich text, and see what this attempt looks 
like.

If I understand your issue?? Don't know if this will come thru OK.
Put these vaues in row 1 and formula in A2 and B2.
Change Date to my format. Changed values in D1,A1, and G1, and got 
the matching date when it was larger.

  25
07/01/20

  60
05/09/20

  30
07/26/20

  60
05/09/20








"A2: =IF(AND(A1>D1,A1>G1),A1,IF(AND(D1>A1,D1>G1),D1,G1))

"B2: =IF(AND(A1>D1,A1>G1),B1,IF(AND(D1>A1,D1>G1),E1,H1))


"A2: =IF(AND(A1>D1,A1>G1),A1,IF(AND(D1>A1,D1>G1),D1,G1))
"B2: =IF(AND(A1>D1,A1>G1),B1,IF(AND(D1>A1,D1>G1),E1,H1))


On 15 Sep 2020 at 13:50, Hylton Conacher (ZR1HPC) wrote:

Send reply to: hyl...@conacher.co.za
From: "Hylton Conacher (ZR1HPC)" 

Subject: [libreoffice-users] LO 6.4.6.2 CALC : Appropriate 
formula?
To: LibreOffice Users 
Date sent: Tue, 15 Sep 2020 13:50:38 +0200

> HI,
> 
> USING
> 
> I have eight data values on a single row with corresponding dates next 
> to each value in the format below i.e.
> 
> ABCDEFGH
> 2501/07blank6009/05blank3026/7
> 
> In the 2nd row I would like to show the highest number from the first 
> row as well as the corresponding date value in the cell to the right of 
> that value.
> 
> My A2 formula is MAX(A2,D2) = 60
> 
> The issue I am having is to get the corresponding date value from the 
> adjacent column i.e. 09/05 in row B2.
> 
> The formula I have tried include:
> =VLOOKUP(MAX(A1,D1,G1),B1:H1,FALSE) = #N/A
> =MATCH(INDEX(A2),A1:H1,0) = #N/A
> =HLOOKUP(MAX(A1,D1,G1),A1:H1,1,0) =60 BEING THE SAME 
VALUE AS MAX().
> 
> I figured that as VLOOKUP looks for values below that HLOOKUP 
might be 
> better suited. That said I have always battled understanding the 
> terminology for the requirements for both vlookup and hlookup, even 
> Index and Match needs understanding I don't have.
> 
> I read the LO manual online and Google has been some help but seems 
to 
> always go the VLOOKUP route with all the data under each other. 
> Unfortunately this sort of 'table' VLOOKUP requires is not feasible on 
> my data set.
> 
> I should probably use BASE but have not delved into that especially as 
> the data making up these figures is graphed.
> 
> Anyone's guidance appreciated.
> 
> Regards
> Hylton
> mailto:hyl...@conacher.co.za
> P.S.: I am subscribed to the LO-Users mailing list
> 
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: 
https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] LO 6.4.6.2 CALC : Appropriate formula?

2020-09-15 Thread Michael D. Setzer II
=If I understand your issue?? Don't know if this will come thru OK.
Put these vaues in row 1 and formula in A2 and B2.
Change Date to my format. Changed values in D1,A1, and G1, and got 
the matching date when it was larger.


25
07/01/20
60
05/09/20
30
07/26/20
60
05/09/20


A2: =IF(AND(A1D1,A1G1),A1,IF(AND(D1A1,D1=G1),D1,G1))
B2: =IF(AND(A1D1,A1G1),B1,IF(AND(D1A1,D1=G1),E1,H1))


A2: =IF(AND(A1D1,A1G1),A1,IF(AND(D1A1,D1G1),D1,G1))
B2: =IF(AND(A1D1,A1G1),B1,IF(AND(D1A1,D1G1),E1,H1))




On 15 Sep 2020 at 13:50, Hylton Conacher (ZR1HPC) wrote:

Send reply to:hyl...@conacher.co.za
From:60;Hylton Conacher (ZR1HPC)hyl...@conacher.co.za
Subject:;[libreoffice-users] LO 6.4.6.2 CALC : Appropriate 
formula?
To:;=LibreOffice Usersusers@global.libreoffice.orgDate sent:60;Tue, 15 Sep 2020 
13:50:38 +0200


HI,


USING


I have eight data values on a single row with corresponding dates next
to each value in the format below i.e.



[libreoffice-users] The macro to do date difference in years months days.

2020-07-07 Thread Michael D. Setzer II
This is the macro for the date to years months day.
Hopefully this posts ok without changes..


sub Z3
rem --
rem define variables
dim document   as object
dim dispatcher as object
rem --
rem get access to the document
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")

rem --
dim sText 
sText = InputBox ("Please enter Date Cells Example D2,D1:")

rem --
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name = "StringName"
args1(0).Value = "=IF(DATEDIF(" & sText & ",""y""),IF(DATEDIF(" & sText & 
",""y"")=1,""1 Year "",DATEDIF("& sText & ",""y"")&"" Years 
""),"""")(MOD(DATEDIF(" & sText & ",""m""),12),IF(MOD(DATEDIF(" & 
sText & ",""m""),12)=1,""1 Month "",MOD(DATEDIF(" & sText & 
",""m""),12)&"" Months ""),"""")(DATEDIF(" & sText & 
",""md""),IF(DATEDIF(" & sText & ",""md"")=1,""1 Day "",DATEDIF(" & sText 
& ",""md"")&"" Days""),"""")"

dispatcher.executeDispatch(document, ".uno:EnterString", "", 0, args1())

end sub


++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



[libreoffice-users] Testing email options to see if goes thru unmodified...

2020-07-07 Thread Michael D. Setzer II
Testing if this option of sending works??

sub ZT
rem --
rem define variables
dim document   as object
dim dispatcher as object
rem --
rem get access to the document
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")

rem --
dim sText 
dim mText
dim sTime
dim eTime
sTime = InputBox ("Enter Cell with Start Time: Example A1")
eTime = InputBox ("Enter Cell with End Time: Example A20")
sText = sTime &"," & eTime
mText = eTime & "-" & sTime

rem --
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name = "StringName"
  
args1(0).Value = "=DATEDIF(" & sText & ",""d"")"&"&"" days ""(("& 
mText &")-INT("& mText &"),"" H """"Hours """" M """"Minutes"""" "") "
 
dispatcher.executeDispatch(document, ".uno:EnterString", "", 0, args1())

end sub

++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



[libreoffice-users] Third try - List keeps modifying the message that corrupts the macro.

2020-07-07 Thread Michael D. Setzer II


Worked on creating a macro, and had to change it to two inputs.
Tried to do the single input, but ran into issues splitting it to change order 
and convert , to -?? So simple solution to input each separate.
Hopefully, the email will have the's correctly..

Seems the Server screwed it up again. Saw the post and all the quotes and 
spaces were stripped in lines with them. So not clear why the are being 
changes. Option spaces and lines seem to be oK

So changing lines with quotes to use ~ and _ for spaces?
If someone knows why the list is screwing this up, or how to prevent it??

Hopefully this will get thru ok, with the changes...

sub ZT
rem --
rem define variables
dim document   as object
dim dispatcher as object
rem --
rem get access to the document
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService(~com.sun.star.frame.DispatchHelper~)

rem --
dim sText 
dim mText
dim sTime
dim eTime
rem --These lines it just eliminated the quotes??
sTime = InputBox (~Enter Cell with Start Time: Example A1~)
eTime = InputBox (~Enter Cell with End Time: Example A20~)
rem This line has quotes changed to ~, ampersands change to !, and spaces 
changed to _

sText = sTime_!~,~_!_eTime
mText = eTime_!~-~_!_sTime

rem --
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name = ~StringName~

rem This line has quotes changed to ~, ampersands change to !, and spaces 
changed to _
args1(0).Value = 
~=DATEDIF(~_!_sText_!_~,~~d~~)~!~!~~_days_~~!TEXT((~!_mText_!~)-IN
T(~!_mText_!~),~~_H_Hours__M_Minutes_~~)_~
 
dispatcher.executeDispatch(document, ~.uno:EnterString~, ~~, 0, args1())

end sub

++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



[libreoffice-users] Macro to do days hours minutes

2020-07-07 Thread Michael D. Setzer II
List is screwing with the messages by removing quotes and some places 
spaces?? Send myself a copy of message and it is unmodified? So, assume 
is some filter system that is brain dead??


Did a replace of all quotes in macro to ~.
Hopefully, that will go thru, and the other spaces will not be eliminated??


Worked on creating a macro, and had to change it to two inputs.
Tried to do the single input, but ran into issues splitting it to change order
and convert , to -?? So simple solution to input each separate.
Hopefully, the email will have the's correctly..


Seems the Server screwed it up again. Saw the post and all the quotes and 
spaces were stripped in lines with them. So not clear why the are being 
changes. Option spaces and lines seem to be oK


So changing lines with quotes to use ~ and _ for spaces?
If someone knows why the list is screwing this up, or how to prevent it??




sub ZT
rem --
rem define variables
dim documentas object
dim dispatcher as object
rem --
rem get access to the document
document= ThisComponent.CurrentController.Frame
dispatcher = createUnoService(~com.sun.star.frame.DispatchHelper~)


rem --
dim sText
dim mText
dim sTime
dim eTime
rem --These lines it just eliminated the quotes??
sTime = InputBox (~Enter Cell with Start Time: Example A1~)
eTime = InputBox (~Enter Cell with End Time: Example A20~)
rem these lines it removed quotes and spaces and ampersands
sText = sTime_~,~__eTime
mText = eTime_~-~__sTime


rem --
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name = ~StringName~


rem this line has a number of spaces, but will see if changing quotes to ~ 
leaves them ok??
args1(0).Value = ~=DATEDIF(~sText~,~~d~~) days 
~~TEXT((~mText~)-INT(~mText~),~~ H Hours  M 
Minutes ~~) ~


dispatcher.executeDispatch(document, ~.uno:EnterString~, ~~, 0, args1())


end sub




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



[libreoffice-users] Macro version for the time

2020-07-07 Thread Michael D. Setzer II
Worked on creating a macro, and had to change it to two inputs.
Tried to do the single input, but ran into issues splitting it to change order 
and convert , to -?? So simple solution to input each separate.
Hopefully, the email will have the's correctly..


sub ZT
rem --
rem define variables
dim documentas object
dim dispatcher as object
rem --
rem get access to the document
document= ThisComponent.CurrentController.Frame
dispatcher = createUnoService(com.sun.star.frame.DispatchHelper)


rem --
dim sText
dim mText
dim sTime
dim eTime
sTime = InputBox (Enter Cell with Start Time: Example A1)
eTime = InputBox (Enter Cell with End Time: Example A20)
sText = sTime,eTime
mText = eTime-sTime


rem --
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name =StringName


args1(0).Value ==DATEDIF(sText,d)daysTEXT((mText)-INT(mText),HHoursMMinutes)


dispatcher.executeDispatch(document,.uno:EnterString,, 0, args1())


end sub




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Strange question on Macro?? (in Spreadsheet)

2020-07-07 Thread Michael D. Setzer II
Not sure what happened to the post?? Just saw it on lists, and all the quotes 
where somehow removed?


In the B2 line the d is suppose to be in double quotes?
Here I took the info, and removed the comments, and changed the quotes to 
~ characters. It also removed the spaces??


Did a test with the following:
In cell A1 =int(now())
in cell A2 =A1+time(1,12,0)
In cell B2 =Datedif($a$1,a2,~d~)f
in cellC2 =A2-$A$1
in cell D2 = (A2-$A$1)-int(a2-$a$1)
in cell E2
=DATEDIF($A$1,A2,~d~)~ days ~TEXT((A2-$A$1)-INT(A2-$A$1),~ H 
~~hours~~ M ~~minutes ~~~)


If spaces are removed again, this is the line with spaces replaced with _
=DATEDIF($A$1,A2,~d~)~_days_~TEXT((A2-$A$1)-INT(A2-$A$1),~_H_~~hours~~_M_~~minutes_~~__~)




On 8 Jul 2020 at 3:12, Michael D. Setzer II wrote:


From:Michael D. Setzer iimsetze...@gmail.com
To:Michael tiernanmichael.tier...@gmail.com, 
users@global.libreoffice.org
Date sent:Wed, 08 Jul 2020 03:12:21 +1000
Subject:Re: [libreoffice-users] Strange question on 
Macro?? (in Spreadsheet)
Priority:normal


Did a test with the following:
In cell A1 =int(now())
in cell A2 =A1+time(1,12,0)
In cell B2 =Datedif($a$1,a2,d)'get days diff
in cellC2 =A2-$A$1'gets HH:MM:SS but hours is total
in cell D2 = (A2-$A$1)-int(a2-$a$1)'gets the hours minutes seconds
in cell E2
=DATEDIF($A$1,A2,d)daysTEXT((A2-$A$1)-INT(A2-$A$1),HhoursMminutes)




Result is like
0 days 1 hours 12 minutes
in e155 after copying7 days 16 hours 48 minutes




Copied A2-E2 to A3 down to E155




The formula in E2 might do what you want??
Did have it in F2 with the additions of seconds, but found the numbers would
get off at points with a second. Probable the rounding factor of second
portion??




Hope that gives and ideal.Note thespacein E2 formula.




Good Luck.




On 7 Jul 2020 at 8:34, Michael Tiernan wrote:




From:Michael tiernanmichael.tier...@gmail.com
Subject:Re: [libreoffice-users] Strange question on
Macro?? (in Spreadsheet)
To:users@global.libreoffice.org
Date sent:Tue, 7 Jul 2020 08:34:38 -0400




On 7/2/20 2:06 PM, Michael D. Setzer II wrote:
I've been trying to take a formula that calculates the difference between to
dates into years/months/days.




I'll ask if anyone has a macro or formulae that would do almost the same
thing but allow it to be expressed further out to includehoursand
minutesI'd like to see it if possible.




I have a running log of incidents and it has two sets of columns.




First pair isStartandEndof power event. That calculation would
be nice if I could express it as:




### Days, ## Hours, ## Minutes




The second calculation, the one that I've been working on is the
difference between the previousEndand the newStartand that I do
need to express[# Year][# Months][## Days][## Hours] ## Minuteswhere
the values of '0' wouldn't be shown (but that's a luxury right now)




The 'datedif' function would work if it accepted the arguments for
smaller measures such ash/m/s.




Any suggestions?




--
MCTMichael C Tiernan. http://www.linkedin.com/in/mtiernan
Non Impediti Ratione Cogatationis
Women and cats will do as they please, and men and dogs
should relax and get used to the idea. -Robert A. Heinlein




--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy




--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Strange question on Macro?? (in Spreadsheet)

2020-07-07 Thread Michael D. Setzer II
Did a test with the following:
In cell A1 =int(now())
in cell A2 =A1+time(1,12,0)
In cell B2 =Datedif($a$1,a2,d)'get days diff
in cellC2 =A2-$A$1'gets HH:MM:SS but hours is total
in cell D2 = (A2-$A$1)-int(a2-$a$1)'gets the hours minutes seconds
in cell E2
=DATEDIF($A$1,A2,d)daysTEXT((A2-$A$1)-INT(A2-$A$1),HhoursMminutes)


Result is like
0 days 1 hours 12 minutes
in e155 after copying7 days 16 hours 48 minutes


Copied A2-E2 to A3 down to E155


The formula in E2 might do what you want??
Did have it in F2 with the additions of seconds, but found the numbers would 
get off at points with a second. Probable the rounding factor of second 
portion??


Hope that gives and ideal.Note thespacein E2 formula.


Good Luck.




On 7 Jul 2020 at 8:34, Michael Tiernan wrote:


From:Michael tiernanmichael.tier...@gmail.com
Subject:Re: [libreoffice-users] Strange question on 
Macro?? (in Spreadsheet)
To:users@global.libreoffice.org
Date sent:Tue, 7 Jul 2020 08:34:38 -0400


On 7/2/20 2:06 PM, Michael D. Setzer II wrote:
I've been trying to take a formula that calculates the difference between to
dates into years/months/days.


I'll ask if anyone has a macro or formulae that would do almost the same
thing but allow it to be expressed further out to includehoursand
minutesI'd like to see it if possible.


I have a running log of incidents and it has two sets of columns.


First pair isStartandEndof power event. That calculation would
be nice if I could express it as:


### Days, ## Hours, ## Minutes


The second calculation, the one that I've been working on is the
difference between the previousEndand the newStartand that I do
need to express[# Year][# Months][## Days][## Hours] ## Minuteswhere
the values of '0' wouldn't be shown (but that's a luxury right now)


The 'datedif' function would work if it accepted the arguments for
smaller measures such ash/m/s.


Any suggestions?


--
MCTMichael C Tiernan. http://www.linkedin.com/in/mtiernan
Non Impediti Ratione Cogatationis
Women and cats will do as they please, and men and dogs
should relax and get used to the idea. -Robert A. Heinlein




--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Confused with Macro results??

2020-07-05 Thread Michael D. Setzer II
My latest macro seems to work fine, but did the following test to check 
output.

In Cell A1 put =int(now())
in Cell A2 put =a1+1
In Cell B2 ran the macro and entered $A$1,A2 and result is 1 day
In Cell C2 ran the macro and entered int(now()),A2 and result is 1 day
Copied Cells A2:C2  all the way down to row 8005 (21 years 10 months 30 
days)

Had seen something that mentioned the "md" option could cause negative 
numbers under some cases, but in those 8004 rows, the days values 
seemed to go from 1 up to the number of days in current month -1 and then 
to blank when it would be zero. So, not sure on what situation the "md" 
option would cause errors. Perhaps with dates outside the current 
centuries??

The latest macro gets rid of the substitution, and just manually creates a 
single entry. Originally was doing steps in cells, and then just trying to make 
a macro that would duplicate the process.  This is simple, and in looking at 
output, it seems to give the results I wanted, and don't see the issue with the 
"md" option? 

sub Z3
rem --
rem define variables
dim document   as object
dim dispatcher as object
rem --
rem get access to the document
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")

rem --
dim sText 
sText = InputBox ("Please enter Date Cells Example D2,D1:")

rem --
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name = "StringName"
args1(0).Value = "=IF(DATEDIF(" & sText & ",""y""),IF(DATEDIF(" & sText & 
",""y"")=1,""1 Year "",DATEDIF(" & sText & " ,""y"")&"" Years 
""),"""")(MOD(DATEDIF(" & sText & ",""m""),12),IF(MOD(DATEDIF(" & 
sText & ",""m""),12)=1,""1 Month "",MOD(DATEDIF(" & sText & 
",""m""),12)&"" Months ""),"""")(DATEDIF(" & sText & 
",""md""),IF(DATEDIF(" & sText & ",""md"")=1,""1 Day "",DATEDIF(" & sText 
& " ,""md"")&"" Days""),"""")"

dispatcher.executeDispatch(document, ".uno:EnterString", "", 0, args1())

end sub


On 4 Jul 2020 at 23:07, Andrew Pitonyak wrote:

From:   "Andrew Pitonyak" 
Date sent:  Sat, 04 Jul 2020 23:07:53 -0400
Copies to:  "Regina Henschel" , 
users@global.libreoffice.org
To: Michael D. Setzer II 
Subject:Re: [libreoffice-users] Confused with
Macro results??

> 
> I think that the correct answer is that you simply write your own function. 
> 
> That way you do not need to copy the long messy function and replace some 
> text. 
> 
> Based on what you just said, however, assume that the intent is that you will 
> modify the active cell to refernece the values in question. That would look 
> something like this: (now I go see if i can make it work). 
> 
> And much hinges on how fancy / smart you want to make the portion that 
> figures out what cell is selected. Remember, it is possible that you select a 
> range when you run the macro, but. I know this is wrong because on my 
> machine it complains about the "md" parameter, but I will not try to figure 
> that out, it is 11:00 PM and I have not had my dinner yet. 
> 
> I hope that this helps at least a little bit. But this places the formula 
> where you need it, you just need to (1) figure out how to call it and (2) 
> what that formula needs to be.
> 
> 
> Let me know what you figure out. 
> 
>   Dim s As String
>   Dim sNew As String
>   Dim sNewDates As String
>   
>   sNewDates = "D1, D2"
>   sNewDates = InputBox ("Please enter Date Cells Example D2,D1:")
>   
>   ' Assume for a moment that you do want to do a simple string substitution. 
>   ' This will ONLY work if you are consistent on how "A2, A1" is represented 
> in the string. 
>   ' The code you sent, it was not consistent. It was "A2, A2", A2 ,A2", and 
> others. 
>   ' This example is consistent. 
>   ' Two double quotes works as an embedded double quote, so: 
>   s = "=IF(DATEDIF( A2, A1,""

Re: [libreoffice-users] Confused with Macro results??

2020-07-04 Thread Michael D. Setzer II
Basically, I want the macro to be able to work completely on its own.
Agree that having to do the steps with the F2 and other keys is a problem.
Not sure why the recorder refuses to record those steps??


The original formula is
=IF(DATEDIF(A2,A1,y),IF(DATEDIF(A2,A1,y)=1,1 
Year,DATEDIF(A2,A1,y)Years),)IF(MOD(DATEDIF(A2,A1,m),12),IF(MOD(DATEDIF(A2,A1,m),12)=1,1
 
Month,MOD(DATEDIF(A2,A1,m),12)Months),)IF(DATEDIF(A2,A1,md),IF(DATEDIF(A2,A1,md)=1,1
 Day,DATEDIF(A2,A1,md)Days),)


But to use the formula in a different location or with dates in different 
relative 
locations would require one to manually edit the formula and change all the 
A2,A1 settings to the new settings. Doing it 9 times.


Thus the macro prompts for the new addresses, and changes them all.
Problem is it leaves the formula contents displayed rather than the result??
Requiring the use of the F2 key and other keys.


Have found the copy paste isn't required, but it changes the manual key options 
require to get the results.


sub Z2
rem --
rem define variables
dim documentas object
dim dispatcher as object
rem --
rem get access to the document
document= ThisComponent.CurrentController.Frame
dispatcher = createUnoService(com.sun.star.frame.DispatchHelper)


rem --
dim sText
sText = InputBox (Please enter Date Cells Example D2,D1:)


rem --
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name =StringName
args1(0).Value 
==SUBSTITUTE(SUBSTITUTE(=IF(DATEDIF(A2,A1,_y_),IF(DATEDIF(A2,A1,_y_)=1,_1 Year 
_,DATEDIF(A2,A1,_y_)_ Years 
_),__)IF(MOD(DATEDIF(A2,A1,_m_),12),IF(MOD(DATEDIF(A2,A1,_m_),12)=1,_1 
Month _,MOD(DATEDIF(A2,A1,_m_),12)_ Months 
_),__)IF(DATEDIF(A2,A1,_md_),IF(DATEDIF(A2,A1,_md_)=1,_1 Day 
_,DATEDIF(A2,A1,_md_)_ Days_),__),A2,A1,chr$(34)sTextchr$(34)),_,CHAR(34))


dispatcher.executeDispatch(document,.uno:EnterString,, 0, args1())
msgbox (To complete process,+chr$(13)+Formula Press F2 then F9 then 
Enter then Enter+ chr$(13)+For Text Result Press F2 then F9 then Enter then 
F9 then Enter then Enter)


end sub


The ideal would be that the macro does the whole thing rether than requiring 
the user to press 4 or 6 additional key strokes??




On 5 Jul 2020 at 1:33, Regina Henschel wrote:


Subject:Re: [libreoffice-users] Confused with Macro 
results??
To:users@global.libreoffice.org
From:Regina henschelrb.hensc...@t-online.de
Date sent:Sun, 5 Jul 2020 01:33:10 +0200


Hi Michael,


your post is hard to understand. Please write, what you want to achieve
with your macro.


Kind regards
Regina


Michael D. Setzer II schrieb am 05-Jul-20 um 00:30:
Been doing a lot of googling, but finding lots of stuff, but nothing that works?
Have done a lot of versions and this is the latest one.
The record process does not allow for the use of the F2 key, so as is, it
results in the original args1(0).Value being in the cell?
After the macro ends, I've found that if I manually press F2 then a space and
enter it puts the formula as I originally wanted? F2 and enter does nothing??
I've also found that if I manually do F2 F9 Enter Enter, it will place just the
final text result in cell.


Seems there use to be a Keypress option, that would allow for simulating
keys, but that has been deprecated?
Also, found pages that talk about API stuff to modify cells, but the two I tried
did nothing?


Am I missing something??


Note: In string I replaced the originals with _ because it kept giving me
messages about unbalanced ()?? That got rid of the errors, and then just
converted them back?


Not and important macro, but was just hoping to find a way to make it work
the way I originally planned. Just playing around with stuff.


Thanks. Perhaps I am overlooking something very simple..




sub Z1
rem --
rem define variables
dim documentas object
dim dispatcher as object
rem --
rem get access to the document
document= ThisComponent.CurrentController.Frame
dispatcher = createUnoService(com.sun.star.frame.DispatchHelper)


rem --
dim sText
sText = InputBox (Please enter Date Cells Example D2,D1:)


rem --
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name =StringName
args1(0).Value =
=SUBSTITUTE(SUBSTITUTE(=IF(DATEDIF(A2,A1,_y_),IF(DATEDIF(A2,
A1,_y_)=1,_1 Year _,DATEDIF(A2,A1,_y_)_ Years
_),__)IF(MOD(DATEDIF(A2,A1,_m_),12),IF(MOD(DATEDIF(A2,A1,_m_),1
2)=1,_1 Month _,MOD(DATEDIF(A2,A1,_m_),12)_ Months
_),__)IF(DATEDIF(A2,A1,_md_),IF(DATEDIF(A2,A1,_md_)=1,_1 Day
_,DATEDIF(A2,A1,_md_)_ Days_),__),A2,A1,chr

Re: [libreoffice-users] Confused with Macro results??

2020-07-04 Thread Michael D. Setzer II
sText = InputBox (Please enter Date Cells Example D2,D1:)


rem --
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name =StringName
args1(0).Value =
=SUBSTITUTE(SUBSTITUTE(=IF(DATEDIF(A2,A1,_y_),IF(DA
TEDIF(A2,
A1,_y_)=1,_1 Year _,DATEDIF(A2,A1,_y_)_ Years
_),__)IF(MOD(DATEDIF(A2,A1,_m_),12),IF(MOD(DATEDIF(A2,
A1,_m_),1
2)=1,_1 Month _,MOD(DATEDIF(A2,A1,_m_),12)_ Months
_),__)IF(DATEDIF(A2,A1,_md_),IF(DATEDIF(A2,A1,_md_)=1,_
1 Day
_,DATEDIF(A2,A1,_md_)_ Days_),__),A2,A1,chr$(34)
sText
chr$(34)),_,CHAR(34))


dispatcher.executeDispatch(document,.uno:EnterString,, 0,
args1())


rem --
dispatcher.executeDispatch(document,.uno:Copy,, 0, Array())


rem --
REM Cut contents of cell to avoid the overwrite message
dispatcher.executeDispatch(document,.uno:Cut,, 0, Array())


rem --
dim args2(5) as new com.sun.star.beans.PropertyValue
args2(0).Name =Flags
args2(0).Value =SVD
args2(1).Name =FormulaCommand
args2(1).Value = 0
args2(2).Name =SkipEmptyCells
args2(2).Value = false
args2(3).Name =Transpose
args2(3).Value = false
args2(4).Name =AsLink
args2(4).Value = false
args2(5).Name =MoveMode
args2(5).Value = 4


dispatcher.executeDispatch(document,.uno:InsertContents,,
0, args2())
msgbox (To complete process,+chr$(13)+Formula Press F2
then Space
then Enter+ chr$(13)+For Text Result Press F2 then F9 then
Enter then
Enter)


end sub


++
Michael D. Setzer II - Computer Science Instructor (Retired)
mailto:mi...@guam.net
mailto:msetze...@gmail.com
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
++




--
To unsubscribe e-mail to:
users+unsubscr...@global.libreoffice.org
Problems?
https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscrib
e/
Posting guidelines + more:
https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



[libreoffice-users] Confused with Macro results??

2020-07-04 Thread Michael D. Setzer II
Been doing a lot of googling, but finding lots of stuff, but nothing that works?
Have done a lot of versions and this is the latest one.
The record process does not allow for the use of the F2 key, so as is, it 
results in the original args1(0).Value being in the cell?
After the macro ends, I've found that if I manually press F2 then a space and 
enter it puts the formula as I originally wanted? F2 and enter does nothing??
I've also found that if I manually do F2 F9 Enter Enter, it will place just the 
final text result in cell.

Seems there use to be a Keypress option, that would allow for simulating 
keys, but that has been deprecated? 
Also, found pages that talk about API stuff to modify cells, but the two I 
tried 
did nothing?

Am I missing something??

Note: In string I replaced the original "s with _ because it kept giving me 
messages about unbalanced ()?? That got rid of the errors, and then just 
converted them back?

Not and important macro, but was just hoping to find a way to make it work 
the way I originally planned. Just playing around with stuff.

Thanks. Perhaps I am overlooking something very simple..


sub Z1
rem --
rem define variables
dim document   as object
dim dispatcher as object
rem --
rem get access to the document
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")

rem --
dim sText 
sText = InputBox ("Please enter Date Cells Example D2,D1:")

rem --
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name = "StringName"
args1(0).Value = 
"=SUBSTITUTE(SUBSTITUTE(""=IF(DATEDIF(A2,A1,_y_),IF(DATEDIF(A2,
A1,_y_)=1,_1 Year _,DATEDIF(A2,A1,_y_)&_ Years 
_),__)(MOD(DATEDIF(A2,A1,_m_),12),IF(MOD(DATEDIF(A2,A1,_m_),1
2)=1,_1 Month _,MOD(DATEDIF(A2,A1,_m_),12)&_ Months 
_),__)(DATEDIF(A2,A1,_md_),IF(DATEDIF(A2,A1,_md_)=1,_1 Day 
_,DATEDIF(A2,A1,_md_)&_ Days_),__)"",""A2,A1""," & chr$(34) & sText & 
chr$(34) & "),""_"",CHAR(34))"

dispatcher.executeDispatch(document, ".uno:EnterString", "", 0, args1())

rem --
dispatcher.executeDispatch(document, ".uno:Copy", "", 0, Array())

rem --
REM Cut contents of cell to avoid the overwrite message
dispatcher.executeDispatch(document, ".uno:Cut", "", 0, Array())

rem --
dim args2(5) as new com.sun.star.beans.PropertyValue
args2(0).Name = "Flags"
args2(0).Value = "SVD"
args2(1).Name = "FormulaCommand"
args2(1).Value = 0
args2(2).Name = "SkipEmptyCells"
args2(2).Value = false
args2(3).Name = "Transpose"
args2(3).Value = false
args2(4).Name = "AsLink"
args2(4).Value = false
args2(5).Name = "MoveMode"
args2(5).Value = 4

dispatcher.executeDispatch(document, ".uno:InsertContents", "", 0, args2())
msgbox ("To complete process,"+chr$(13)+" Formula Press F2 then Space 
then Enter" + chr$(13)+"For Text Result Press F2 then F9 then Enter then 
Enter")

end sub

++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



  1   2   >