RE: "Would it simply make the file too huge? or
would it take a long time to load the file? or
would it slow the computer down having to keep track of 20,000 shapes
while within the database? Is the problem having the 20,000 shapes? "
Answer: Yes
When writing a Excel program the core code is oft times the easy part.
The fun(?) comes with making something useful out of it.
My Find and List utility (finding and listing code portion) was done in a couple of hours.
It was 3 weeks later before it was considered usable.
You are entering the fun part. <g>
You might be able to find some sort of flag font or create one using
the windows character editor. (C:\WINDOWS\system32\eudcedit.exe)
That would eliminate the shapes.
Doing the rest of it is more fun than I want to have right now.
Others however may want to pitch in.
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)
in message
Ahh.. okay!
Out of curiosity, why would it not be a good idea? Would it simply make the
file too huge? or would it take a long time to load the file? or would it
slow the computer down having to keep track of 20,000 shapes while within the
database? Is the problem having the 20,000 shapes? Or having 20,000 shapes
with macros?
I had figured (I gather incorrectly) that it would actually be less of a
load having the macro run only when a flag was clicked. It seemed when the
code is in the sheet module, as you showed me, the macro ran everytime I
moved the active cell regardless of where it was in the database. Is this a
problem? Is there a way to make it run only when the cell in Column C is
double clicked? Or is this not an issue, and I'm worrying needlessly?
Going with the first code you gave me, a few minor issues came up, that I
would be greatful if you could help me with:
1) It only works when the sheet is unprotected. I got around this by
unlocking Column E.. Is there a better way to do this?
2) I've got Column D (the spanish words) in blue, so it is apparent when the
translated spanish is being dispayed, but when the code displays the spanish
word in Column E it removes the color. I've tried adding the following to
the code, but I must be putting it in the wrong spot or something, cause it
isn't working:
With Selection.Font.ColorIndex = 5
End With
3) Instead of double clicking the cell in Column C, can it be changed to
just selecting that cell? I had initially been asking about double clicking,
cause that was the only way I knew of to get the spanish word to appear over
the english.
4) If I don't have a spanish translation in Column D yet, and I click C, it
empties the cell in Column E. I know the English word will appear back when
I select something else, but (though it seems counter-intuitive) I would the
english word to remain in this instance.
Sorry, for all the questions. The more I mess with this, the more
overwelmed, I feel. I'm struggling to figured this out, frustrated at the
spped I'm learning, and I can't tell you how much appreciate your help with
this!
Thanks again!