Recipes.Create



Create(strName As String) As Recipe

Parameters

strName As String
Name of the new "Recipe" object as string.
ED
avaliable
RT
avaliable

Remarks

Creates a new "Recipe" object by name as string parameter.

Sample


Sub CreateNewRecipe()
	'Declarations
	Dim zRecipes As Recipes
	Dim zRecipe As recipe

	'Initialization of zRecipes with the recipes list of the current project
	Set zRecipes = thisProject.Recipes
	'Initialization of zRecipe with the new "Recipe" object
	Set zRecipe = zRecipes.Create("zenOn_Recipe")

End Sub



See Also

Recipes, Recipe