macro to automise the task

G

Guest

I have a workbook contains 257 sheets of which 255 sheets are database
sheets,1 data download sheet and other one is query/report sheet.Everyday I
download a page (in excel format) from net (to data download sheet),contains
around 3000 records(3000 rows),from which I select 255 records and manually
updates my workbook(copy and paste).This takes about 2 to 3 hours for me to
update my workbook.my 255 sheet names are cloumn 'A' values of downloaded
page, and all column headings of my worksheets matches with col.headings of
downloaded page.In short I am matching each of my sheetname with col A:A of
data download sheet and copying that row values and pasting them in my
worksheet(last row).After updating all of my 255 sheets,I delete contents of
data download sheet for tomarrows download.Can this task be automised through
a macro,which will help a great.I am giving an example below
downloaded page(sheet):
company name. prclose open high low close totalval totalqty date
RIL 614 615 618 611 617 123456 25416
30NOV2005
CIPLA 265 266 268 258 263 325644 18254
30NOV2005

My workbook/RIL sheet
date open high low close
26 29NOV2005 611 618 610 614 (this is my last row)
27 (this row values are to be updated,copy from above sheet and pasting)


RIL/CIPLA/GLAXO(these are sheet names)
 
P

PY & Associates

You would

loop through each sheet;
loop for data
using sheet name as vlookup value to get data from download sheet (four
of them, one by one);
tuck this data to the bottom of the relevant column in the sheet;
this is getting data loop;
loop next sheet

clear contents of download sheet
 
G

Guest

Thank you for suggesting me the basics for vba code for this task,but I am
not having basic knowledge to write code.I am new learner in Excel.Can you
please give me complete code for this task.I shall be greatful if you help me.
 
P

PY & Associates

We attended to other business opportunities and did not follow up on this
news group.

Considering the amount of time and labor Excel VBA automation can save you,
and if you have not got it done, we would recommend you contract any service
provider to code it for you immediately please.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top