View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
WayneK[_9_] WayneK[_9_] is offline
external usenet poster
 
Posts: 2
Default Post File Size In Cell

Hello. I am fairly new to using VBA with Excel.

I have a Data Validation list of a filenames with a directory.
Once I make a filename selection from the list, I'd like the
file's size to be placed into a specific cell.

For example, if I chose from the Data Validaton List
"C:\Temp\Parts.xls", I'd like it's equivalent file size to be
placed into cell B1 on Sheet1.

What VBA code would accomplish this?

Thank you for your help.

Wayne