View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
m4nd4li4[_2_] m4nd4li4[_2_] is offline
external usenet poster
 
Posts: 1
Default Add new Worksheet after filling first 256 columns

Hi,

Ignore my previous post. I got it working by changing this..

set shDest = ThisWorkbook.Sheets.Add Befo=Worksheets(1)

to this..

set shDest = ThisWorkbook.Sheets.Add (Befo=Worksheets(1))

And now it is working prefectly.

Many thanks to all who replied. My knowledge of VBA is now gettin
bigger!!!

Regards,

Bhares

--
Message posted from http://www.ExcelForum.com