project naming confusion

project naming confusion

Anonymous
Not applicable
303 Views
2 Replies
Message 1 of 3

project naming confusion

Anonymous
Not applicable
I've been working with various drawings for months now and
whenever I need to do something special I write a macro in the
Visual Basic Editor. In the editor project area it always lists the
the name of the project as

ACADProject (path and name of drawing)

Over the past few days I've created a few new drawings
from scratch and when I go to the VB editor and look at the
project name it says

ACADProject (Global1)

What's up with this? Why is it no longer giving the name as
path and drawing name? TIA

bc
0 Likes
304 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Because you're getting better with this stuff, that's why.

When you create a VBA project from an open drawing, the code becomes part of that drawing. Now that you are creating projects 'on-the-fly', that arent attached to a particular Drawing ("Tools", "Macro", "VBA Manager", "New") they are 'standalone' programs that can be loaded and run for any drawing.
0 Likes
Message 3 of 3

Anonymous
Not applicable
That's just it though. I had created the drawing, had objects
drawn in it, and saved it with a drawing name. Only then did
I open up the VBA ("Tools", "Macro", "Visual Basic Editor")
and start to write the macro.

bc
0 Likes