Computing.Net > Forums > Programming > VB still on L plates

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

VB still on L plates

Reply to Message Icon

Name: Greenteeth
Date: October 8, 2003 at 04:57:11 Pacific
OS: windows 2000
CPU/Ram: P3
Comment:

Hi there, I am trying to learn VB by writing small macros within Excell.

But I keep getting stuck on syntax. I am looking for a command line that opens the "File Open" dialog box. Is this possible?

Any help is much appreciated.

Regards
Rob



Sponsored Link
Ads by Google

Response Number 1
Name: BaBa
Date: October 9, 2003 at 16:26:25 Pacific
Reply:

Hi,
Doing macros in Excell is VBA. I'm not too good in VBA. However, I think you can use the macro recorder to write the code for you. Then look through the code to see how the macro recorder does it.

The macro recorder records everything you do and writes the code for you automatically.
Then you go to "edit macro" to see the code.
Baba, have fun!


0

Response Number 2
Name: Global
Date: October 10, 2003 at 01:50:30 Pacific
Reply:

That is certainly the easiest way to get the required code that you are after and then manipulate it to do whatever you want.

You can also use the code directly in VB providing the reference to Excel is loaded to give you a little more flexibility as well.

I think the VBA help is also pretty good for Excel too.

Regards
GLOBAL


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: VB still on L plates

vb+dos www.computing.net/answers/programming/vbdos/1978.html

VB weak language??????? www.computing.net/answers/programming/vb-weak-language/2620.html

IVO and Judago - Still on Copying www.computing.net/answers/programming/ivo-and-judago-still-on-copying/17131.html