Thread: User form/Modul
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jenni_Sweden Jenni_Sweden is offline
external usenet poster
 
Posts: 10
Default User form/Modul

I am quite new tom Visual Basic. I am making a program that is supposed to
work with excel. The main idea is that there are information in a spreadsheet
and the can by pressing a button on the spreadsheet process the info. This is
my first VB-program so I started to write the code in the by editing a macro.
Now it seems like it is all wrong. My code seems to be connected to a User
Form and the button is not displayed until the program is chosen. What I want
is for the button to be visible when opening the workbook. Also I am not
interested in using any User Form, I just want the pressing of the button to
result in a series of actions. Does anyone know where I have done it wrong? I
am clueless when it comes to VB so any help is much appreciated. My code is :

Private Sub dagensDatumKnapp_Click()
findAndRemoveBlanks
findQC
findMV
findDate
End Sub

As you can see the Sub calls for some other subs. However I want to have a
main (like in Java) that controls the sequence of the program but I just do
not get it. Please please help me!!!!