Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Excel 2007 VBA Programmer's Reference ISBN: 978-0-470-04643-2
This is the forum to discuss the Wrox book Excel 2007 VBA Programmer's Reference by John Green, Stephen Bullen, Rob Bovey, Michael Alexander; ISBN: 9780470046432
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Excel 2007 VBA Programmer's Reference ISBN: 978-0-470-04643-2 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 June 29th, 2009, 11:49 AM
Registered User
Join Date: Jun 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default using spin buttons to designate column and row

Fertilizer rate is in part determined economically by the cost of fertilizer and the crop prices. The higher the crop prices, the more fertilizer one can afford. The higher the fertilizer price, the less one can afford. This relationship is built into my tables.
I have a small table, about 6 rows by 6 columns. One button (arrow) is used to select a crop price. The other is used to select a fertilizer cost. The table rows are the crop prices and the table columns are the fertilizer costs. How would I code so that the application would select the intersection (cell) designated by the two numbers that provides the fertilizer rate?
I assume that I need to somehow get the macro to know that the one cell is the column heading and the one cell is the row heading and that the designated destination is the table intersection (cell) of these two numbers.

Similar Threads
Thread Thread Starter Forum Replies Last Post
numeric spin control in datagridview Timar C# 2005 3 July 4th, 2008 04:21 AM
Column to Row virall23@yahoo.com SQL Server DTS 0 March 1st, 2007 10:57 AM
Buttons in DataGrid Template Column divsalar ASP.NET 1.x and 2.0 Application Design 1 February 1st, 2005 03:37 PM
Read a column and Search Row by Row in another col AyatKh Excel VBA 2 January 26th, 2005 12:02 PM

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