Solved

Forms in Visual Basic in XP

Posted on 2004-03-21
6
216 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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 lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

828 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