This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Function LastRow(sh As Worksheet) | |
| On Error Resume Next | |
| LastRow = sh.Cells.Find(What:="*", _ | |
| After:=sh.Range("A1"), _ | |
| Lookat:=xlPart, _ | |
| LookIn:=xlFormulas, _ | |
| SearchOrder:=xlByRows, _ | |
| SearchDirection:=xlPrevious, _ | |
| MatchCase:=False).Row | |
| On Error GoTo 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sub Merge_Across() | |
| Dim sh As Worksheet | |
| Dim DestSh As Worksheet | |
| Dim Last As Long | |
| Dim CopyRng As Range | |
| With Application | |
| .ScreenUpdating = False | |
| .EnableEvents = False | |
| End With |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sub Merge_Down() | |
| Dim ws As Worksheet | |
| ActiveSheet.UsedRange.Offset(0).Clear | |
| For Each ws In ActiveWorkbook.Worksheets | |
| If ws.Name <> ActiveSheet.Name Then | |
| ws.UsedRange.Copy | |
| Range("A65536").End(xlUp).Offset(1, 0).Select | |
| Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _ | |
| False, Transpose:=False | |
| Selection.PasteSpecial Paste:=xlFormats, Operation:=xlNone, SkipBlanks:= _ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| img.centre { | |
| display: block; | |
| margin-left: auto; | |
| margin-right: auto; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DoCmd.SetWarnings (False) | |
| DoCmd.SetWarnings (True) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-XXXXX-X']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Public Sub CompactDB() | |
| CommandBars("Menu Bar"). _ | |
| Controls("Tools"). _ | |
| Controls("Database utilities"). _ | |
| Controls("Compact and repair database..."). _ | |
| accDoDefaultAction | |
| End Sub |