Ana Sayfa
Dosyalar
Forum
Haberler
Giriş yap
Üye ol
Şifremi unuttum
Egitimhane.Com
»
Genel Konular
»
Bilgisayar
»
Excel'le Adım Adım Program Yazma
Sayfa:
1
...
44
45
46
47
48
[
49
]
50
51
52
53
54
...
65
Aşağı git
Excel'le Adım Adım Program Yazma
peternorton2
Bilge Üye
1.584
26.607
4. Sınıf Öğretmeni
1.584
26.607
4. Sınıf Öğretmeni
#
18 Ara 2014 23:10:17
Ağdaki excel dosyasını açma
Workbooks.Open Filename:="\\can\c\Belgelerim\hesap.xls"
peternorton2
Bilge Üye
1.584
26.607
4. Sınıf Öğretmeni
1.584
26.607
4. Sınıf Öğretmeni
#
18 Ara 2014 23:10:57
Aktif bulunan araç çubuklarını sayar, sıralar
Sub DisplayToolBarNumber()
Dim i As Integer
i = 0
For i = 1 To Application.Toolbars.Count
MsgBox Toolbars(i).Name, , "Toolbar " & _
i & " of " & Application.Toolbars.Count
Next i
End Sub
peternorton2
Bilge Üye
1.584
26.607
4. Sınıf Öğretmeni
1.584
26.607
4. Sınıf Öğretmeni
#
18 Ara 2014 23:11:39
Aktif çalışma kitabı hariç tüm kitapları kapat
Sub CloseAllButActive()
'based on Tom Ogilvy's postings
Dim wkbk As Workbook
For Each wkbk In Application.Workbooks
If wkbk.Name <> ActiveWorkbook.Name Then
If Windows(wkbk.Name).Visible = True Then
'MsgBox wkbk.Name & " " & Window
peternorton2
Bilge Üye
1.584
26.607
4. Sınıf Öğretmeni
1.584
26.607
4. Sınıf Öğretmeni
#
18 Ara 2014 23:12:37
Aktif Çalışma kitabının adını aktif hücreye yazdırır
Sub kitapismi()
ActiveCell.Value = ActiveWorkbook.FullName
End Sub
peternorton2
Bilge Üye
1.584
26.607
4. Sınıf Öğretmeni
1.584
26.607
4. Sınıf Öğretmeni
#
18 Ara 2014 23:13:22
Aktif çalışma kitabının kaydedilmesi
ActiveWorkbook.Save
peternorton2
Bilge Üye
1.584
26.607
4. Sınıf Öğretmeni
1.584
26.607
4. Sınıf Öğretmeni
#
18 Ara 2014 23:13:59
Aktif hücre bildirimi
Sub GetColumnLetter()
Dim MyColumn As String, Here As String
'// Get the address of the active cell in the current selection.
Const msg = "The column letters @ "
Here = ActiveCell.Address
'// Note Address format is $<columnletter>$<rownumber>,
'// so drop the first character and the characters
'// after the column letter(s).
MyColumn = Mid(Here, InStr(Here, "$") + 1, InStr(2, Here, "$") - 2)
'// Show the result
MsgBox msg & Here & ":= " & MyColumn
End Sub
peternorton2
Bilge Üye
1.584
26.607
4. Sınıf Öğretmeni
1.584
26.607
4. Sınıf Öğretmeni
#
18 Ara 2014 23:15:03
Aktif hücre boş ve 0 değilse boş değilse 0 yapar
Sub ResetTest4()
For Each n In ActiveSheet.UsedRange
If n.Value <> 0 Then
n.Value = 0
End If
Next n
End Sub
peternorton2
Bilge Üye
1.584
26.607
4. Sınıf Öğretmeni
1.584
26.607
4. Sınıf Öğretmeni
#
18 Ara 2014 23:15:59
Aktif hücre renklensin
Kod çalışma sayfasına
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Static EskiHucre As Range
If Target.Interior.ColorIndex <> xlColorIndexNone Then
EskiHucre.Interior.ColorIndex = xlColorIndexNone
Exit Sub
ElseIf Not EskiHucre Is Nothing Then
EskiHucre.Interior.ColorIndex = xlColorIndexNone
End If
Target.Interior.ColorIndex = 6
Set EskiHucre = Target
End Sub
peternorton2
Bilge Üye
1.584
26.607
4. Sınıf Öğretmeni
1.584
26.607
4. Sınıf Öğretmeni
#
18 Ara 2014 23:16:48
Aktif hücre veya seçilen hücrelere ad tanımlar
Sub AddName4()
Selection.Name = "MyRange4"
End Sub
peternorton2
Bilge Üye
1.584
26.607
4. Sınıf Öğretmeni
1.584
26.607
4. Sınıf Öğretmeni
#
18 Ara 2014 23:17:21
Aktif hücre veya seçilen hücrelere ad tanımlar "my range2"
Sub AddName2()
ActiveSheet.Names.Add Name:="MyRange2", RefersTo:="=" & Selection.Address()
End Sub
peternorton2
Bilge Üye
1.584
26.607
4. Sınıf Öğretmeni
1.584
26.607
4. Sınıf Öğretmeni
#
18 Ara 2014 23:17:55
Aktif hücrede çift tıkla üst satırların alttoplam formülünü yazsın
Private Sub Worksheet_BeforeDoubleClick(ByVal _
Target As Range, Cancel As Boolean)
Cancel = True
Range(Target.Offset(-1, 0).End(xlUp), Target).Select
Target.Formula = "=SUBTOTAL(9," _
& Selection(1).Address(0, 0) & ":" _
& Selection(Selection.Count - 1).Address(0, 0) & ")"
Target.Activate
End Sub
peternorton2
Bilge Üye
1.584
26.607
4. Sınıf Öğretmeni
1.584
26.607
4. Sınıf Öğretmeni
#
18 Ara 2014 23:18:33
Aktif hücrede daha küçük değer girdirmez
Dim eski
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Value < eski Then
MsgBox "Mevcut değerden daha küçük bir değer giremezsiniz!", vbCritical
Target.Value = eski
End If
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
eski = Target.Value
End Sub
peternorton2
Bilge Üye
1.584
26.607
4. Sınıf Öğretmeni
1.584
26.607
4. Sınıf Öğretmeni
#
18 Ara 2014 23:19:16
Aktif hücrede formül varsa adresini ve formül cinsini verir
Sub ListFormulas()
Dim counter As Integer
Dim i As Variant
Dim sourcerange As Range
Dim destrange As Range
Set sourcerange = Selection.SpecialCells(xlFormulas)
Set destrange = Range("M1")
destrange.CurrentRegion.Clear
Contents
destrange.Value = "Address"
destrange.Offset(0, 1).Value = "Formula"
If Selection.Count > 1 Then
For Each i In sourcerange
counter = counter + 1
destrange.Offset(counter, 0).Value = i.Address
destrange.Offset(counter, 1).Value = "'" & i.Formula
Next
ElseIf Selection.Count = 1 And Left(Selection.Formula, 1) = "=" Then
destrange.Offset(1, 0).Value = Selection.Address
destrange.Offset(1, 1).Value = "'" & Selection.Formula
Else
MsgBox "This cell does not contain a formula"
End If
destrange.CurrentRegion.Entir
eColumn.AutoFit
End Sub
peternorton2
Bilge Üye
1.584
26.607
4. Sınıf Öğretmeni
1.584
26.607
4. Sınıf Öğretmeni
#
18 Ara 2014 23:19:42
Aktif hücredeki metni harflere (sütunlara 3 er karaktere bölerek ayırır)
Sub AA_Parse_3Letter()
'converts a string in a single cell into tripletts of characters in consecutive cells, assuming one separation character
'e.g. Amino acid sequences in 3-letter-code or nucleotide tripletts
'you can select a range of cells within the
peternorton2
Bilge Üye
1.584
26.607
4. Sınıf Öğretmeni
1.584
26.607
4. Sınıf Öğretmeni
#
18 Ara 2014 23:20:22
Aktif hücredeki metni harflere (sütunlara ayırır)
Sub AA_Parse()
'converts a text string in a single cell into individual characters in consecutive cells
'you can select a range of cells within the same column
'do not select more than one column, cells to the right of this column will be overwritten
If S
Sayfa:
1
...
44
45
46
47
48
[
49
]
50
51
52
53
54
...
65
Yukarı git
Egitimhane.Com
»
Genel Konular
»
Bilgisayar
»
Excel'le Adım Adım Program Yazma
Giriş yap
Üye ol
Her Şeyi Ara
Dosya Ara
Forum Son 100 Konu
2. Sınıf Dokümanlar Günlüğü 2025-2026 Eğitim Öğretim Yılı
1. Sınıf Öğretmenler Günlüğü 2025-2026
4. Sınıf Dokümanlar Günlüğü 2025-2026
Bilgisayardan Anlayan Arkadaşlar Yardım
E-Bordro ( Maaşlar Hakkında Soru Cevap)
Anlamlı Yazılar
Son Eklenen Dosyalar
2. Sınıf Türkçe Neden Sonuç İlişkisi
U Sesine Kadar Harf Görselli Hece Tablosu
5. Sınıf Fen Bilimleri 1. Dönem 2. Yazılı 3. Senaryo
2. Sınıf Matematik Verilen Sayıları Devam Ettirme
U Sesi Çalışmaları Ve Süreç Değerlendirme
Şu an
1.809
kişi ve
35
üye var.
Aktif üyeler için tıklayınız.
Egitimhane.Com
©2006-2023
KVKK