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 May 2nd, 2010, 09:27 AM
Registered User
 
Join Date: May 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Draw in VBA using excel data

Hi All,

I'm a total VBA newbie, just so that you know, I have done the exercises in Visual Studio 10 Express' 'Learn' section so I understand a little, but I thought that if I approached my project a bit at a time, with some help I might eventually achieve it.

So first, I have two columns of data in a spreadsheet, one, AE, gives the width of a rectangle, another, AG, gives the height. How can I use VBA or a macro maybe to draw these rectangles on a separate form, any help would be very much appreciated,

Phil.
 
Old May 9th, 2010, 12:16 AM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Hi

Here is a way to do it

http://vbadud.blogspot.com/2010/05/h...userforms.html

Cheers
Shasur
__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)
 
Old May 13th, 2010, 12:21 PM
Registered User
 
Join Date: May 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Shasur,

I am away from my desktop, where I am doing my project, but when I return, I will try your method and let you know how I get on,

Thanks again

Phil





Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel vba: data processing snowman.hk Excel VBA 1 November 6th, 2009 05:56 AM
get perticular data from outlook mail into excel using VBA kulkasac Excel VBA 3 January 23rd, 2009 05:05 AM
Converting excel data to Access using excel VBA ShaileshShinde VB Databases Basics 1 April 26th, 2006 07:57 AM
Copy data from webpage to excel using vba kg8299 Excel VBA 0 April 5th, 2006 03:51 AM
import data from text file to excel(VBA) topr Excel VBA 2 August 26th, 2004 11:36 PM





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