View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jim Hudson Jim Hudson is offline
external usenet poster
 
Posts: 1
Default Automating Excel with Java Script

I'm trying to write some client-side functions to populate an Excel template. Everything works except for the Worksheet.Copy() method. I cannot find an example in JavaScript. Do you know how to convert the following line of VBA code to JavaScript

Worksheets(1).Copy after:=Worksheets(ThisWorkbook.Worksheets.Count

Thanks