Link to home
Create AccountLog in
Avatar of RedRado03
RedRado03

asked on

Add data to an existing excel file??

How do you add to an existing excel speadsheet??  Say the excel file exists with 2 columns and x amount of rows.  With a vb form you have your firstname in a label or textbox and your lastname in another.  When you hit an add button it adds the text to excel file in the next available row with the firstname in the first column and lastname in the second column.  Can this also be do without actually opening the file?  
ASKER CERTIFIED SOLUTION
Avatar of hatem72
hatem72

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of sbarrow1
sbarrow1

If you save the spreadsheet as a comma separated file .cvs then you can append to it using file i/o.  If will still open the file but not use xcel to do it if that is what you are after.

Cheers

Stephen