Asked • 07/27/19

Argument is not Optional (open office basic macro)?

can you help me work out whats wrong in this function? Function TrueSolarTime(eqtime As Double, longitude As Double, _     timeZone As Double, hours As Double, minutes As Double) As Double   dim time_offset as double   dim x as double     time_offset = eqtime - (4 * longitude) + (60 * timeZone)     TrueSolarTime = hours * 60 + minutes + time_offset   End Function

1 Expert Answer


Ken G. answered • 12/20/19

New to Wyzant

Professional Software Developer & Mentor for over 20 years

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.


Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.