Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
TUNGANA KURMA RAJU
 
Posts: n/a
Default macro to automise the task

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)

  #2   Report Post  
Posted to microsoft.public.excel.misc
PY & Associates
 
Posts: n/a
Default macro to automise the task

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



"TUNGANA KURMA RAJU" wrote in
message ...
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)



  #3   Report Post  
Posted to microsoft.public.excel.misc
TUNGANA KURMA RAJU
 
Posts: n/a
Default macro to automise the task

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.

"PY & Associates" wrote:

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



"TUNGANA KURMA RAJU" wrote in
message ...
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)




  #4   Report Post  
Posted to microsoft.public.excel.misc
PY & Associates
 
Posts: n/a
Default macro to automise the task

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.

"TUNGANA KURMA RAJU" wrote in
message ...
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.

"PY & Associates" wrote:

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



"TUNGANA KURMA RAJU" wrote

in
message ...
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)






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Editing a simple macro Connie Martin Excel Worksheet Functions 5 November 29th 05 09:19 PM
Start Macro Daily task GoBucks Excel Discussion (Misc queries) 1 November 10th 05 04:34 PM
Closing File Error jcliquidtension Excel Discussion (Misc queries) 4 October 20th 05 12:22 PM
Playing a macro from another workbook Jim Excel Discussion (Misc queries) 1 February 23rd 05 10:12 PM
Date macro Hiking Excel Discussion (Misc queries) 9 February 3rd 05 12:40 AM


All times are GMT +1. The time now is 11:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"