Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Problem to the line

$
0
0
Hi,
How to correct this
Error1Expected class, delegate, enum, interface, or structC:\Proj\Form2\Form2\Class1.cs920Form2

due to the last line below?

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Excel=Microsoft.Office.Interop.Excel; 

namespace Form2
{
    private static Excel.Workbook MyBook = null; 
    ...



Many Thanks & Best Regards, Hua Min


Viewing all articles
Browse latest Browse all 31927

Trending Articles



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