nvm ive got it, but is there an if...then... statement to hide a layer when its on page 6 itl hide a layer.