how to convert from vab macro code to code

Posted on 2014-08-22
Last Modified: 2014-08-22

Iam facing the problem when iam converting from vba maro code to .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
Question by:mannevenu26
    LVL 47

    Accepted Solution


    isn't it

    public struct Struct_InputUnit
        public double abc;
        public double xyz;


    Author Closing Comment

    Thank you Rgonzo1971.. :) I make it as class insted of struct.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Introduction In a recent article ( for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
    Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
    As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
    Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

    730 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now