I believe so.is it a predefined Keyword ?
I believe so.is it a predefined Keyword ?
here is your fixed model.These are my files

Alright i will take care of this part from now on.Symbols used with .subckts must have an X in the prefix attribute along with the model name in the "Value" attribute .
The prefix attribute is not optional and must be an "X".
Okay. Got it!I was able to change the instance name from U1 to P1 using the attribute editor that is invoked from the schematic capture screen by holding down the control key and right clicking the potentiometer symbol. I was using Helmut Senewald's Potentiometer_standard.lib This is available from the LTspice User's Group at groups.io. As long as you have the X prefix, spice could care less what the reference designator is. In fact U which is traditionally used for IC's is actually intended for a Uniform RC-line in Spice.
Thank you!
Thank you i will check it outIf you need additional models, including potentiometers, please refer to
https://forum.allaboutcircuits.com/...nents-models-of-ltspice-free-download.133690/