View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
kirkm[_7_] kirkm[_7_] is offline
external usenet poster
 
Posts: 91
Default Very basic question, please


This must be blindingly easy, but I can't figure it.

The working example is -

frmSerial.imgLabelA.Picture = frmLabelIcons.imgDecca.Picture

However, the 'imgDecca' bit is a variable string. So how do you
properly code the equivalent of this -

frmSerial.imgLabelA.Picture = frmLabelIcons. & "imgDecca" & .Picture

I've tried everything I can think of ! Brackets, CStr... you name it.
They all fail.

Thanks for any help.

Cheers - Kirk