Click here to Skip to main content
15,899,126 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionTrying to override a protected method in DataGridView [Answered] Pin
kepatter7-May-10 5:19
professionalkepatter7-May-10 5:19 
AnswerRe: Trying to override a protected method in DataGridView Pin
Alan N7-May-10 6:56
Alan N7-May-10 6:56 
AnswerRe: Trying to override a protected method in DataGridView Pin
William Winner7-May-10 7:14
William Winner7-May-10 7:14 
GeneralRe: Trying to override a protected method in DataGridView Pin
kepatter7-May-10 9:23
professionalkepatter7-May-10 9:23 
GeneralRe: Trying to override a protected method in DataGridView Pin
William Winner7-May-10 10:26
William Winner7-May-10 10:26 
GeneralRe: Trying to override a protected method in DataGridView Pin
kepatter7-May-10 11:50
professionalkepatter7-May-10 11:50 
QuestionHow to parse the Excel Worksheet using VBA Scripting Pin
Member 43987617-May-10 3:23
Member 43987617-May-10 3:23 
AnswerRe: How to parse the Excel Worksheet using VBA Scripting Pin
David Mujica7-May-10 4:10
David Mujica7-May-10 4:10 
Here is a snipet of VBA code that loops through a sheet and sets a cell value. (nothing really useful)

What it does show you is how you can loop through cells and get their values.

Hope this helps.

Sub DEMOscript()

'
Dim i As Integer
Dim r As Integer

r = MsgBox("This will clear the contents of Sheet1", vbOKCancel, "Confirm Processing")

If (r = 1) Then

  Sheet1.Cells.Clear

  totalrows = ActiveSheet.UsedRange.Rows.Count

  For i = 2 To totalrows
 
      Sheets("Sheet1").Cells(i, 2).Value = i
  
  Next i
    
Else
  MsgBox ("No processing performed.")
End If

End Sub

GeneralRe: How to parse the Excel Worksheet using VBA Scripting Pin
Sonhospa7-May-10 5:11
Sonhospa7-May-10 5:11 
AnswerRe: How to parse the Excel Worksheet using VBA Scripting Pin
William Winner7-May-10 7:30
William Winner7-May-10 7:30 
Questionsearch files on hard drive by vb 6.0 Pin
ejaz_pk7-May-10 0:10
ejaz_pk7-May-10 0:10 
AnswerRe: search files on hard drive by vb 6.0 Pin
Eddy Vluggen7-May-10 0:20
professionalEddy Vluggen7-May-10 0:20 
GeneralRe: search files on hard drive by vb 6.0 Pin
ejaz_pk7-May-10 0:24
ejaz_pk7-May-10 0:24 
GeneralRe: search files on hard drive by vb 6.0 Pin
Eddy Vluggen7-May-10 0:39
professionalEddy Vluggen7-May-10 0:39 
AnswerRe: search files on hard drive by vb 6.0 Pin
Chris Quinn12-May-10 5:25
Chris Quinn12-May-10 5:25 
QuestionLinkLabel redirect Pin
Syasyaaa6-May-10 20:56
Syasyaaa6-May-10 20:56 
AnswerRe: LinkLabel redirect Pin
εїзεїзεїз6-May-10 22:13
εїзεїзεїз6-May-10 22:13 
Questionto transfer data to each sheet of a excel workbook [modified] Pin
sanyexian6-May-10 18:38
sanyexian6-May-10 18:38 
AnswerRe: to transfer data to each sheet of a excel workbook Pin
Johan Hakkesteegt6-May-10 20:20
Johan Hakkesteegt6-May-10 20:20 
GeneralRe: to transfer data to each sheet of a excel workbook [modified] Pin
sanyexian8-May-10 15:26
sanyexian8-May-10 15:26 
AnswerRe: to transfer data to each sheet of a excel workbook Pin
Sonhospa6-May-10 23:06
Sonhospa6-May-10 23:06 
GeneralRe: to transfer data to each sheet of a excel workbook Pin
Johan Hakkesteegt6-May-10 23:30
Johan Hakkesteegt6-May-10 23:30 
GeneralRe: to transfer data to each sheet of a excel workbook Pin
Sonhospa7-May-10 4:56
Sonhospa7-May-10 4:56 
GeneralRe: to transfer data to each sheet of a excel workbook [modified] Pin
sanyexian8-May-10 15:17
sanyexian8-May-10 15:17 
AnswerRe: to transfer data to each sheet of a excel workbook Pin
Sonhospa10-May-10 22:47
Sonhospa10-May-10 22: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.