Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default i want to input data into a range from a simple input location

I am building a matrix 48X48 and rather than going to that tab and locating
the location i want to have a tab as an input page to type in one of the "Y"
and an "X" and type in the number i want at that location. Front end of a
Data base type input -
Y location _____
X location _____

Data to input _____

Enter data Tab
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default i want to input data into a range from a simple input location

Add the following macro to a button:

Sub MatrixFill()

With ActiveSheet
ActiveWorkbook.Sheets("table2").Range("A1:AV48").C ells(.Range("A1"), .Range("A2"))
= .Range("A3")
End With

End Sub

' table2 stands for the name of the sheet with the matrix
' A1:AV48 is the range on that sheet
' A1 is the Y location
' A2 is the X location
' A3 is the value

adapt the ranges and name of the sheet.

Hubisan
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
Input Box Location AwesomeSean Excel Programming 8 June 1st 09 03:52 AM
How do I lock the location of the Data Validation Input Message? KT Excel Worksheet Functions 1 May 21st 07 06:58 PM
How do I add input data in the input ranges in drop down boxes. oil_driller Excel Discussion (Misc queries) 1 November 9th 05 10:31 PM
Data Validation - Location of input message box supergoat Excel Discussion (Misc queries) 5 April 25th 05 04:21 PM
CODE to select range based on User Input or Value of Input Field Sandi Gauthier Excel Programming 4 December 8th 03 03:22 PM


All times are GMT +1. The time now is 04:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"