Before writing values to the sheet, make sure that the dictionary is populated.
Try it like this...
If .Count > 0 Then Range("X5").Offset(0, c - 1).Resize(.Count).Value = Application.Transpose(.Keys) End If
Before writing values to the sheet, make sure that the dictionary is populated.
Try it like this...
If .Count > 0 Then Range("X5").Offset(0, c - 1).Resize(.Count).Value = Application.Transpose(.Keys) End If
Regards
sktneer
Treat people the way you want to be treated. Talk to people the way you want to be talked to.
Respect is earned NOT given.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks