G
Guest
I have an argument in another VBA software other than an Office product that
requires string arguments as key-ins. While in the string argument I am
trying to pass a variable from a listbox. However the argument somehow I
believe reads the variable from the listbox as a string itself. So I have a
string inside a string! I know many people run into this problem. How do I
take off the quotes for the variable to return just a non-quoted string so my
argument will run? Thanks.
Option Explicit
MicroStationDGN.CadInputQueue.SendKeyin "reference levels on &
lstReflvlfile.List(R) & *"";SELVIEW ALL"
Where the variable lstReflvlfile is my value from my listbox. Thanks!
Kou
requires string arguments as key-ins. While in the string argument I am
trying to pass a variable from a listbox. However the argument somehow I
believe reads the variable from the listbox as a string itself. So I have a
string inside a string! I know many people run into this problem. How do I
take off the quotes for the variable to return just a non-quoted string so my
argument will run? Thanks.
Option Explicit
MicroStationDGN.CadInputQueue.SendKeyin "reference levels on &
lstReflvlfile.List(R) & *"";SELVIEW ALL"
Where the variable lstReflvlfile is my value from my listbox. Thanks!
Kou