Sales Funnel

A

alfiajamel

I am trying to create a form for forcasting. I want to, try to anyway, have
a picture of a funnel that changes as the sale moves through the sales
process. Does anyone have any ideas?
 
K

Klatuu

Put several pictures of funnels showing variace levels of full on your form.
Put all of them exactly in the same place so they overlay each other. Make
all Their Visible properties = No.

Then when you want to show a certain level of fullness, make that control
visible and the others hidden.
 
A

alfiajamel

Thanks! If I make that Visible properties=no, what kind of coding would i
use to show the correct funnel picture
 
K

Klatuu

Let's say you have 6 funnels named funnel1, funnel2...funnel6.

Then when you want to show say funnel 4, I would thing a sub you can call
with the number you want to show would be like:

Private Sub ShowFunnel(FunnelNumber As Long)
Dim ctl As Control

For each ctl in Me.Controls
If Left(ctl.Name, 6) = "Funnel" Then
If Clng(Right(ctl.Name,1) = FunnelNumber Then
ctl.Visible = True
Else
ctl.Visible = False
End If
End If
Next ctl
End Sub

Note this is untested "air" code and may need some debugging.
 
A

alfiajamel

I will try that! Thank you so much!

Klatuu said:
Let's say you have 6 funnels named funnel1, funnel2...funnel6.

Then when you want to show say funnel 4, I would thing a sub you can call
with the number you want to show would be like:

Private Sub ShowFunnel(FunnelNumber As Long)
Dim ctl As Control

For each ctl in Me.Controls
If Left(ctl.Name, 6) = "Funnel" Then
If Clng(Right(ctl.Name,1) = FunnelNumber Then
ctl.Visible = True
Else
ctl.Visible = False
End If
End If
Next ctl
End Sub

Note this is untested "air" code and may need some debugging.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top