Categories
Microsoft Office Productivity Technology

Outlook Macro – Lookup

How often are you in Outlook and you receive an e-mail from someone and you want to know a little bit more about them. It may be as simple as looking up their phone number so that you can get back to them.

This lookup may be on your own intranet site or using LinkedIn, Facebook or Twiter.

The following Outlook macro will allow you to do this.

Categories
Productivity Technology

Keep Recent Folders Delete Older In DOS

There are often scenarios such as rolling backups or rolling logfiles where I create folders which have the date in the folder name.

HINT: Using the format YYYYMMDD means that an alphabetic search is also chronological!

In most cases I only want to keep a certain number of these folders and delete the older ones. The following script will implement this deletion process.

Categories
Productivity Technology

Format Date in DOS Command Line

For any dos batch files that I run on a regular basis I commonly want to create a folder or a text file with the current date in the file name. I’m a purist and I like my dates formatted as YYYYMMDD so that an alphabetic sort is also chronological.

The following script will place the current date into a variable in the required format.

Categories
Microsoft Office Productivity Technology

Track Changes In Excel

One of the main reasons that I use Microsoft Excel is to keep lists to share with multiple people. Microsoft Word has great versioning and colabarative editing capabilities, Excel not so much. The main problem I have is knowing when a particular row has been changed and who changed it.

The following macro implements this.

Categories
Microsoft Office Technology

Filter Cells In Excel With Strike Through Formatting

I have just finished reviewing an excel spreadsheet where a number of the rows were formatted with strikethough : like this.

The formatting was valid and the rows have to stay there – but I have no need to review those rows. In excel you can filter rows, by contents or even by colour but not by format.

Enter a VBA user function:

Categories
Microsoft Office Productivity Technology

Uselfull Excel Macro – Make Contents Page

I commonly have large excel spreadsheets with many tabs or worksheets within the same workbook.

I use the following Microsoft excel macro to generate a contents page.

NOTE: I’m assuming the “Contents” worksheet will be the first and the list will be generated from A2 downwards.

Private Sub CommandButton1_Click()
    For i = 2 To Sheets.Count
        Range("a" & i) = Sheets(i).Name
        ActiveSheet.Hyperlinks.Add Anchor:=Range("a" & i), Address:="", SubAddress:="'" & Sheets(i).Name & "'!A1", TextToDisplay:=Sheets(i).Name
    Next i
    Columns("A:A").EntireColumn.AutoFit
End Sub
Categories
Reading Ross

What I’m Reading – The Martian

It’s been a while since I found a true “can’t put down” book.

I have found one The Martian by Andy Weir:

The story of an astronaut left on Mars.

Categories
Me Quantified Self Technology

Hacking Sleep – What Works For Me

The Problem

For a long while I have struggled with the amount a quality of sleep I get so I decided to address this. For years I was using a FitBit Ultra and this allowed me to track the quality and duration of my sleeping. I have made a number of changes to slowly address this problem.

I knew I had a problem when my really loud buzzy alarm clock and the TWO alarms set on my mobile phone failed to get me to wake in the morning.

Categories
AutoHotkey Productivity Technology

Tools I Use – Auto Hot Key

I have decided to start a small series of posts where I share some of my tools, tips and tricks as to how I make my work and personal life a bit “better”.

The first of these tools is AutoHotkey.

“Fast scriptable desktop automation with hotkeys. Creating your own apps and macros has never been easier”