close

Hi,

I am creating a workbook that needs to be able to generate additional sheets
when needed. For example, I have one page (Top Page) that lists the total
cost of timber from different suppliers plus who those suppliers are. Each
supplier has it's own sub-page where the materials they have supplied is
totalled up. At present, the Top Page has five rows that allow people to
enter the company name, address and total cost. If someone wanted to use
the workbook to add a sixth supplier, I would like for them to be able to
click on a button marked quot;Add Supplierquot;. This should then add an extra row
and automatically link it to a newly created page that will be formatted
using the same template as the pages for the other five companies. How do I
set up the macro that will do this? i tried to figure this out but could
not. Thank you.


www.mvps.org/dmcritchie/excel/sheets.htm

this site has a worksheet change code that adds a sheet when column f
changesthis site has code for adding rows
www.mvps.org/dmcritchie/excel/insrtrow.htm

heres a code that checks the selected range, if there is a sheet name
in the selected range..well I will attatch the post and you can see
what it does
forums.techguy.org/business-a...l-content.html--
davesexcel------------------------------------------------------------------------
davesexcel's Profile: www.excelforum.com/member.php...oamp;userid=31708
View this thread: www.excelforum.com/showthread...hreadid=537521

全站熱搜
創作者介紹
創作者 software 的頭像
software

software

software 發表在 痞客邦 留言(0) 人氣()