Z
Z
Zulkund2016-03-31 09:43:03
Macros
Zulkund, 2016-03-31 09:43:03

Macros Word how to fix error?

Hello! I am writing a macro in word.

Dim xl As Excel.Application, wb As Excel.Workbook, ws As Excel.Worksheet
    Dim xlOpen As Boolean, wshell

The compiler swears at the Excel.Application component, while this component is perceived normally in Excel. Apparently in word it needs to be connected? How can I do that? Or is this problem solved in another way?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rosperitus, 2016-04-06
@Zulkund

Connect Microsoft Excel Object Library to Worde via Tools-References

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question