Need help with writing VB code.

O

OM

I need to write a macro that when invoked will write some text + a
number.
The number needs to be increased each time the macro is executed.

I can program very well... but have never done VB and couldn't figure
out how to this.
The help files weren't much help.

So... I will start off with something like:

Just some ordinary text
Second line
Third line

This is to be turned into:

var1 = Just some ordinary text
var2 = Second line
var3 = Third line

(The whole thing is for programming variables for another system...
but... that's another story!)

Any help would be appreciated.

Thanks.


OM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top