DSI,
Thanks for you help...here is the code I am working on. I am kind of new to VB but I love working with it ..except I think I am going to lose my mind during the learning process.
Thanks again
Mike B
Private Sub Command1_Click()
CommonDialog1.ShowOpen
FileName = CommonDialog1.FileName Dim xlApp As Excel.Application
Set xlApp = New Excel.Application
Dim xlWkb As Excel.Workbook
Set xlWkb = xlApp.Workbooks.Open(FileName)
Dim xlSht As Excel.Worksheet
Set xlSht = xlWkb.Sheets(1)
Dim xlChart As Excel.Chart
Set xlChart = xlWkb.Charts.Add
' Selection.End(xlDown).Select 'Move the cursor to the bottom (Ctrl+End)
' xlSht.Rows.End(xlLastCell).Select
' LastRow = ActiveCell.Row 'Name LastRow as the number value of the row
'This is where I get the error messages....!! the commented
'code are things I have tried but also got error messages
xlSht.Range("A1"

.Select
xlSht.Cells(1, 1).Value = 0
xlSht.Cells.SpecialCells(xlCellTypeLastCell).Select
' xlApp.Application.CountA(ActiveSheet.Range("A:A"

) = LastRow
xlChart.ChartType = xlLine
'This was hard wired in to make sure the chart worked but
'I will insert the last row cell variable in here
xlChart.SetSourceData xlSht.Range("A2:b599"

, xlColumns
xlChart.Visible = xlSheetVisible
xlChart.Legend.Clear
xlChart.ChartArea.Font.Size = 12
xlChart.ChartArea.Font.Color = vbBlue
xlChart.ChartArea.Select
xlChart.ChartArea.Copy
Picture1.Picture = Clipboard.GetData(vbCFtiff)
End Sub