Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View AlasdairWalmsley's full-sized avatar

Alasdair Walmsley AlasdairWalmsley

  • Brighton & Hove City Council
  • Brighton, UK
View GitHub Profile
@AlasdairWalmsley
AlasdairWalmsley / gist:69c775e8f5215a91d5c46cc355edf984
Last active March 24, 2020 11:29
Split Excel Table - each row of table becomes a separate sheet in your workbook
Option Explicit
Sub Split_Excercise()
Dim wsData As Worksheet, wsNames As Worksheet, wsFilter As Worksheet
Dim Datarng As Range, FilterRange As Range
Dim rowcount As Long
Dim FilterCol As Variant
On Error GoTo progend
'******************************************************************************************************