Hi all
I have a question about special cells.
I am using Selection.SpecialCells(xlCellTypeConstants, 1).Select to copy / paste special - multiply to switch between GB£ and US$ in a large worksheet.
The problem is, the code is altering dates and percentages that should stay erm, constant.
Is there a way to tell the function to only look at certain fields, i.e. to ignore the dates and percentages?
My guess is that isn't easy as there is no real way to tell the difference between a number and a percentage value, so plan b would be to specify the columns that need updating. Is there an easy way to combine xlcelltyoeconstants and specified columns only, bearing in mind they are not necessarily next to each other. Example (cols B:P, U:V, AD:AJ, AL).select
Many thanks
I have a question about special cells.
I am using Selection.SpecialCells(xlCellTypeConstants, 1).Select to copy / paste special - multiply to switch between GB£ and US$ in a large worksheet.
The problem is, the code is altering dates and percentages that should stay erm, constant.
Is there a way to tell the function to only look at certain fields, i.e. to ignore the dates and percentages?
My guess is that isn't easy as there is no real way to tell the difference between a number and a percentage value, so plan b would be to specify the columns that need updating. Is there an easy way to combine xlcelltyoeconstants and specified columns only, bearing in mind they are not necessarily next to each other. Example (cols B:P, U:V, AD:AJ, AL).select
Many thanks