drew _'s Profile

Member since Aug 17, 2006, follows 2 people, 1 public groups, 3137 public bookmarks (3342 total).

More »
Tags

Recent Tags:
Top Tags:

More »
Recent Bookmarks and Annotations

  • ForcePAD on 2009-11-20
  • Clicker - What's On Online on 2009-11-19
  • Maybe Baby Einstein's founder isn't an American hero after all. - By Timothy Noah - Slate Magazine on 2009-11-16
    • offer a refund to anyone who purchased a Baby Einstein DVD between June 5, 2004, and Sept. 4, 2009, (which covers President Bush's January 2007 pitch). The company already offered a 60-day money-back guarantee for its videos, but the new refund offer gives consumers until March 2010 to return videos purchased during the designated time period and requires no receipt.
  • Insert Rows using a Macro on 2009-11-13
    • Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
      'David McRitchie, 2007-09-07 insrtrow.htm on double-click
      '-- will copy more often than Extend Formulas and Format (tools option)
      Cancel = True
      Target.EntireRow.Copy
      Cells(Target.Row + 1, 1).EntireRow.Insert
      Cells(Target.Row + 1, 1).EntireRow.Select
      ActiveSheet.Paste
      Application.CutCopyMode = False
      On Error Resume Next
      '-- customize range for what cells constants can be removed --
      Intersect(Selection, Range("b:IV")).SpecialCells(xlConstants).ClearContents
      On Error GoTo 0
      End Sub
  • Google Guide Quick Reference: Google Advanced Operators (Cheat Sheet) on 2009-11-13
  • VBA Express : Excel - Combine All Workbooks from One Folder Skipping Blank Sheets on 2009-11-12
    • Option Explicit

      '32-bit API declarations
      Declare Function SHGetPathFromIDList Lib "shell32.dll" _
      Alias "SHGetPathFromIDListA" (ByVal pidl As Long, ByVal _
      pszpath As String) As Long

      Declare Function SHBrowseForFolder Lib "shell32.dll" _
      Alias "SHBrowseForFolderA" (lpBrowseInfo As BrowseInfo) _
      As Long

      Public Type BrowseInfo
      hOwner As Long
      pIDLRoot As Long
      pszDisplayName As String
      lpszTitle As String
      ulFlags As Long
      lpfn As Long
      lParam As Long
      iImage As Long
      End Type

      Function GetDirectory(Optional msg) As String
      On Error Resume Next
      Dim bInfo As BrowseInfo
      Dim path As String
      Dim r As Long, x As Long, pos As Integer

      'Root folder = Desktop
      bInfo.pIDLRoot = 0&

      'Title in the dialog
      If IsMissing(msg) Then
      bInfo.lpszTitle = "Please select the folder of the excel files to copy."
      Else
      bInfo.lpszTitle = msg
      End If

      'Type of directory to return
      bInfo.ulFlags = &H1

      'Display the dialog
      x = SHBrowseForFolder(bInfo)

      'Parse the result
      path = Space$(512)
      r = SHGetPathFromIDList(ByVal x, ByVal path)
      If r Then
      pos = InStr(path, Chr$(0))
      GetDirectory = Left(path, pos - 1)
      Else
      GetDirectory = ""
      End If
      End Function

      Sub CombineFiles()
      Dim path As String
      Dim FileName As String
      Dim LastCell As Range
      Dim Wkb As Workbook
      Dim WS As Worksheet
      Dim ThisWB As String

      ThisWB = ThisWorkbook.Name
      Application.EnableEvents = False
      Application.ScreenUpdating = False
      path = GetDirectory
      FileName = Dir(path & "\*.xls", vbNormal)
      Do Until FileName = ""
      If FileName <> ThisWB Then
      Set Wkb = Workbooks.Open(FileName:=path & "\" & FileName)
      For Each WS In Wkb.Worksheets
      Set LastCell = WS.Cells.SpecialCells(xlCellTypeLastCell)
      If LastCell.Value = "" And LastCell.Address = Range("$A$1").Address Then
      Else
      WS.Copy After:=ThisWorkbook.Sheets(ThisWorkbook.Sheets.Count)
      End If
      Next WS
      Wkb.Close False
      End If
      FileName = Dir()
      Loop
      Application.EnableEvents = True
      Application.ScreenUpdating = True

      Set Wkb = Nothing
      Set LastCell = Nothing
      End Sub
  • LinuxCNC.org - Home on 2009-11-12
  • Create your own Wallpaper - X3 Studios on 2009-11-12
  • food52 on 2009-11-12
  • Cookstr on 2009-11-12

More »
Bookmark Lists

More »
Groups

  • Diigo Community

    1078 members, 3441 items

    Share your review, tips, tricks, and ideas for using Diigo here, and discuss our features, ideas for new features, anything Diigo related. Note that bookmarks posted to this group have no relation to 'Hot Bookmarks from the Diigo Community'.

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo