12 New Messages
Digest #2499
Messages
Wed Oct 17, 2012 10:49 am (PDT) . Posted by:
"Adi Idrus" adiidrus900
Dear para Suhu excell
Bagaimana ya, mengatasi makro yang terjadi "Compile Error: Method or data member not found" saya coba dengan code On error resume next, tapi tidak bisa, adakah code yang mujarab..
Terimakasih
Adi Idrus
Bagaimana ya, mengatasi makro yang terjadi "Compile Error: Method or data member not found" saya coba dengan code On error resume next, tapi tidak bisa, adakah code yang mujarab..
Terimakasih
Adi Idrus
Wed Oct 17, 2012 10:49 am (PDT) . Posted by:
"eko rioeh" eko_rioeh
Pak IRA,
Silahkan di coba langkah berikut, attachment terlampir :
1. Terlebih dahulu ubah format kolom "Date" dan "Time" yang tadi text ke Date dan Time seperti berikut:
- kolom date : =DATEVALUE(TEXT($A2,"m-d-yy"))
- kolom time : =TIMEVALUE(RIGHT(TEXT($A2,"dd-mmm-yy hh:mm"),5))
2. Pada sheet Resume, silahkan gunakan formula berikut jangan lupa tekan bersamaan ctrl+shift+enter untuk apply array:
- kolom start: ={IFERROR(MIN(OFFSET('Base data'!$I$1,MATCH(1,('Base data'!$D$2:$D$118=$E3)*($C3='Base data'!$H$2:$H$118),0),0,COUNTIFS('Base data'!$D$2:$D$118,"="&resume!E3,'Base data'!$H$2:$H$118,"="&resume!C3),1)),"")}
- kolom finish : ={IFERROR(MAX(OFFSET('Base data'!$I$1,MATCH(1,('Base data'!$D$2:$D$118=$E12)*($C12='Base data'!$H$2:$H$118),0),0,COUNTIFS('Base data'!D11:D127,"="&resume!E12,'Base data'!H11:H127,"="&resume!C12),1)),"")}
________________________________
From: Imron Rachmanu Adji <imron.adji@yahoo.com >
To: XL-mania@yahoogroups.com
Sent: Monday, October 15, 2012 10:20 AM
Subject: ]] XL-mania [[ meresume absen awal dan akhir, per hari per orang
--- On Mon, 10/15/12, Imron Rachmanu Adji <imron.adji@yahoo.com > wrote:
>From: Imron Rachmanu Adji <imron.adji@yahoo.com >
>Subject: Resume
>To: XL-mania@yahoogroups.com
>Date: Monday, October 15, 2012, 1:16 AM
>
>
>dear XL-mania
>seperti file terlampir, didalam file itu saya punya data base seperti terlampir, formula bagaimana didalam sheet resume kita memperoleh data setiap orang "mulai awal start" dan "saat mengakhiri pekerjaan" pada setiap harinya.
>best regards
>IRA
Silahkan di coba langkah berikut, attachment terlampir :
1. Terlebih dahulu ubah format kolom "Date" dan "Time" yang tadi text ke Date dan Time seperti berikut:
- kolom date : =DATEVALUE(
- kolom time : =TIMEVALUE(
2. Pada sheet Resume, silahkan gunakan formula berikut jangan lupa tekan bersamaan ctrl+shift+enter untuk apply array:
- kolom start: ={IFERROR(
- kolom finish : ={IFERROR(MAX(
____________
From: Imron Rachmanu Adji <imron.adji@yahoo.
To: XL-mania@yahoogroup
Sent: Monday, October 15, 2012 10:20 AM
Subject: ]] XL-mania [[ meresume absen awal dan akhir, per hari per orang
--- On Mon, 10/15/12, Imron Rachmanu Adji <imron.adji@yahoo.
>From: Imron Rachmanu Adji <imron.adji@yahoo.
>Subject: Resume
>To: XL-mania@yahoogroup
>Date: Monday, October 15, 2012, 1:16 AM
>
>
>dear XL-mania
>seperti file terlampir, didalam file itu saya punya data base seperti terlampir, formula bagaimana didalam sheet resume kita memperoleh data setiap orang "mulai awal start" dan "saat mengakhiri pekerjaan" pada setiap harinya.
>best regards
>IRA
Wed Oct 17, 2012 10:52 am (PDT) . Posted by:
"Mr. Kid" nmkid.family@ymail.com
Coba dengan pivot table.
Data ditambah 2 kolom, yaitu
1. tgl berisi nilai date dari kolom A yang disusun dengan formula =Int(A2)
2. time_out berisi nilai date time dari kolom A yang disusun dengan formula
=A2
Wassalam,
Kid.
2012/10/15 Imron Rachmanu Adji <imron.adji@yahoo.com >
> **
>
>
>
>
> --- On *Mon, 10/15/12, Imron Rachmanu Adji <imron.adji@yahoo.com >* wrote:
>
>
> From: Imron Rachmanu Adji <imron.adji@yahoo.com >
> Subject: Resume
> To: XL-mania@yahoogroups.com
> Date: Monday, October 15, 2012, 1:16 AM
>
> dear XL-mania
> seperti file terlampir, didalam file itu saya punya data base seperti
> terlampir, formula bagaimana didalam sheet resume kita memperoleh data
> setiap orang "mulai awal start" dan "saat mengakhiri pekerjaan" pada setiap
> harinya.
> best regards
> IRA
>
>
>
Data ditambah 2 kolom, yaitu
1. tgl berisi nilai date dari kolom A yang disusun dengan formula =Int(A2)
2. time_out berisi nilai date time dari kolom A yang disusun dengan formula
=A2
Wassalam,
Kid.
2012/10/15 Imron Rachmanu Adji <imron.adji@yahoo.
> **
>
>
>
>
> --- On *Mon, 10/15/12, Imron Rachmanu Adji <imron.adji@yahoo.
>
>
> From: Imron Rachmanu Adji <imron.adji@yahoo.
> Subject: Resume
> To: XL-mania@yahoogroup
> Date: Monday, October 15, 2012, 1:16 AM
>
> dear XL-mania
> seperti file terlampir, didalam file itu saya punya data base seperti
> terlampir, formula bagaimana didalam sheet resume kita memperoleh data
> setiap orang "mulai awal start" dan "saat mengakhiri pekerjaan" pada setiap
> harinya.
> best regards
> IRA
>
>
>
Wed Oct 17, 2012 10:50 am (PDT) . Posted by:
"aditia nugraha"
mas mau tanya nih,
mengenai kode vba di excel 2010 untuk mengganti text dalam "( )"
menjadi *italic
*atau miring.
contoh yang di iginkan seperti ini :
cleaning service ( petugas kebersihan ) --> yang di inginkan
menjadi cleaning service ( *petugas kebersihan* )
saya sudah pake script ini.
tapi runtime error 450 terus. kira kira problem solvng nya apa ya ?
terimaksih
aditia
Sub Find_and_Italicise()
'
' Macro recorded by Bird_FAT
' This macro uses the wildcard '*' to look for text
' between to underscores, then italicises the text.
' The While/Wend statement at the end causes it to
' loop until it reaches the end of the document.
'
Selection.Find.ClearFormatting
With Selection.Find
.Text = "(*)"
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchAllWordForms = False
.MatchSoundsLike = False
.MatchWildcards = True
End With
While Selection.Find.Execute
Selection.Font.Italic = wdToggle
Wend
End Sub
mengenai kode vba di excel 2010 untuk mengganti text dalam "( )"
menjadi *italic
*atau miring.
contoh yang di iginkan seperti ini :
cleaning service ( petugas kebersihan ) --> yang di inginkan
menjadi cleaning service ( *petugas kebersihan* )
saya sudah pake script ini.
tapi runtime error 450 terus. kira kira problem solvng nya apa ya ?
terimaksih
aditia
Sub Find_and_Italicise(
'
' Macro recorded by Bird_FAT
' This macro uses the wildcard '*' to look for text
' between to underscores, then italicises the text.
' The While/Wend statement at the end causes it to
' loop until it reaches the end of the document.
'
Selection.Find.
With Selection.Find
.Text = "(*)"
.Replacement.
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchAllWordForms = False
.MatchSoundsLike = False
.MatchWildcards = True
End With
While Selection.Find.
Selection.Font.
Wend
End Sub
Wed Oct 17, 2012 10:50 am (PDT) . Posted by:
"NANG Agus"
Dear Heru Purnomo
Coba di sel C2 diketik formula:
=IF(LEFT(B2,1)="-","S"&MID(B2,2,FIND(",",B2,4)-2),"N"&MID(B2,1,FIND(",",B2,4)-1))&IF(MID(B2,FIND(",",B2,4)+1,1)="-","
W"&MID(B2,FIND("-",B2,6)+1,10)," E"&MID(B2,FIND(",",B2,4)+1,10))
Formula ini mengakomodaasi untuk Utara Selatan maupun Untuk Barat dan
Timur, Karena koordinat yang saudaara contohkan hanya berisi bujur timur
dan lintang selatan, maka rumus dapat diringkas menjadi:
="S"&MID(B2,2,FIND(",",B2,4)-2)&" E"&MID(B2,FIND(",",B2,4)+1,10)
salam
NangAgus.
2012/10/16 heru Purnomo <h3rupurnomo@yahoo.com >
> **
>
>
> Dear master excel;
>
> apakah ada yang mengetahui cara merubah data koordinat dari : contoh
> -3.7989,103.52159
> menjadi S3.7989 E103.52159
> thanks
> heru purnomo
>
>
>
>
Coba di sel C2 diketik formula:
=IF(LEFT(B2,
W"&MID(B2,FIND(
Formula ini mengakomodaasi untuk Utara Selatan maupun Untuk Barat dan
Timur, Karena koordinat yang saudaara contohkan hanya berisi bujur timur
dan lintang selatan, maka rumus dapat diringkas menjadi:
="S"&MID(B2,
salam
NangAgus.
2012/10/16 heru Purnomo <h3rupurnomo@
> **
>
>
> Dear master excel;
>
> apakah ada yang mengetahui cara merubah data koordinat dari : contoh
> -3.7989,103.
> menjadi S3.7989 E103.52159
> thanks
> heru purnomo
>
>
>
>
Wed Oct 17, 2012 10:51 am (PDT) . Posted by:
"zainul_ulum[at]yahoo[dot]com" zainul_ulum
Coba rumus
=IF(LEFT(B2)="-","S","N") & ABS(--LEFT(B2,FIND(",",B2)-1)) & " E" &
MID(B2,FIND(",",B2)+1,99)
Ada tambahan N kalo lokasinya di lintang utara atau koordinat lintang
posistif
From: XL-mania@yahoogroups.com [mailto:XL-mania@yahoogroups.com ] On Behalf
Of heru Purnomo
Sent: Tuesday, October 16, 2012 12:09 PM
To: XL-mania@yahoogroups.com
Subject: ]] XL-mania [[ cara merubah data koordinat
Dear master excel;
apakah ada yang mengetahui cara merubah data koordinat dari : contoh
-3.7989,103.52159
menjadi
S3.7989 E103.52159
thanks
heru purnomo
=IF(LEFT(B2)
MID(B2,FIND(
Ada tambahan N kalo lokasinya di lintang utara atau koordinat lintang
posistif
From: XL-mania@yahoogroup
Of heru Purnomo
Sent: Tuesday, October 16, 2012 12:09 PM
To: XL-mania@yahoogroup
Subject: ]] XL-mania [[ cara merubah data koordinat
Dear master excel;
apakah ada yang mengetahui cara merubah data koordinat dari : contoh
-3.7989,103.
menjadi
S3.7989 E103.52159
thanks
heru purnomo
Wed Oct 17, 2012 10:52 am (PDT) . Posted by:
"Nazwarman" nazwarman
Dear Pak heru,
Solusi alakadar dari newbie ^^
="S"&MID(B3,2,7)&" E"&RIGHT(B3,9)
*note: datanya harus memiliki jumlah karate yang sama
BR //
Nazwarman
From: XL-mania@yahoogroups.com [mailto:XL-mania@yahoogroups.com ] On Behalf
Of heru Purnomo
Sent: Tuesday, October 16, 2012 12:09 PM
To: XL-mania@yahoogroups.com
Subject: ]] XL-mania [[ cara merubah data koordinat
Dear master excel;
apakah ada yang mengetahui cara merubah data koordinat dari : contoh
-3.7989,103.52159
menjadi
S3.7989 E103.52159
thanks
heru purnomo
Solusi alakadar dari newbie ^^
="S"&MID(B3,
*note: datanya harus memiliki jumlah karate yang sama
BR //
Nazwarman
From: XL-mania@yahoogroup
Of heru Purnomo
Sent: Tuesday, October 16, 2012 12:09 PM
To: XL-mania@yahoogroup
Subject: ]] XL-mania [[ cara merubah data koordinat
Dear master excel;
apakah ada yang mengetahui cara merubah data koordinat dari : contoh
-3.7989,103.
menjadi
S3.7989 E103.52159
thanks
heru purnomo
Wed Oct 17, 2012 10:51 am (PDT) . Posted by:
"Bangkit" belonk_182
Dear milist,
Saya sedang punya project untuk membuat database dari excel dengan data
yang berada pada worksheet lain, dan form untuk print pada worksheet
yang lain juga. Saya mencoba dengan VBA dengan kode:
'----------------------------------------------------------\
------------------
Private Sub UserForm_Initialize()
Dim mycell As Range
Dim wsdatabaseNG As Worksheet
Set wsdatabaseNG = Sheets("VibDataNG")
For Each mycell In wsdatabaseNG.Range("DateNG")
With Me.ComboTanggal
.AddItem mycell.Value
.List(.ListCount - 1, 1) = mycell.Offset(0, 1).Value
End With
Next mycell
End Sub
'----------------------------------------------------------\
------------
Private Sub PrintNG_Click()
Dim UserInput As String
Dim userdata As String
Dim mycell As Range
Dim xRow As Integer
Dim Lcolumn As Integer
UserInput = ComboTanggal.Text
If UserInput = "" Then End
On Error Resume Next
userdata = UserInput
If Err.Number = 13 Then MsgBox "Maaf, Anda tidak memasukan tanggal
dengan benar": End
On Error GoTo 0
For Each mycell In ActiveSheet.UsedRange
If mycell.Cells.Value = userdata Then
mycell.Select
xRow = mycell.Row
Lcolumn = mycell.Column
End If
Next
'Memasukan data vibrasi ke worksheet PrintNG
On Error Resume Next
Worksheets("PrintNG").Range("E10").Value = Cells(xRow, 2).Value
Worksheets("PrintNG").Range("E9").Value = Cells(xRow, 3).Value
Worksheets("PrintNG").Range("E15").Value = Cells(xRow, 4).Value
Worksheets("PrintNG").Range("E16").Value = Cells(xRow, 5).Value
Worksheets("PrintNG").Range("H15").Value = Cells(xRow, 6).Value
Worksheets("PrintNG").Range("C17").Value = Cells(xRow, 7).Value
Worksheets("PrintNG").Range("C18").Value = Cells(xRow, 8).Value
Worksheets("PrintNG").Range("H17").Value = Cells(xRow, 9).Value
Worksheets("PrintNG").Range("H18").Value = Cells(xRow, 10).Value
Worksheets("PrintNG").Range("C19").Value = Cells(xRow, 11).Value
Worksheets("PrintNG").Range("C20").Value = Cells(xRow, 12).Value
Worksheets("PrintNG").Range("C21").Value = Cells(xRow, 13).Value
Worksheets("PrintNG").Range("G21").Value = Cells(xRow, 14).Value
'----------------------------------------------------------\
----------
Worksheets("PrintNG").Range("C25").Value = Cells(xRow, 15).Value
Worksheets("PrintNG").Range("E25").Value = Cells(xRow, 16).Value
Worksheets("PrintNG").Range("F25").Value = Cells(xRow, 17).Value
Worksheets("PrintNG").Range("G25").Value = Cells(xRow, 18).Value
Worksheets("PrintNG").Range("H25").Value = Cells(xRow, 19).Value
Worksheets("PrintNG").Range("I25").Value = Cells(xRow, 20).Value
Worksheets("PrintNG").Range("J25").Value = Cells(xRow, 21).Value
Worksheets("PrintNG").Range("K25").Value = Cells(xRow, 22).Value
Worksheets("PrintNG").Range("L25").Value = Cells(xRow, 23).Value
Worksheets("PrintNG").Range("M25").Value = Cells(xRow, 24).Value
Worksheets("PrintNG").Range("Q25").Value = Cells(xRow, 25).Value
Worksheets("PrintNG").Range("S25").Value = Cells(xRow, 26).Value
Worksheets("PrintNG").Range("T25").Value = Cells(xRow, 27).Value
Worksheets("PrintNG").Range("C26").Value = Cells(xRow, 28).Value
Worksheets("PrintNG").Range("E26").Value = Cells(xRow, 29).Value
Worksheets("PrintNG").Range("F26").Value = Cells(xRow, 30).Value
Worksheets("PrintNG").Range("G26").Value = Cells(xRow, 31).Value
Worksheets("PrintNG").Range("H26").Value = Cells(xRow, 32).Value
Worksheets("PrintNG").Range("I26").Value = Cells(xRow, 33).Value
Worksheets("PrintNG").Range("J26").Value = Cells(xRow, 34).Value
Worksheets("PrintNG").Range("K26").Value = Cells(xRow, 35).Value
Worksheets("PrintNG").Range("L26").Value = Cells(xRow, 36).Value
Worksheets("PrintNG").Range("Q26").Value = Cells(xRow, 37).Value
Worksheets("PrintNG").Range("S26").Value = Cells(xRow, 38).Value
Worksheets("PrintNG").Range("T26").Value = Cells(xRow, 39).Value
'----------------------------------------------------------\
------
Worksheets("PrintNG").Range("C27").Value = Cells(xRow, 40).Value
Worksheets("PrintNG").Range("E27").Value = Cells(xRow, 41).Value
Worksheets("PrintNG").Range("F27").Value = Cells(xRow, 42).Value
Worksheets("PrintNG").Range("G27").Value = Cells(xRow, 43).Value
Worksheets("PrintNG").Range("H27").Value = Cells(xRow, 44).Value
Worksheets("PrintNG").Range("I27").Value = Cells(xRow, 45).Value
Worksheets("PrintNG").Range("J27").Value = Cells(xRow, 46).Value
Worksheets("PrintNG").Range("K27").Value = Cells(xRow, 47).Value
Worksheets("PrintNG").Range("L27").Value = Cells(xRow, 48).Value
Worksheets("PrintNG").Range("M27").Value = Cells(xRow, 49).Value
Worksheets("PrintNG").Range("Q27").Value = Cells(xRow, 50).Value
Worksheets("PrintNG").Range("S27").Value = Cells(xRow, 51).Value
Worksheets("PrintNG").Range("T27").Value = Cells(xRow, 52).Value
Worksheets("PrintNG").Range("C28").Value = Cells(xRow, 53).Value
Worksheets("PrintNG").Range("E28").Value = Cells(xRow, 54).Value
Worksheets("PrintNG").Range("F28").Value = Cells(xRow, 55).Value
Worksheets("PrintNG").Range("G28").Value = Cells(xRow, 56).Value
Worksheets("PrintNG").Range("H28").Value = Cells(xRow, 57).Value
Worksheets("PrintNG").Range("I28").Value = Cells(xRow, 58).Value
Worksheets("PrintNG").Range("J28").Value = Cells(xRow, 59).Value
Worksheets("PrintNG").Range("K28").Value = Cells(xRow, 60).Value
Worksheets("PrintNG").Range("L28").Value = Cells(xRow, 61).Value
Worksheets("PrintNG").Range("Q28").Value = Cells(xRow, 62).Value
Worksheets("PrintNG").Range("S28").Value = Cells(xRow, 63).Value
Worksheets("PrintNG").Range("T28").Value = Cells(xRow, 64).Value
'----------------------------------------------------------\
-------
Worksheets("PrintNG").Range("E29").Value = Cells(xRow, 65).Value
Worksheets("PrintNG").Range("F29").Value = Cells(xRow, 66).Value
Worksheets("PrintNG").Range("M29").Value = Cells(xRow, 67).Value
Worksheets("PrintNG").Range("N29"
Saya sedang punya project untuk membuat database dari excel dengan data
yang berada pada worksheet lain, dan form untuk print pada worksheet
yang lain juga. Saya mencoba dengan VBA dengan kode:
'-----------
------------
Private Sub UserForm_Initialize
Dim mycell As Range
Dim wsdatabaseNG As Worksheet
Set wsdatabaseNG = Sheets("VibDataNG"
For Each mycell In wsdatabaseNG.
With Me.ComboTanggal
.AddItem mycell.Value
.List(.ListCount - 1, 1) = mycell.Offset(
End With
Next mycell
End Sub
'-----------
------------
Private Sub PrintNG_Click(
Dim UserInput As String
Dim userdata As String
Dim mycell As Range
Dim xRow As Integer
Dim Lcolumn As Integer
UserInput = ComboTanggal.
If UserInput = "" Then End
On Error Resume Next
userdata = UserInput
If Err.Number = 13 Then MsgBox "Maaf, Anda tidak memasukan tanggal
dengan benar": End
On Error GoTo 0
For Each mycell In ActiveSheet.
If mycell.Cells.
mycell.Select
xRow = mycell.Row
Lcolumn = mycell.Column
End If
Next
'Memasukan data vibrasi ke worksheet PrintNG
On Error Resume Next
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
'-----------
----------
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
'-----------
------
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
Worksheets("
'-----------
-------
Worksheets("
Worksheets("
Worksheets("
Worksheets("