jgriffs@comcast.net wrote:I don't want to relearn basic or whatever. [How would I} In a sheet with the cursor at location where ever, go to cell c47, insert a blank row, put "new row"
in that cell?
If you don't want to learn Basic or the other programming languages that OpenOffice supports you can't
write any macros. Simple as that. And the real obstacle to writing macros is that one must learn the complex
UNO interface. Expect to take a week or more to write your first macro, more if you have to (re)learn a language too.
However you can
record macros without learning the UNO interface or any language. Read
[Tutorial] Favorite Recorded Calc Macros. Your example can probably be done with a recorded macro. You will need to learn how to use Calc first. For your example you need to know how, using standard Calc features, one goes to a cell, inserts a new row, puts text in a cell, etc. Learn about those by reading the
user guides. This will be much faster than asking here, one at a time, How do I go to a cell?, How do I insert a row?, ad nauseam.
jgriffs@comcast.net wrote:I'd like to sort on a field and create a second column.
Record a macro. Recorded macros do have limitations, but you should be able to accomplish that. Anticipated question: "What are the limitations?" Read the user guides. Experiment. An important limitation is that recordings can't make decisions; all actions are imperative. Without decisions, one cannot have any loops. But one can sometimes circumvent these limitations by creative handling of the standard Calc user interface. I can't teach anyone that.
jgriffs@comcast.net wrote:Or to take a string and have a separate column consisting of the first 6 characters - another of the last 10 characters.
You were
previously directed to
[Tutorial] Text to Columns which can do that. Maybe you can use it in a recorded macro, maybe not. Try it and see. Otherwise you can probably record performing those actions with formulas. Read the user guides to learn how to do that. Try it and see.
jgriffs@comcast.net wrote:When my company did inventories, I had a program referencing a list of all known part numbers. Data entry consisted of … and add the new qty.
You would do the entry and verification with a
Base form and a database, not in Calc.
jgriffs@comcast.net wrote:Another task would be to go to the bottom of entries in that column.
Study the user guides to learn how to do that with the user interface (a keyboard shortcut).
jgriffs@comcast.net wrote:If you choose to help me, a line of appropriate code, with an explanation of what that line accomplishes is what I'm after.
Study
Code Snippets.
jgriffs@comcast.net wrote:I implore you to stay with me on my quest to learn the nuances of OpenOffice spread sheets.
You must master the basics first. People waste weeks of time learning how to program with macros for a task which is easily accomplished with the user interface that they haven't bothered to learn.
[Tutorial] Ten concepts that every Calc user should know
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).