Quantcast
Channel: NetOffice - MS Office in .NET
Viewing all articles
Browse latest Browse all 1741

New Post: Some Problem when I switch to NETOffice

$
0
0
i'm currently on my workplace but i want create a test at home.

what i see now ist the named argument problem.

NO doesnt support named arguments at the moment because some programming languages in .NET can't handle optional arguments(C# needs a couple of generations to learn this).

your call "id:=775" is a named argument call. (it means use the optional argument id and ignore all other optionals but NO doesnt have optional arguments at all. NO gives you all possible method overlads instead)

please try:

Application.CommandBars.FindControl(Nothing, 75).Execute() ' call in correct argument order

MSDN: https://msdn.microsoft.com/de-de/library/office/ff862556.aspx

*Sebastian

Viewing all articles
Browse latest Browse all 1741

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>