Click here to Skip to main content
15,922,533 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Simple .. Dropdownlist Pin
Dave Kreskowiak10-Jun-04 7:27
mveDave Kreskowiak10-Jun-04 7:27 
GeneralRe: Simple .. Dropdownlist Pin
dotnet_cpp10-Jun-04 8:13
dotnet_cpp10-Jun-04 8:13 
GeneralRe: Simple .. Dropdownlist Pin
Dave Kreskowiak10-Jun-04 8:26
mveDave Kreskowiak10-Jun-04 8:26 
GeneralRe: Simple .. Dropdownlist Pin
dotnet_cpp10-Jun-04 8:49
dotnet_cpp10-Jun-04 8:49 
GeneralRe: Simple .. Dropdownlist Pin
Dave Kreskowiak10-Jun-04 9:00
mveDave Kreskowiak10-Jun-04 9:00 
GeneralRe: Simple .. Dropdownlist Pin
dotnet_cpp10-Jun-04 11:06
dotnet_cpp10-Jun-04 11:06 
GeneralRe: Simple .. Dropdownlist Pin
Dave Kreskowiak10-Jun-04 11:38
mveDave Kreskowiak10-Jun-04 11:38 
GeneralVBA/Excel - Charting question Pin
Jon G10-Jun-04 5:10
Jon G10-Jun-04 5:10 
(REVISED)

I am trying to do the following:

-Check each Point of a chart series to ensure it is within specific limits
-If Point is not in limit, change the Marker type of that Point


What my question is, how do you check specific Points in a series using VBA?

---------------------------------

After posting this question, I found out how to check the point values. I still cannot figure out how to change these individual Marker types to what I want.

Here is the code to check the values:

'***Checks series points, and colors them if need be<br />
Function RefreshPoints(ChartName)<br />
    <br />
    Dim nPts As Integer<br />
    Dim aVals As Variant<br />
    <br />
    Worksheets(ChartName).ChartObjects(1).Activate<br />
<br />
    With ActiveChart.SeriesCollection(1)<br />
        nPts = .Points.Count<br />
        aVals = .Values<br />
        For iPts = 1 To nPts<br />
            MsgBox aVals(iPts)<br />
        Next iPts<br />
    End With<br />
<br />
End Function




Can anyone tell me how to build on that above function to change the marker type of a single Point?
GeneralRe: VBA/Excel - Charting question Pin
Jon G10-Jun-04 5:25
Jon G10-Jun-04 5:25 
Questionsqldataadapter? Pin
ymohd_22210-Jun-04 3:20
ymohd_22210-Jun-04 3:20 
AnswerRe: sqldataadapter? Pin
Dave Kreskowiak10-Jun-04 4:11
mveDave Kreskowiak10-Jun-04 4:11 
AnswerRe: sqldataadapter? Pin
VenkatFor.NET10-Jun-04 11:01
VenkatFor.NET10-Jun-04 11:01 
GeneralTreeView --&gt; Move Nodes Pin
Brad Fackrell10-Jun-04 3:04
Brad Fackrell10-Jun-04 3:04 
GeneralInput Data From Data Grid Pin
Jakarta_Project10-Jun-04 1:17
Jakarta_Project10-Jun-04 1:17 
GeneralRe: Input Data From Data Grid Pin
Dave Kreskowiak10-Jun-04 3:50
mveDave Kreskowiak10-Jun-04 3:50 
GeneralRe: Input Data From Data Grid Pin
tramdtt10-Jun-04 20:55
tramdtt10-Jun-04 20:55 
Generalsystem analysis and design Pin
len_ems9-Jun-04 22:36
len_ems9-Jun-04 22:36 
GeneralRe: system analysis and design Pin
RichardGrimmer9-Jun-04 23:14
RichardGrimmer9-Jun-04 23:14 
GeneralRe: system analysis and design Pin
Anonymous14-Jun-04 18:26
Anonymous14-Jun-04 18:26 
Generalbyte length restriction in text box Pin
Rohitse9-Jun-04 22:14
Rohitse9-Jun-04 22:14 
GeneralRe: byte length restriction in text box Pin
RichardGrimmer9-Jun-04 23:17
RichardGrimmer9-Jun-04 23:17 
GeneralRe: byte length restriction in text box Pin
Dave Kreskowiak10-Jun-04 3:49
mveDave Kreskowiak10-Jun-04 3:49 
GeneralScheduler sample code Pin
MrBean9-Jun-04 22:01
MrBean9-Jun-04 22:01 
GeneralRe: Scheduler sample code Pin
Dave Kreskowiak10-Jun-04 3:46
mveDave Kreskowiak10-Jun-04 3:46 
GeneralCustom Draw TabControl Pin
beowulfagate9-Jun-04 20:47
beowulfagate9-Jun-04 20: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.