thetambarineman
Technical User
Hello everone,
I want to take data from some forms within my project - and place it into certain cells in excel..
i.e. each time i want the data to go beneath the existing data..
Heres what ive got so far..
'open the app
dim xcel as new excel.application
'make it viz
xcel.visible = true
'open the workbook
xcel.Workbooks.Open ("N:\Work.xls"
The workbook already has cell values along the top..
i.e. forename, surname, supervisor etc..
Range("a1:g1".select
range("g1".activate
selection.font.bold = true
selection.columns.autofit
'now i want the data thats coming off the forms to go into the cells below the current data. Each time the excel starts the new data should go into the line below...
Haven't explained this well but any help is appreciated...
Paul
I want to take data from some forms within my project - and place it into certain cells in excel..
i.e. each time i want the data to go beneath the existing data..
Heres what ive got so far..
'open the app
dim xcel as new excel.application
'make it viz
xcel.visible = true
'open the workbook
xcel.Workbooks.Open ("N:\Work.xls"
The workbook already has cell values along the top..
i.e. forename, surname, supervisor etc..
Range("a1:g1".select
range("g1".activate
selection.font.bold = true
selection.columns.autofit
'now i want the data thats coming off the forms to go into the cells below the current data. Each time the excel starts the new data should go into the line below...
Haven't explained this well but any help is appreciated...
Paul