Click here to Skip to main content
15,896,111 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how to create data grid control in VB6.0 Pin
Dave Kreskowiak14-Sep-10 4:09
mveDave Kreskowiak14-Sep-10 4:09 
Questionhow to read xml data from xml file in VB6.0 Pin
jainiraj14-Sep-10 0:19
jainiraj14-Sep-10 0:19 
AnswerRe: how to read xml data from xml file in VB6.0 Pin
Eddy Vluggen14-Sep-10 9:06
professionalEddy Vluggen14-Sep-10 9:06 
QuestionPowerPoint slide animations flicker when onscreen text updated Pin
Hypermommy13-Sep-10 9:43
Hypermommy13-Sep-10 9:43 
QuestionReferencing Variables in Module1 Pin
Win32SF12-Sep-10 9:13
Win32SF12-Sep-10 9:13 
AnswerRe: Referencing Variables in Module1 Pin
Eddy Vluggen12-Sep-10 9:59
professionalEddy Vluggen12-Sep-10 9:59 
GeneralRe: Referencing Variables in Module1 Pin
Win32SF12-Sep-10 10:11
Win32SF12-Sep-10 10:11 
GeneralRe: Referencing Variables in Module1 Pin
Eddy Vluggen12-Sep-10 10:27
professionalEddy Vluggen12-Sep-10 10:27 
Hoping, just the same as you would with a method;
VB.NET
Public Module1
Public Sub AddMenus()
Dim FormIndex As Integer
Dim ReportViewName(2 To 4) As String
‘create menu structure for the workbook
‘read variable values – FormIndex=2, etc.
End Sub



Tim Bostwick wrote:
Also, would it help to put the code in a Class Module?

That would make it a class, and you'd have to create an instance before you use it;
VB.NET
Dim MyVar as ClassModule1
Set MyVar = New ClassModule1


What version of Excel are you in BTW?
I are Troll Suspicious | :suss:

GeneralRe: Referencing Variables in Module1 Pin
Eddy Vluggen12-Sep-10 13:38
professionalEddy Vluggen12-Sep-10 13:38 
GeneralRe: Referencing Variables in Module1 Pin
Win32SF12-Sep-10 14:06
Win32SF12-Sep-10 14:06 
GeneralRe: Referencing Variables in Module1 Pin
ChandraRam17-Sep-10 2:23
ChandraRam17-Sep-10 2:23 
GeneralRe: Referencing Variables in Module1 Pin
Win32SF17-Sep-10 6:04
Win32SF17-Sep-10 6:04 
AnswerRe: Referencing Variables in Module1 Pin
ChandraRam12-Sep-10 11:28
ChandraRam12-Sep-10 11:28 
GeneralRe: Referencing Variables in Module1 Pin
Win32SF12-Sep-10 11:45
Win32SF12-Sep-10 11:45 
GeneralRe: Referencing Variables in Module1 Pin
ChandraRam12-Sep-10 11:48
ChandraRam12-Sep-10 11:48 
GeneralRe: Referencing Variables in Module1 Pin
Win32SF12-Sep-10 12:54
Win32SF12-Sep-10 12:54 
QuestionPaging in Datagridview Pin
C#Coudou9-Sep-10 15:27
C#Coudou9-Sep-10 15:27 
QuestionPop Out Side Menu (Visual Studio Style) Pin
eddieangel9-Sep-10 12:26
eddieangel9-Sep-10 12:26 
AnswerRe: Pop Out Side Menu (Visual Studio Style) Pin
tosch10-Sep-10 1:07
tosch10-Sep-10 1:07 
AnswerRe: Pop Out Side Menu (Visual Studio Style) Pin
Thomas Stockwell12-Sep-10 8:36
professionalThomas Stockwell12-Sep-10 8:36 
AnswerRe: Pop Out Side Menu (Visual Studio Style) Pin
darkelv13-Sep-10 19:46
darkelv13-Sep-10 19:46 
QuestionWhy are there no form control arrays in vb.net? Pin
MikeD 29-Sep-10 1:26
MikeD 29-Sep-10 1:26 
AnswerRe: Why are there no form control arrays in vb.net? Pin
Dave Kreskowiak9-Sep-10 3:43
mveDave Kreskowiak9-Sep-10 3:43 
GeneralRe: Why are there no form control arrays in vb.net? Pin
MikeD 29-Sep-10 6:49
MikeD 29-Sep-10 6:49 
AnswerRe: Why are there no form control arrays in vb.net? Pin
Luc Pattyn9-Sep-10 4:47
sitebuilderLuc Pattyn9-Sep-10 4:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.