Question Microstation V8 VBA Form

Status
Not open for further replies.

LinuxHack3r

New member
Joined
Feb 17, 2011
Messages
2
Programming Experience
Beginner
I have a VBA form in Microstation I am using to try and help automate a task. The only problem I am having is I am reading a textbox (Filebox.Text) and setting it as the variable (FN). It works, because I used Msg.Box (FN) to test it. However, in two of the lines of code, I am trying to use (FN) to pass the typed in filename to the command to run in Microstation. Unfortunently, it gets passed on as (FN).dgn instead of the actual filenale typed into the textbox. Is there a way I can make the variable actually seen as a variable? Code on Pastebin:
http://pastebin.com/DmTjmvph
Also, not sure if this is the right section, 100% new to VBA, coming from a world Bashed together.

Sent from my Droid using Tapatalk
 
How is this related to VB.Net ?
 
Well I'm not really sure, I assumed these forums were for VisualBasic as well? Am I on the wrong forums, or the wrong section of the site? And pretty much all I'm wondering is if there is a specific way I can make the variable seen as a variable instead of (FN).dgn?

Sent from my Droid using Tapatalk
 
Here at VB.Net Forums you will only find VB.Net forums.
 
Status
Not open for further replies.
Back
Top