[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

how to convert from vab macro code to c#.net code

Posted on 2014-08-22
2
Medium Priority
?
308 Views
Last Modified: 2014-08-22
Hi,

Iam facing the problem when iam converting from vba maro code to c#.net .Could you please help me out regarding on this.

the Syntax is like below.

Public Type Struct_InputUnit
   abc As Double
   xyz As Double  
End Type
0
Comment
Question by:mannevenu26
2 Comments
 
LVL 54

Accepted Solution

by:
Rgonzo1971 earned 2000 total points
ID: 40278515
Hi,

isn't it

public struct Struct_InputUnit
{
    public double abc;
    public double xyz;
}

Regards
0
 

Author Closing Comment

by:mannevenu26
ID: 40278766
Thank you Rgonzo1971.. :) I make it as class insted of struct.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question