answersLogoWhite

0


Best Answer

'=============>>

Public Sub Main()

'Your code

Call One

'your code

End Sub

'<<=============

'=============>>

Public Sub One()

MsgBox "Hi from One"

End Sub

'<<=============

> Does it matter where the other macros are stored or is it

> better to have them all in one module?

Unless there are a larger number of macros, they can be stored in a single

module. However, for organisational reasons, it is usually better to store

macros by type in different modules.

Regards

Rollick

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How macro calls within macros are handled?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is a macro enabled document?

http://office.microsoft.com/en-us/help/HA100310711033.aspx Macros automate frequently-used tasks; many are created with VBA (Visual Basic for Applications (VBA): A macro-language version of Microsoft Visual Basic that is used to program Microsoft Windows-based applications and is included with several Microsoft programs.) and are written by software developers. However, some macros pose a potential security risk. A person with malicious intent can introduce a destructive macro, in a document or file, which can spread a virus (virus: A computer program or macro that "infects" computer files by inserting copies of itself into those files. When the infected file is loaded into memory, the virus can infect other files. Viruses often have harmful side effects.) on your computer.


What is the difference between macro and inline function in c plus plus?

Macros are not actually part of the C++ language; they are nothing more than a simple text-replacement system intended to simplify your coding. Macros do not adhere to C++ type safety and cannot be debugged because macros are preprocessed, prior to compilation. Your compiler can only see the preprocessed code, not the original source code, and therefore cannot debug macros because the macros no longer exist at that point. Inline functions are functions that can be debugged like any other function, but the compiler is able to eliminate the overhead of function calla by replacing those calls with inline expanded code. This is not unlike a macro, which is by definition inline expanded, but retains the built-in type safety and debugging capabilities of the C++ language itself. Typically, if you can use an inline function (or C++ is general) then that is always the preferred option. But if a macro can achieve more than can be achieved with C++ alone, or can otherwise simplify the equivalent C++ code, then use a macro. Just keep in mind that macros are not type-safe and cannot be debugged by the C++ compiler.


What is difference between macro processor and macro assembler?

A macro processor processes macros. So what do you think a macro call does, play the flute. The answer is in the question and that begs the question of are you suited to computer programming specifically and an education in general. You are showing a marked reluctance to thinking.


What are MACROS in 8086 microprocessors?

Macro is a segment of code that needs to be written only once but whose basic structure can be repeated with each reference


What are macro languages and its features?

A macro is a fragment of code which has been given a name. Whenever the name is used, it is replaced by the contents of the macro. There are two kinds of macros. They differ mostly in what they look like when they are used. Object-like macros resemble data objects when used, function-like macros resemble function calls.Give symbolic names to constants, so global changes need be made in only one place.Conditionally compile blocks of code.Abbreviate or customize the language of frequently used blocks of coding where a subroutine call is not desired.Improve readability of the code to make its structure and purpose more obvious.

Related questions

What is nested macro calls?

Nested macro calls refer to the macro calls within the macros. A macros is available within other macro definitions also. In the scenario when a macro call occurs, which contains another macro call, the macro processor generates the nested macro definition as text and places it on the input stack. The definition of the macro is then scanned and the macro processor complies it.


What is macro call?

Nested macro calls refer to the macro calls within the macros. A macros is available within other macro definitions also. In the scenario when a macro call occurs, which contains another macro call, the macro processor generates the nested macro definition as text and places it on the input stack. The definition of the macro is then scanned and the macro processor complies it.


Where can i download a runescape woocutting macro?

Don't use macros jagex can detect all macros and you will be permanently band


What are the macros for rumble fighter?

Macros are phrases that you might use a lot. You change them by going into "Settings &gt; Macro". They can be activated by pressing F1-F8. However, F5 cannot be a macro because it "Ready's you"


What are macros used for?

Macros can be used for a number of things. They can be used to create documents and other essential functions in a document easily. Macros are used for management and evaluation of spreadsheets.


How do you get into your macros?

Go to the Tools menu, then Macro and then Visual Basic Editor.


Where can you download macros?

You do not really download macros, but you can get lists of code to create your own macro. There are many locations you can find if you search for "sample excel macros." You will find some examples at the related links.


Can you leave blank lines between macros in a macro group?

No, because Access will interpret a blank line as no further action and stop executing the macros.


Where do you get macros?

If you are looking out for macro options in MS Excel is available under tools menu. If you are looking for ready made macros, then there are plenty available on internet.


Is word macro is predefined?

Macros are not pre-defined. You can create them yourself at any time.


Different types of macros in assembler?

Types of macros In general, there are two types of macros: ExecutiveThese macros generate either code or data that is incorporated into the program being assembled.Generally, an executable instruction is generated.DeclarativeThese macros produce information used by the assembly process while generating code.z/TPF system programs use a large set of macro instructions to generate linkages or to simply generate inline code. Many of these macros are restricted to system programs because the macros are subject to change in future releases and represent an unprotected interface. A macro with an unprotected interface is called a system macro. Because some z/TPF system programs run in the application execution environment, some of the system macros also generate SVC linkages.


How do you turn macros on?

You do not turn them on, you usually inicialize them.That can be done by either using shortcut that you have assigned to them or from the upper toolbar menu pick: Tool - Macro - MacrosThen you get a list of macros (if you have some). Pick one and click "Run" button. That will execute the macro.