My girlfriend had a similar problem when she took her European laptop to the US. Look on the power adapter of your laptop (an external brick looking thing). There it should say what voltage it can handle, in the US it is 120 at 50Hz and in Europe it is 240 Voltz at 60Hz (I think, correct me if I am wrong). If it can handle the euro power, you just need a socket adaptor for it to plug into a spanish outlet. My girlfriend had no trouble with hers with just a cheap socket adapter.

Since laptops are made for traveling they usually can handle the different voltages, but always check. You may have trouble with your other electronics as they are not as well built as your laptop. Many electronics donīt work with foreign power sources. My girlfriendīs printer that came with her laptop didnīt work in the US. Because of this, think about how you will recharge your camera if it doesnīt run on standard batteries. I have seen some kits that are supposed to be full voltage converters that allow you to run electronics from different countries, but they are a little bigger and more expensive than the plain socket converters.