ufak bir çalışma ama geliştirilebilir.
aktarılacak tabloyu
excel dosyasını ve Excel sayfasını seçip butona basınca
isterseniz yeni tablo olarak isterseniz de var olan tabloya aktarıyor
Not: maalesef 2 eksiği var
1 - Excelden alan aktaramıyorsunuz
2 - sayfa isminde boşluk varsa sorun çıkıyor
dilerim işinize yarar
bu sürümde
1 - tabloya alan da aktarabiliyorsunuz
2 - sayfa isminde boşluk varsa sorunsuz bir şekilde aktarıyor
3 - mümkün olduğunca hata önleme kodları eklendi
4 - dosya seçme iptalindeki hata giderildi
Not: Benim denemelerimde sorun çıkmadı ama garantisi yok)
5 - tablo eklemek yada bağlama özelliği
19 Şubat 2020 tarihli güncelleme: https://accesstr.net/attachment.php?aid=31520
xxxxxxxxxxxxxx
Public Function GetHexColor(strHex As String) As Long
'converts Hex string to long number, for colors
'the leading # is optional
'example usage
'Me.iSupplier.BackColor = HexColor("FCA951")
'Me.iSupplier.BackColor = HexColor("#FCA951")
'the reason for this function is to programmatically use the
'Hex colors generated by the color picker.
'The trick is, you need to reverse the first and last hex of the
'R G B combination and convert to Long
'so that if the color picker gives you this color #FCA951
'to set this in code, we need to return CLng(&H51A9FC)
Dim strColor As String
Dim strR As String
Dim strG As String
Dim strB As String
'strip the leading # if it exists
If Left(strHex, 1) = "#" Then
strHex = Right(strHex, Len(strHex) - 1)
End If
'reverse the first two and last two hex numbers of the R G B values
strR = Left(strHex, 2)
strG = Mid(strHex, 3, 2)
strB = Right(strHex, 2)
strColor = strB & strG & strR
GetHexColor = CLng("&H" & strColor)
End Function
'converts Hex string to long number, for colors
'the leading # is optional
'example usage
'Me.iSupplier.BackColor = HexColor("FCA951")
'Me.iSupplier.BackColor = HexColor("#FCA951")
'the reason for this function is to programmatically use the
'Hex colors generated by the color picker.
'The trick is, you need to reverse the first and last hex of the
'R G B combination and convert to Long
'so that if the color picker gives you this color #FCA951
'to set this in code, we need to return CLng(&H51A9FC)
Dim strColor As String
Dim strR As String
Dim strG As String
Dim strB As String
'strip the leading # if it exists
If Left(strHex, 1) = "#" Then
strHex = Right(strHex, Len(strHex) - 1)
End If
'reverse the first two and last two hex numbers of the R G B values
strR = Left(strHex, 2)
strG = Mid(strHex, 3, 2)
strB = Right(strHex, 2)
strColor = strB & strG & strR
GetHexColor = CLng("&H" & strColor)
End Function
Merhaba,
Bir arkadaşımın ihtiyacı için çeşitli programlardan faydalanarak ve takıldığım yerlerde soru sorarak yapmış olduğum basit bir apartman/site programıdır. Çok daha iyi alternatifi bu sitede ve İnternet var ama, belki ihtiyacı olan arkadaşların işine yarar düşüncesiyle ekte sunuyorum.
Saygılarımla
Bir arkadaşımın ihtiyacı için çeşitli programlardan faydalanarak ve takıldığım yerlerde soru sorarak yapmış olduğum basit bir apartman/site programıdır. Çok daha iyi alternatifi bu sitede ve İnternet var ama, belki ihtiyacı olan arkadaşların işine yarar düşüncesiyle ekte sunuyorum.
Saygılarımla
Hoşgeldin, Ziyaretçi
Forum İstatistikleri
Kimler Çevrimiçi
Şu anda 70 aktif kullanıcı var.
AdsenseBot, AhrefsBot, Bing Bot, Facebook Spider, Google Bot, PetalBot, SemrushBot, Trendiction, majestic12, C*e*l*o*y*c*e
(1 Üye - 60 Ziyaretçi)
Son Yazılanlar
Mutfak Takip
Yorum
3
•
Okunma
108
Access Html Gantt Chart
Yorum
2
•
Okunma
165
Site Ve Apartman Yönetim ...
Yorum
23
•
Okunma
8.166