BruceMutton
Geotechnical
- Sep 4, 2001
- 15
The opposite of this is easy to do, using
[tt]Object.CodePage[/tt]
however [tt]CodePage.Parent[/tt] only steps up the VBA object hierachy towards the VBE.
The only way I can think of is by brute force...
[tt]For Each <worksheet & object> In ThisWorkbook
If <worksheet & object>.CodePage Is <codepage I'm looking for> Then
Msgbox "This is the Object that belongs to the CodePage!"
End If
Next <> [/tt]
Any better ideas?
[tt]Object.CodePage[/tt]
however [tt]CodePage.Parent[/tt] only steps up the VBA object hierachy towards the VBE.
The only way I can think of is by brute force...
[tt]For Each <worksheet & object> In ThisWorkbook
If <worksheet & object>.CodePage Is <codepage I'm looking for> Then
Msgbox "This is the Object that belongs to the CodePage!"
End If
Next <> [/tt]
Any better ideas?