媒体资源管理系统源程序.docx
《媒体资源管理系统源程序.docx》由会员分享,可在线阅读,更多相关《媒体资源管理系统源程序.docx(10页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、Sub tianjia_zz()If Sheets(郑州上画).Cells(2, 1).Value = 0 ThenMsgBox (无添加项)Exit SubElseEnd IfDim x, y, n, m, l As LongSheets(郑州).Cells(1, 18) = =counta(郑州上画!a:a)For n = 2 To Sheets(郑州).Cells(1, 18) + 1If Sheets(郑州上画).Cells(n, 1).Value = ThenMsgBox (添加成功)Exit SubElseEnd IfFor x = 4 To 600y = 7If Sheets(郑
2、州).Cells(x, 2) = Sheets(郑州上画).Cells(n, 1) Thenl = 0For m = 7 To 12If Sheets(郑州).Cells(x, m) = Sheets(郑州上画).Cells(1, 7) And Sheets(郑州上画).Cells(1, 7).Value 0 Thenl = l + 1ElseEnd IfNext mIf l = 0 ThenDo Until (IsEmpty(Sheets(郑州).Cells(x, y).Value)y = y + 1LoopIf Sheets(郑州).Cells(x, 16) 断电 And Sheets(郑
3、州).Cells(x, 13) 0 ThenSheets(郑州).Cells(x, y) = Sheets(郑州上画).Cells(1, 7)Sheets(郑州上画).Cells(n, 6) = 可上ElseIf Sheets(郑州).Cells(x, 16) = 断电 And Sheets(郑州).Cells(x, 13) = 6 ThenSheets(郑州).Cells(x, y) = Sheets(郑州上画).Cells(1, 7)Sheets(郑州上画).Cells(n, 6) = 可上ElseSheets(郑州上画).Cells(n, 6) = 不可用Sheets(郑州上画).Cel
4、ls(n, 7) = Sheets(郑州).Cells(x, 7)Sheets(郑州上画).Cells(n, 8) = Sheets(郑州).Cells(x, 8)Sheets(郑州上画).Cells(n, 9) = Sheets(郑州).Cells(x, 9)Sheets(郑州上画).Cells(n, 10) = Sheets(郑州).Cells(x, 10)Sheets(郑州上画).Cells(n, 11) = Sheets(郑州).Cells(x, 11)Sheets(郑州上画).Cells(n, 12) = Sheets(郑州).Cells(x, 12)End IfElseSheets
5、(郑州上画).Cells(n, 6) = 与原选点位重复,请重新选择!End IfElseEnd IfNext xNext nEnd SubSub tianjia_qz()If Sheets(郑州上画).Cells(2, 1).Value = 0 ThenMsgBox (无添加项)Exit SubElseEnd IfDim x, y, n, m, l As LongSheets(郑州).Cells(1, 18) = =counta(郑州上画!a:a)For n = 2 To Sheets(郑州).Cells(1, 18) + 1If Sheets(郑州上画).Cells(n, 1).Value
6、 = ThenMsgBox (添加成功)Exit SubElseEnd IfFor x = 4 To 600If Sheets(郑州).Cells(x, 2) = Sheets(郑州上画).Cells(n, 1) ThenSheets(郑州).Cells(x, 17) = Sheets(郑州上画).Cells(1, 7)ElseEnd IfNext xNext nEnd SubSub tianjia_dd()If Sheets(郑州上画).Cells(2, 1).Value = ThenMsgBox (无添加项)Exit SubElseEnd IfDim x, y, n As LongFor
7、y = 3 To 1000Sheets(郑州).Cells(y, 16) = Next ySheets(郑州).Cells(1, 18) = =counta(郑州上画!a:a)n = 2For n = 2 To Sheets(郑州).Cells(1, 18) + 1If Sheets(郑州上画).Cells(n, 1).Value = ThenMsgBox (添加成功)Exit SubElseEnd Ifx = 3Sheets(郑州).Cells(1, 18) = Sheets(郑州上画).Cells(n, 1)Do Until Sheets(郑州).Cells(x, 2) = Sheets(
8、郑州).Cells(1, 18)x = x + 1LoopSheets(郑州).Cells(x, 16) = 断电Next nEnd SubSub tianjia_zx()Dim x, n As Longn = 2For x = 4 To 1000If Sheets(郑州).Cells(x, 13) 0 And Sheets(郑州).Cells(x, 16) 断电 ThenSheets(郑州上画).Cells(n, 1) = Sheets(郑州).Cells(x, 2)If Sheets(郑州).Cells(x, 15) 无超链接 ThenSheets(郑州上画).SelectSheets(郑
9、州上画).Hyperlinks.Add anchor:=Sheets(郑州上画).Cells(n, 1), Address:=Sheets(郑州).Cells(x, 2).Hyperlinks(1).AddressEnd IfSheets(郑州上画).Cells(n, 2) = Sheets(郑州).Cells(x, 3)Sheets(郑州上画).Cells(n, 3) = Sheets(郑州).Cells(x, 4)Sheets(郑州上画).Cells(n, 4) = Sheets(郑州).Cells(x, 5)Sheets(郑州上画).Cells(n, 5) = Sheets(郑州).Ce
10、lls(x, 6)Sheets(郑州上画).Cells(n, 6) = Sheets(郑州).Cells(x, 13)n = n + 1ElseEnd IfNext xIf Sheets(郑州).Cells(x, 2) = ThenMsgBox (最新点位生成成功)Exit SubElseEnd IfEnd SubSub tianjia_QK()Sheets(郑州上画).Cells(1, 7) = Sheets(郑州上画).Range(A2:Q1000).ClearContentsMsgBox (清除成功)End SubSub tianjia_zdsc()If Sheets(郑州上画).Cel
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 媒体 资源管理 系统 源程序
限制150内