0

I have a problem with running a VBA in a Excel spreadsheet on a MacOS (Sierra). On Windows everything works like expected. I always get the "Compile error in hidden module: Interpolation ...

I tried to remove the whole content of the module and this is the leftover:

Function interpolate(x As Double, ran As Range) As String

interpolate1 = 1
interpolate = interpolate1

End Function

The VBA code is password protected and I don't use any ActiveX controls. The references I use are as follows:

  • Visual Basic For Applications
  • Microsoft Excel 16.0 Object Library
  • OLE Automation
  • Microsoft Office 16.0 Object Library
  • Microsoft Forms 2.0 Object Library
  • RefEdit Control

If anyone has any suggestions on how to go about this problem, that would be great.

Thanks, Tro

1
  • Got it, RefEdit is missing on MacOS. Commented Jan 4, 2017 at 17:18

1 Answer 1

1

The RefEdit reference was missing on MacOS. I removed it and now it seems to work.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.