Skip to content

Instantly share code, notes, and snippets.

Avatar

Charles Clayton crclayton

View GitHub Profile
@crclayton
crclayton / DatePickerCalendar.cs
Created Aug 23, 2016
C# code to have a date picker for only the month/year in WPF
View DatePickerCalendar.cs
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Threading;
using Calendar = System.Windows.Controls.Calendar;
View ExcelColumns.vbs
'put the excel file, the image folder, and the script in the same folder
spreadsheetName = "Countries.xlsx"
imagesType = ".png"
imageNameColumn = "A"
imageColumn = "D"
imageWidth = 150
Set objExcel = CreateObject("Excel.Application")