Hi All,
I would like to need your help for a small topic for you experts
I need a solution, where I need a button in my Calc Sheet, which update cells with value +1
Example to make it more clear:
- I do have a Calc Sheet which has in cells H4 till H42 a number value (sheet can be extented with the amound of rows in future)
- When the button will be pressed I would like to have, that each cell the number value will be updated with Value +1
It would be great, if you can explain the steps to me, how I can make this.
Many Thanks!
[Solved] OpenOffice Calc - Button with SQL
[Solved] OpenOffice Calc - Button with SQL
Last edited by Hagar Delest on Mon Nov 20, 2023 2:38 pm, edited 1 time in total.
Reason: tagged solved.
Reason: tagged solved.
Apache OpenOffice 4.1.14
Windows 11
Windows 11
- MrProgrammer
- Moderator
- Posts: 4909
- Joined: Fri Jun 04, 2010 7:57 pm
- Location: Wisconsin, USA
Re: Open Office Calc - Button with SQL
Hi, and welcome to the forum.
[Solved] Increment/decrement feature for cells
You can assign a recorded macro to a function key or to a toolbar button.
[Tutorial] Favorite Recorded Calc Macros
If this solved your problem please go to your first post use the Edit ☐ button and add [Solved] to the start of the Subject field. Select the green checkmark icon at the same time.
[Solved] How do I increase all variables by 1 with a click?
[Solved] Increment/decrement feature for cells
You can assign a recorded macro to a function key or to a toolbar button.
[Tutorial] Favorite Recorded Calc Macros
This topic is in the Calc (spreadsheet) forum. I don't understand why you mention SQL in the topic subject, so I ignored the reference to SQL, which is used with databases.
If this solved your problem please go to your first post use the Edit ☐ button and add [Solved] to the start of the Subject field. Select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
Re: OpenOffice Calc - Button with SQL
Since you mentioned SQL (Calc is NOT a database), the attached database has some numeric columns with random values and a form where you can manipulate any date, time, currency and integer by means of mouse wheel, up/down arrows and clicking on spin buttons.
- Attachments
-
- form_controls.odb
- (14.97 KiB) Downloaded 33 times
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: Open Office Calc - Button with SQL
Thanks for your answer!
MrProgrammer wrote: ↑Sun Nov 19, 2023 10:03 pm Hi, and welcome to the forum.
[Solved] How do I increase all variables by 1 with a click?
Here it says
Select your target cells (the ones to be incremented) → Edit → Paste Special →
• Selection=Numbers
• Operations=Add
• Shift=Don't
• All options unchecked → OK
But I don't see Selection, Operation etc somewhere
Apache OpenOffice 4.1.14
Windows 11
Windows 11
Re: [Solved] How do I increase all variables by 1 with a click?
So, now I got it!
Was my mistake with paste the data in - Sorry!
Thank you very much for your help!
Was my mistake with paste the data in - Sorry!
Thank you very much for your help!
Edit: Post moved from topic 74945 to this one. -- MrProgrammer, forum moderator |
Apache OpenOffice 4.1.14
Windows 11
Windows 11
- MrProgrammer
- Moderator
- Posts: 4909
- Joined: Fri Jun 04, 2010 7:57 pm
- Location: Wisconsin, USA
Re: [Solved] OpenOffice Calc - Button with SQL
Before attempting to use Paste Special you must copy 1 to the clipboard as described in the first three sentences of the topic which you quoted.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).