ReplaceFormat

N

Neil

Im trying to migrate an excel workbook from pc to mac. I have some VBA
in the back ground so when I double click on a cell, the macro will
search through a region and reformat all the cells matching the value
of the "double-clicked" cell to a new color. The problem is on the
Mac, the "Application.ReplaceFormat" method causes an error. In fact
when I look at the menus on in excel (on the mac) I can't seem to find
the "format color" option in the "find and replace" menu. Is there a
work around for this? Does "Application.ReplaceFormat" not exist on
the mac version of excel?
 
B

Bob Greenblatt

Im trying to migrate an excel workbook from pc to mac. I have some VBA
in the back ground so when I double click on a cell, the macro will
search through a region and reformat all the cells matching the value
of the "double-clicked" cell to a new color. The problem is on the
Mac, the "Application.ReplaceFormat" method causes an error. In fact
when I look at the menus on in excel (on the mac) I can't seem to find
the "format color" option in the "find and replace" menu. Is there a
work around for this? Does "Application.ReplaceFormat" not exist on
the mac version of excel?
Correct. Application.Replaceformat does not exist in Macintosh VBA. To get
this to work on the Mac, you'll have to do this a different way, like
storing the active cell's format attributes and then applying them to the
range.
 
N

Neil

Correct. Application.Replaceformat does not exist in Macintosh VBA. To get
this to work on the Mac, you'll have to do this a different way, like
storing the active cell's format attributes and then applying them to the
range.

Thanks, so Im not crazy!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top