Create Excel file from a Excel Template programmatically

santony

New Member
Joined
Aug 5, 2010
Messages
7
Hi,

I have an Excel template and trying to create a copy of the Excel template programmatically.

I would really appreciate if somebody can give some tips to how to get it done.

Thanks,
Antony
 

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
34,509
Office Version
365, 2019, 2016, 2010
Platform
Windows, MacOS
Assuming you mean you want to create a workbook based on the template:
Code:
workbooks.Add "C:\path to templatel\template name.xlt"
 

Forum statistics

Threads
1,084,859
Messages
5,380,328
Members
401,665
Latest member
iahmad

Some videos you may like

This Week's Hot Topics

Top