Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Having Trouble Setting up Simple User-Defined Function
#11
You probably launch the function using the Run button. To prevent accidental launching, insert line containing space and / at the beginning of the function.

Don't use end, unless you don't want to continue macro1.

Don't use + with str, unless you need to share the variable directly, not through arguments.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)