VBA String functions not working

Quercus48 96 Reputation points
2021-10-06T12:33:42.38+00:00

Tried using a macro (was working last time I tried about a year ago), and it failed to work because of several string related functions.

Both Space() and Format() functions gave me "Can't find project or library" errors. Checking References, there is: MISSING: Microsoft Office.NET Private Object Library"

I'm not sure how to either add this library back, or if there is a different library I should select that has current versions of these functions.

Thanks,

Developer technologies Visual Basic for Applications
0 comments No comments
{count} votes

Accepted answer
  1. Quercus48 96 Reputation points
    2021-10-06T16:16:34.037+00:00

    Solved - I just removed the checkbox in missing reference and the code now works.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.