After guessing a bit, the following will center the jpg both vertically and horizontally. You just select the image, do the keystroke to activate the macro (I set it to ctrl+y), and select the cell.
If anyone can help with how to auto size the jpg to fit the cell, that would be a big help. This is the insert and scale code I got from answers.microsoft.com, but I can't quite see how to do the scaling.
It seems as if it would need to be sized before it is centered, but perhaps it doesn't need to be centered if it is sized?
LMHmedchem
Bookmarks