VBA Excel
来源:互联网 发布:阿里云邮电脑客户端 编辑:程序博客网 时间:2024/06/02 14:43
Sub testIsVaildGeo() Dim shs As Object Set shs = Sheets(1) Dim row As Integer Dim Lng As Integer Dim Lat As Integer row = 3 Lng = 4 Lat = 5 Do With shs.Cells(row, Lat) If .Value < 0 Or .Value > 90 Then .Font.Color = RGB(255, 0, 0) Else .Font.Color = RGB(0, 0, 0) End If End With row = row + 1 Loop Until IsEmpty(shs.Cells(row, Lat)) row = 3 Do With shs.Cells(row, Lng) If .Value < 0 Or .Value > 180 Then .Font.Color = RGB(255, 0, 0) Else .Font.Color = RGB(0, 0, 0) End If End With row = row + 1 Loop Until IsEmpty(shs.Cells(row, Lng))End Sub
阅读全文
0 0
- Excel Vba
- excel VBA
- Excel VBA
- EXCEL+VBA
- Excel VBA
- Excel VBA
- Excel VBA
- VBA Excel
- Excel中的VBA编程
- VBA for EXCEL FAQ
- Microsoft Excel VBA Examples
- Excel VBA 重要参考
- excel 问题,vba
- EXCEL VBA中的类
- Excel VBA教程
- 用VBA处理Excel
- Excel VBA笔记
- Excel VBA笔记2
- 加密文章见cnblog
- Android okHttp文件下载并带进度条的demo(简单工具类)
- NIO之ByteBuffer
- 在屏幕上打印杨辉三角
- 顺序栈和链栈的实现(实验3.1)
- VBA Excel
- 讲故事,学(Java)设计模式—桥接模式
- [LeetCode]412. Fizz Buzz
- 获取字符串中最长的连续数字字符串或最长的非数字字符串
- 实现一个函数,打印乘法口诀表,口诀表的行数和列数自己指定, 输入9,输出9 * 9口诀表,输出12,输出12 * 12的乘法口诀表。
- Android版本号
- 磁盘调度算法FIFO、SSTF、SCAN、CSCAN、FSCAN
- HDU 5950 Recursive sequence(矩阵)
- 使用IIS在Windows上托管ASP.NET Core(本文仅针对Window服务器)