|
-
Oct 19th, 2005, 03:06 PM
#1
Thread Starter
Frenzied Member
any other way to call a function
at the moment im doing it like this..
Dim test As String
test = Fill_Form()
and it executes the Fill_Form function, but is there any other way i can do it instead of having to declare a dim string every time??
-
Oct 19th, 2005, 03:16 PM
#2
Re: any other way to call a function
if you don't care about the value it returns you could just do
-
Oct 19th, 2005, 03:17 PM
#3
Re: any other way to call a function
Sure. Something like
Msgbox Fill_Form
In other words you can use Fill_Form just as if it were a string (which is what I assume it returns).
-
Oct 19th, 2005, 03:21 PM
#4
Thread Starter
Frenzied Member
Re: any other way to call a function
it doesnt return anything, it just fills the form on the webbrowser, e,g,
Public Function Fill_Form()
wb.blah blah blH
End Function
-
Oct 19th, 2005, 03:23 PM
#5
Re: any other way to call a function
Then you could make it a Sub ibstead of a Function, but in any case then just
Fill_Form
will work.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|