Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 26th, 2011, 12:20 AM
Registered User
Join Date: Nov 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Exclamation Excel VBA Charts - Switch Row/Column


I've been driving myself crazy on this one. When you create a chart manually, you can Switch Row/Column.

I'm having no luck finding how to do this to Charts I create in VBA.

Can anyone please help?


Old September 28th, 2011, 11:25 AM
Registered User
Join Date: Jul 2009
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post

The chart object has a PlotBy property that you can alter, or you can specify which way to plot the data when using SetSourceData - depends on the circumstances which is better for you.
The Following User Says Thank You to romperstomper For This Useful Post:
Tom_Insure (September 28th, 2011)
Old September 28th, 2011, 07:53 PM
Registered User
Join Date: Nov 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts

Awesome. Thanks for your help!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using VBA to insert or delete row and column automatic hpmongmanh Excel VBA 0 December 15th, 2010 11:01 AM
Formatting Excel charts with VBA edwardluce Excel VBA 2 March 24th, 2010 06:40 PM
Excel/VBA Multi-Column Lookup - Round 2 RollingWoodFarm Excel VBA 4 August 3rd, 2006 07:28 PM
Read a column and Search Row by Row in another col AyatKh Excel VBA 2 January 26th, 2005 12:02 PM
add column in excel with VBA exarkuun Excel VBA 2 November 19th, 2003 09:37 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.