Click here to Skip to main content
15,903,175 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
how i add a row to an existing/opened spreadsheet. i don't want to create a new spreadsheet everytime. i have tried this code:
VB
oSheet.range ("A2").value = txtOrderNumber.text
oSheet.range("B2").value = txtQuantity.text
'Save the workbook
oBook.saveas(fileName)
oSheet = Nothing


The idea here is to open a spreadsheet once and add information to it until end of day. Please help!!

Thanks
Posted
Updated 18-May-11 22:52pm
v3

1 solution

Well goole is your best Teacher so here is a link which would help you


http://msdn.microsoft.com/en-us/library/aa168292%28v=office.11%29.aspx[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900