StrikeEagleII
Technical User
I'm trying to create a shortcut in Excel, using the Selection.PasteSpecial method ( I want to copy only the text in a cell, not the cell's formatting.) It works great when a cell has actually been copied. If no cell is copied, of course an error is returned. Is there a way to detect whether any cell has been copied? I tried the Selection method, and if a cell has been copied, the Selection method returns the copied cell's contents. If nothing's copied, though, it returns whatever cell was last clicked on. I'm sure it's a pretty simple fix, I'm just not familiar enough with VBA to know all the different properties and methods. Thanks