At 17:40 18/08/2020 -0400, David Stuhr wrote:
Hello Brian,

I had time today to copy the Basic macro code in the link provided today into a test spreadsheet. I pasted the code between "Sub Main" and "End Sub". I then saved the macro. When I attempted to compile the macro I got the following error.

BASIC syntax error.
Function not allowed within a procedure.

What am I doing wrong?

I'm guessing you should delete the two lines you quote above. But I'm no expert - and others, including Mr Pitonyak, are.

Brian Barker

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org
For additional commands, e-mail: users-h...@openoffice.apache.org

Reply via email to