Posts

Showing posts from 2013

Install the tiny_tds gem on Mac OS X

Install the tiny_tds MS SQL Server GEM on Mac OS X. I kept getting this annoying error $ gem install tiny_tds -- --with-iconv-include=/usr/local/include/ --with-iconv-lib=/usr/local/lib/ Building native extensions with: '--with-iconv-include=/usr/local/include/ --with-iconv-lib=/usr/local/lib/' This could take a while... ERROR:  Error installing tiny_tds: ERROR: Failed to build gem native extension.     /Users/zhangj/.rvm/rubies/ruby-1.9.3-p448/bin/ruby extconf.rb --with-iconv-include=/usr/local/include/ --with-iconv-lib=/usr/local/lib/ checking for iconv_open() in iconv.h... no checking for iconv_open() in -liconv... no ----- libiconv is missing. ----- *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers.  Check the mkmf.log file for more details.  You may need configuration options. Provided configuration options: --with-opt-dir --with-opt-include --withou...

Make links active in Excel 2007

Make text links in cells active in Excel 2007 Sub AddCustomHyperlink() ' ' Converts each text hyperlink selected into a working hyperlink ' For Each xCell In Selection ActiveSheet.Hyperlinks.Add Anchor:=xCell, Address:=xCell.Value Next xCell ' ' End Sub