Total calculation problem

mhouldridge
08-25-2003, 11:58 AM
Please help, I am getting a compile error stating, 'ambiguous name detected: calculating_Click'

on the following;

Private Sub Calculating_Click()
strtemp = Split (listsbox.text, vbCrLf)
i = 0
IntTotal = 0
Do While i < UBound (


etc....

just on the first line.. .please advise??

Thanatos
08-25-2003, 12:10 PM
Sounds like you tried to Dim something more than once. Or maybe you have 2 sub's with the same name.

phinds
08-25-2003, 03:09 PM
put "option explicit" in all of your modules and the compiler will give you more information

kunfuzed1
08-25-2003, 05:29 PM
put "option explicit" in all of your modules and the compiler will give you more information

Just a note regarding option explicit, set vb to declare it automatically so that you never have to worry about forgetting it.. go to Tools, Options, and in the Editor Tab check the box that says "require variable declaration" that has saved me from HELLA errors.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum