View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
kraljb
 
Posts: n/a
Default file name from a cell value in VB


try

Dim myFileName as String

myFileName = "c/documents.pictures." & range("A1").Value & ".jpg"

Hope that helps


--
kraljb
------------------------------------------------------------------------
kraljb's Profile: http://www.excelforum.com/member.php...fo&userid=9955
View this thread: http://www.excelforum.com/showthread...hreadid=516263