Thanks for youradvcie.
My intention is not to save userform as it is with data.
I want to print it as pdf when I press print button with selecting file name automatically by taking the value of 2 textboxes i have entered in that userform., same like printing the worksheet data