Welcome to MacForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

EXCEL 2007 macro

 
   Macintosh computer (Home) -> Excel RSS
Next:  Entourage Time Issues  
Author Message
Old Coder

External


Since: Mar 21, 2007
Posts: 1



(Msg. 1) Posted: Wed Mar 21, 2007 11:38 am
Post subject: EXCEL 2007 macro
Archived from groups: microsoft>public>mac>office>excel (more info?)

I am having a problem in EXCEL 2007 with macros that have worked since
EXCEL 98. I am trying to copy data from a spreadsheet and copy it to a line
graph. The NEW date for the X axis is in column A and the NEW points for the
line graphs are in several other columns ie E, R, AC. There are many graphs
I update from this one worksheet. I did find a way to Select and paste the
line data using one macro and then select and paste the date using a second
macro.
I have one last problem I am fighting. In order to paste data into a
line graph the line graph must be selected (White circles on the four corners
and four sides) or I get an error. So I must go to each chart and click on
the center of every chart before I run the first macro and then do it again
before running the second macro. Is there any way to select the chart inside
the macro? The macro code that has always worked in other versions no longer
does.
The problem could be that the default line graph settings have changed
because bar and high-low graphs still work fine.

 >> Stay informed about: EXCEL 2007 macro 
Back to top
Login to vote
JE McGimpsey

External


Since: Mar 07, 2004
Posts: 2394



(Msg. 2) Posted: Wed Mar 21, 2007 1:43 pm
Post subject: Re: EXCEL 2007 macro [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article ,
Old Coder wrote:

> I am having a problem in EXCEL 2007 with macros that have worked since
> EXCEL 98. I am trying to copy data from a spreadsheet and copy it to a line
> graph. The NEW date for the X axis is in column A and the NEW points for the
> line graphs are in several other columns ie E, R, AC. There are many graphs
> I update from this one worksheet. I did find a way to Select and paste the
> line data using one macro and then select and paste the date using a second
> macro.
> I have one last problem I am fighting. In order to paste data into a
> line graph the line graph must be selected (White circles on the four corners
> and four sides) or I get an error. So I must go to each chart and click on
> the center of every chart before I run the first macro and then do it again
> before running the second macro. Is there any way to select the chart inside
> the macro? The macro code that has always worked in other versions no longer
> does.
> The problem could be that the default line graph settings have changed
> because bar and high-low graphs still work fine.

This is a Mac XL newsgroup, so for a XL2007 problem, you'd do better to
post in

microsoft.public.excel.charting

Of course, XL98 is a Mac product, so I'm not sure you don't mean XL04.

In any case, you'd also probably get a better answer if you post
relevant sections of your code, along with explaining what "get an
error" means (i.e., which error(s)).

In general, one can select the charts using

ActiveSheet.ChartObjects("Chart 1").Select

or, if the chart is on its own sheet,

Sheets("Chart1").Select

 >> Stay informed about: EXCEL 2007 macro 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Excel 2007 - Unable to open an any excel file a second time - In Excel 2007 (Microsoft Office Home & Student), I can create and open a file with no problem, initially. The problem only occurs when you try and re-open the same, or any other Excel file. The program opens with a blank (light blue) screen with...

Excel 2007 not responding - My 2007 version of Excel is unusable. Whenver I make an update, even something as simple as changing the font size in a cell or cells it takes forever. As soon as I hit the enter key I get the hourglass, within seconds a totally white screen with..

EXCEL 2007 Not Responding - My 2007 version of Excel is unusable. Whenver I make an update, even something as simple as changing the font size in a cell or cells it takes forever. As soon as I hit the enter key I get the hourglass, within seconds a totally white screen with..

Excel 2007 Performance - I just purchased a Dell Vostro 1500 with Vista Business installed. I also had installed Excel 2007. My first impression was that I did not like the new interface. However, after a brief period of time, I have come to like the new look. My issue is...

Excel 2007 Polynomial Order Incorrect - We recently upgraded to Office 2007. When we attempt to do a trendline in Excel, the order of polynomials is always one below what it is stated to be and the highest ordered polynomial is always wrong. (i.e. on a fourth order polynomial, it will only....
   Macintosh computer (Home) -> Excel All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]