Hi there,
I'm only 4 months experienced in the VB code, but I caught on pretty quick. A big hurdle that has been a tedious hassle has been accessing a particular function through a sorting function.
For ex, I specify "Device A" on Sheet1 where I would have the options of "Device A", "Device B" or "Device C." I need it now to run the function "DeviceA" when I have the private functions "DeviceA" "DeviceB" and "DeviceC" available. So how can I use "Device A" as a variable value to run Private Function DeviceA?
My current method is primitive where I wrote another private function with a case selection on that string "Device A." But now that I have over 50 different devices and keep adding new ones, I keep having to add more lines to that guiding private function and it is becoming difficult. With that, I have just been notified that I'm being reassigned in a month and need to train a less experienced draftsman this program in 3 weeks, so I need to laymen-ize this process.
Any help will be appreciated!![]()
Bookmarks