Hi LindaCat,
1. Don't use blanks
2. A variable between quotes is a text string, don't use quotes unless it's text
3. Not sure what the # means, but it is not valid in a variable name
4. Close each if with an "End"
TIP:
If you want to use a combination of a variable and a frame name use the ampersant "&"
Example:
MY_VAR has value "Hello"
MY_VAR1 & " world" results in "Hello world"
Get the picture
Hope this pushes you in the right direction and I'm happy to see you started coding
Don't give up, you will get it... I started that way too.
Kind regards,
ShAdOwHuNtEr