Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 12-21-2004, 09:23 AM   #1 (permalink)
 
Master Techie

Join Date: Mar 2004

Posts: 2,069

rookie1010

Default VB in microsoft office

Hi
I just came across this statement in Sams teach yourself Visual BAsic in 21 days

microsoft Office also contains the complete Visual Basic 6 programming language with which you can automate microsoft Office applications

is that true?
rookie1010 is offline  
Old 12-21-2004, 09:47 AM   #2 (permalink)
 
True Techie

Join Date: Dec 2004

Posts: 164

Skuzzle

Default

it contains a vb language yes.
Its good for making office apps do stuff but you will have problems designing forms etc and will not look pro as it'll open within office...

But yes it is there.
__________________
Skuzzle - Powered by Badgerbyte Web & IT Services
www.drive4fun.co.uk check it out
Skuzzle is offline  
Old 12-21-2004, 10:04 AM   #3 (permalink)
 
Master Techie

Join Date: Mar 2004

Posts: 2,069

rookie1010

Default

so how do i write VB code in a word document?
rookie1010 is offline  
Old 12-21-2004, 12:08 PM   #4 (permalink)
 
True Techie

Join Date: Sep 2004

Posts: 156

ZoneFire

Default

i am not sure of using VB in Microsoft WOrds.
But it seems more commonly used in Access.
i just know a bit using VB in the Access
__________________
The important thing is not to stop questioning...
Albert Einstein
ZoneFire is offline  
Old 12-22-2004, 07:29 AM   #5 (permalink)
 
Super Techie

Join Date: Jun 2004

Posts: 312

sippin codeine

Send a message via Yahoo to sippin codeine
Default

You can make a Macro in MS Word, you put the VB/VBA code in the Macro. Tools > Macro > Create

Sub TEST()
MsgBox "Hello World"
End Sub
__________________
**[System specs]**

Delphi Enterprise 6 - 7
VB 6.0 - 2005 EE
sippin codeine is offline  
Old 12-22-2004, 12:40 PM   #6 (permalink)
 
Master Techie

Join Date: Mar 2004

Posts: 2,069

rookie1010

Default

then why would one want a VB interface?
rookie1010 is offline  
Old 12-22-2004, 06:08 PM   #7 (permalink)
 
Master Techie

Join Date: Mar 2004

Posts: 2,069

rookie1010

Default

what i meant is if i could program VB in word then why would i want VB 6?
rookie1010 is offline  
Old 12-23-2004, 02:18 AM   #8 (permalink)
 
Super Techie

Join Date: Jun 2004

Posts: 312

sippin codeine

Send a message via Yahoo to sippin codeine
Default

there is a difference between VBA in MS Word and regular VB6, You cant make exe files in MS word.
__________________
**[System specs]**

Delphi Enterprise 6 - 7
VB 6.0 - 2005 EE
sippin codeine is offline  
Old 12-23-2004, 11:13 AM   #9 (permalink)
 
Master Techie

Join Date: Mar 2004

Posts: 2,069

rookie1010

Default

does that mean the VB stuff i create in MS word, i can't port to any other machine.

or can i port it to some other machine, but that machine would have to have MS word installed?
rookie1010 is offline  
Old 12-24-2004, 02:26 AM   #10 (permalink)
 
Super Techie

Join Date: Jun 2004

Posts: 312

sippin codeine

Send a message via Yahoo to sippin codeine
Default

I dont think you understand the concept of windows programming.
VB = Windows only.
__________________
**[System specs]**

Delphi Enterprise 6 - 7
VB 6.0 - 2005 EE
sippin codeine is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On