Click here to Skip to main content
15,905,915 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionload menu dyanamically Pin
Ebube29-Jul-08 2:26
Ebube29-Jul-08 2:26 
AnswerRe: load menu dyanamically Pin
jzonthemtn29-Jul-08 4:25
jzonthemtn29-Jul-08 4:25 
Question[Message Deleted] Pin
AJAYWVK8729-Jul-08 1:15
AJAYWVK8729-Jul-08 1:15 
AnswerRe: SMTP in vb 6.0 Pin
Vimalsoft(Pty) Ltd29-Jul-08 1:34
professionalVimalsoft(Pty) Ltd29-Jul-08 1:34 
QuestionHi folks Pin
Matthew Leggett29-Jul-08 0:51
Matthew Leggett29-Jul-08 0:51 
AnswerRe: Hi folks Pin
Vimalsoft(Pty) Ltd29-Jul-08 1:36
professionalVimalsoft(Pty) Ltd29-Jul-08 1:36 
GeneralRe: Hi folks Pin
jzonthemtn29-Jul-08 1:50
jzonthemtn29-Jul-08 1:50 
GeneralRe: Hi folks Pin
Matthew Leggett29-Jul-08 2:03
Matthew Leggett29-Jul-08 2:03 
Hi
Private Sub Month_Click()
Worksheets(SetMonth).Range("M1").Select
Count6 = 0
Do
Count6 = Count6 + 1
ActiveCell.Value = "0"
ActiveCell.Offset(1, 0).Activate
Loop Until Count6 = Count5

need to pass Count6 to Procedure1

Sub Procedure1()
SetMonth = "August"
Count7 = 0
Do
Worksheets(SetMonth).Range("M1").Select
Bill1 = Application.InputBox("Enter July Amount?")
ActiveCell.Value = Bill1
ActiveCell.Offset(1, 0).Activate
Count7 = Count7 + 1
Loop Until Count7 = Count6
Worksheets(SetMonth).Range("A:K").Select
Worksheets(SetMonth).Columns("A:K").AutoFit
End Sub

Does this mean then that I change the following or am I misunderstanding, its been a while since I wrote visual basic script:

Private Sub Month_Click(ByVal Count6 As String)
and
Sub Procedure1(Count6 As String)
GeneralRe: Hi folks Pin
jzonthemtn29-Jul-08 3:32
jzonthemtn29-Jul-08 3:32 
GeneralRe: Hi folks Pin
AJAYWVK8729-Jul-08 4:42
AJAYWVK8729-Jul-08 4:42 
QuestionCrystal report 8.5 with vb 6.0 Pin
AJAYWVK8729-Jul-08 0:32
AJAYWVK8729-Jul-08 0:32 
AnswerRe: Crystal report 8.5 with vb 6.0 Pin
Vimalsoft(Pty) Ltd29-Jul-08 1:40
professionalVimalsoft(Pty) Ltd29-Jul-08 1:40 
GeneralRe: Crystal report 8.5 with vb 6.0 Pin
AJAYWVK8729-Jul-08 2:28
AJAYWVK8729-Jul-08 2:28 
GeneralRe: Crystal report 8.5 with vb 6.0 Pin
DJ Matthews29-Jul-08 3:36
DJ Matthews29-Jul-08 3:36 
GeneralRe: Crystal report 8.5 with vb 6.0 Pin
AJAYWVK8729-Jul-08 4:47
AJAYWVK8729-Jul-08 4:47 
GeneralRe: Crystal report 8.5 with vb 6.0 Pin
DJ Matthews29-Jul-08 4:57
DJ Matthews29-Jul-08 4:57 
GeneralRe: Crystal report 8.5 with vb 6.0 Pin
Vimalsoft(Pty) Ltd29-Jul-08 4:57
professionalVimalsoft(Pty) Ltd29-Jul-08 4:57 
Question[Message Deleted] Pin
AJAYWVK8729-Jul-08 0:26
AJAYWVK8729-Jul-08 0:26 
AnswerRe: Can i trap crystal report pop up msg in vb 6.0 Pin
Vimalsoft(Pty) Ltd29-Jul-08 1:48
professionalVimalsoft(Pty) Ltd29-Jul-08 1:48 
QuestionArray trouble Pin
tatchung28-Jul-08 22:47
tatchung28-Jul-08 22:47 
AnswerRe: Array trouble Pin
paas29-Jul-08 0:40
paas29-Jul-08 0:40 
GeneralRe: Array trouble Pin
tatchung29-Jul-08 0:54
tatchung29-Jul-08 0:54 
QuestionHow to add a button column to the datagrid using vb.net2003 Pin
g.hanuman28-Jul-08 22:40
g.hanuman28-Jul-08 22:40 
AnswerRe: How to add a button column to the datagrid using vb.net2003 Pin
tatchung28-Jul-08 22:58
tatchung28-Jul-08 22:58 
AnswerRe: How to add a button column to the datagrid using vb.net2003 Pin
chandralekha4-Aug-08 20:06
chandralekha4-Aug-08 20:06 

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.