Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Automation and Macro or VBA help in xl

Here's my problem. I'm pulling data from a server daily, so the date o
the worksheet will change. Not only will the date change, but so wil
the number of rows, due to the data that is collected. I tried t
create a macro to automate the graphing of each worksheet, but th
problem that I have ran into is that the macro is programed with th
worksheet name and the range that the worksheet used. I need to b
able to use the same macro for differently named worksheets an
different ranges. Is there a better way of doing this? Or is there
better way to code the macro so it doesn't recognize the name of th
worksheet or the range? I am new to vba, so it's all greek to me.

Also is there a way where I can automate this process daily. TIA

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Automation and Macro or VBA help in xl

Hi
create a dynamic chart (no macros required). See:
http://www.tushar-mehta.com/excel/so...art/index.html
http://peltiertech.com/Excel/Charts/Dynamics.html
http://www.tushar-mehta.com/excel/ne...rts/index.html


--
Regards
Frank Kabel
Frankfurt, Germany

"Vapanda " schrieb im
Newsbeitrag ...
Here's my problem. I'm pulling data from a server daily, so the date

of
the worksheet will change. Not only will the date change, but so

will
the number of rows, due to the data that is collected. I tried to
create a macro to automate the graphing of each worksheet, but the
problem that I have ran into is that the macro is programed with the
worksheet name and the range that the worksheet used. I need to be
able to use the same macro for differently named worksheets and
different ranges. Is there a better way of doing this? Or is there

a
better way to code the macro so it doesn't recognize the name of the
worksheet or the range? I am new to vba, so it's all greek to me.

Also is there a way where I can automate this process daily. TIA.


---
Message posted from http://www.ExcelForum.com/


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Automation and Macro or VBA help in xl

Frank,

Thanks for your help, but I'm sorry I might have been vague with m
question.
1) I collect data everyday.

The data is not the same, which means I'll probably have to put in
different workbook, not add on to the current work book

The number of rows or columns.

2) The data that I collect I have to make a Line Graph

The is created the same way, but with different data set.

Thanks for the links though, I've tried it and it didn't work. An
other suggestions for this type of automation

--
Message posted from http://www.ExcelForum.com

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
Macro for drill down & hyperlink automation binar[_2_] Excel Discussion (Misc queries) 0 February 12th 09 10:04 PM
Macro - - Automation Jac Excel Discussion (Misc queries) 8 December 27th 04 02:42 PM
automation macro J.S Excel Programming 2 November 4th 03 06:57 PM
Macro 'Automation error' with ChemOffice Excel macro Stew Excel Programming 0 October 27th 03 08:26 PM
Disable macro through automation Scott Wallace Excel Programming 2 October 15th 03 07:26 PM


All times are GMT +1. The time now is 08:40 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"