¨Ï¥ÎVBA §âAccess¶×¤J¨ìExcel ¬°¦ó¼Æ¦r·|§ïÅÜ?
- ©«¤l
- 14
- ¥DÃD
- 3
- ºëµØ
- 0
- ¿n¤À
- 52
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2014-5-7
- ³Ì«áµn¿ý
- 2015-5-11
|
¨Ï¥ÎVBA §âAccess¶×¤J¨ìExcel ¬°¦ó¼Æ¦r·|§ïÅÜ?
§Ú¦bExcel¦³¼gVBA °õ¦æªº¸Ü ¥i¥H§âAccess¸Ì±ªºªÑ²¼¸ê®Æ¶×¤J¨ìExcel
¦ý¬O¬°¤°»ò§ÚAccessªº¼Æ¦r¶×¨ìExcel«á ¼Æ¦r·|¦h¥X«Ü¦h¤p¼ÆÂI¥X¨Ó©O?
ex: ¦bAccess¸Ì± ¶}½L»ù¬O51.60 ¶×¤J¨ìExcel«á ¶}½L»ù«o·|Åܦ¨51.599998474121(¥´¶}Excel¬ÝB2Àx¦s®æ)
½Ð°Ý¤j¤j ¬°¤°»ò·|µo¥Í³o°ÝÃD? ½Ð¤j¤jÀ°§Ú¸Ñµª
ªþ¥ó-
QQ.rar (36.81 KB)
|
|
¤j®a¤¬¬ÛÀ°¦£¸Ñ¨M°ÝÃD,¤~·|¶i¨B
|
|
|
|
|
- ©«¤l
- 835
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 915
- ÂI¦W
- 16
- §@·~¨t²Î
- Win 10,7
- ³nÅ骩¥»
- 2019,2013,2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-3
- ³Ì«áµn¿ý
- 2024-11-14
|
¦^´_ 1# ³\·ç²»
¬Ý°_¨ÓÀ³¸Ó¬Opºâ»~®t,
§Úı±o¥¦¬O¥Î¯BÂI¤p¼Æ§@¬°pºâ¹Lµ{¤¤ªº¸üÅé,
©Ò¥H·|¥X²{¦¹±¡§Î.
§A¥i¥H¸Õ¸ÕŪ¨ú¸ê®Æ«á¥[¬qµ{¦¡½X(¨Ò¦p³z¹L Format ¨ç¼Æ,©Î¬Oª½±µ¥ÎRound(a*100)/100pºâ¦¡)°µ×¥¿. |
|
|
|
|
|
|
- ©«¤l
- 14
- ¥DÃD
- 3
- ºëµØ
- 0
- ¿n¤À
- 52
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2014-5-7
- ³Ì«áµn¿ý
- 2015-5-11
|
¦^´_ 2# luhpro
¥i¥H½Ð¤j¤j°µÓ½d¨Ò¶Ü!?
§Ú¤£ª¾¹D¸Ó«ç¼Ë§âFormat¨ç¼Æ¼g¦bµ{¦¡¸Ì±
ÁÂÁ¤j¤j |
|
¤j®a¤¬¬ÛÀ°¦£¸Ñ¨M°ÝÃD,¤~·|¶i¨B
|
|
|
|
|
- ©«¤l
- 835
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 915
- ÂI¦W
- 16
- §@·~¨t²Î
- Win 10,7
- ³nÅ骩¥»
- 2019,2013,2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-3
- ³Ì«áµn¿ý
- 2024-11-14
|
¦^´_ 3# ³\·ç²» - Sub nn()
- Dim lRow&, iCol%
- lRow = 2
- With Worksheets("¤U¸üªºªÑ²¼¸ê®Æ")
- Do While .Cells(lRow, 2) <> ""
- For iCol = 2 To 5
- With .Cells(lRow, iCol)
- .Value = Format(.Value, "0.00")
- End With
- Next
- lRow = lRow + 1
- Loop
- End With
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|