Function fileFolderExists(strFullPath as String) as Boolean
If Not Dir(strFullPath,vbDirectory)=vbNullString then
fileFolderExists=true
End If
End Function
Sub SetShapeInfo()
Dim shape As shape
For Each shape In Activesheet.Shapes
shape.Placement=xlMoveAndSize
next
End Function
Sub PrintAreaInfo()
Dim printArea As String
printArea=ThisWorkbook.Range("Print_Area").Address
ThisWorkbook.PageSetup.printArea=<Adsress>
End Sub
rangeName=replace(Cells(1,column).Address(0,0),"1","")
column=Range("A1:" & rangeName & "1").Cells.count
网友评论