Solved

Forms in Visual Basic in XP

Posted on 2004-03-21
6
213 Views
Last Modified: 2013-11-25
Sorry to bother you with such a trival matter but I am new at this and this  is my first question.   I went to word, tools, macro, visual basic editor, insert userform.  I created a form, named it and saved it and created some buttoms ect.. using some VB and ran it.  I want to attach the document  (the word file)  in a lotus notes data base so it will open and the form will be there .  When I open word and click on the document name a blank document continues to show?  My question is where is my form and how do I save it as a form to be attached somewhere else?  Is it possible?
0
Comment
Question by:AuroraNL
  • 2
6 Comments
 
LVL 40

Expert Comment

by:Fatal_Exception
ID: 10645862
Aurora...   Great question for the first try...  But I think you will get a better response if you post it in the VB section...  Those guys really know their business..  You might get some responses here too, since many of these XP experts are well versed in VBS, but it may be faster to go there..

If you want to do this, just ask a question in Community Support..  They will be glad to help you move it over..

FE
0
 
LVL 4

Expert Comment

by:jcoppin
ID: 10646344
Check your macro security settings,
Tools-->Macro-->Security
set it to either medium or low. medium will prompt you to run the macro, low will not.

Do you have administrative privillages on your workstation?
0
 
LVL 1

Accepted Solution

by:
MADisonMAN earned 250 total points
ID: 10653573
Either set the macro security setting or place the code in either AutoNew or AutoOpen modules to show the form. Your form is still  saved with the document but you have to called from some module.

The auto macros in Microsoft Word are:
AutoExec
AutoNew
AutoOpen
AutoClose
AutoExit

http://support.microsoft.com/?kbid=211659
0
 
LVL 40

Expert Comment

by:Fatal_Exception
ID: 10667175
Glad to see you got an answer..  Knew one of these experts could help you here..

FE
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now