Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Adding multiples lines to a Macros value using VB (https://www.kinook.com/Forum/showthread.php?t=3680)

ShiamakD 07-01-2008 02:41 PM

Adding multiples lines to a Macros value using VB
 
Hi,

Is there a way to add multiple lines value to a macro using VB??

e.g to Application.Macros(vbldMacroTemporary).Add "NAME",

I would like to add

Abc def
ghi jkl
mno qrs

etc?

I dont want one line string rather have the values like it is displayed in the example above.

TIA

kinook 07-01-2008 02:58 PM

"Abc def" & vbCrLf & "ghi jkl" & vbCrLf & "mno qrs"

ShiamakD 07-02-2008 04:19 PM

Thanks so much for prompt and accurate response.


Keep up the good work!

Thanks again!


All times are GMT -5. The time now is 09:07 AM.


Copyright © 1999-2023 Kinook Software, Inc.