LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Excel Macro

Many thanks, solved the problem - I dont think I would of ever found the
solution myself.

"Bernie Deitrick" wrote:

Jim,

Something like:

Sub test()
Dim myCell As Range

Set myCell = Range("Numbers").Cells(Application.Match( _
Range("CellToMatch"), Range("Numbers"), False))
Cells(myCell.Row, 256).End(xlToLeft)(1, 2).Value = _
Application.InputBox("Enter the value")

End Sub


Assumes that your range with the numbers 1 to 75 are in a range named
"Numbers" and your value to match is in a cell named "CellToMatch"

HTH,
Bernie
MS Excel MVP

"jim hardwick" <jim wrote in message
...
I'm trying to convert an old macro from Lotus 123 to excel and am having
some
difficulty.

What I want to do is look at the data (which is a number 1-75) in a
specific
cell and match it from a range (rows labelled 1-75), then goto the matched
cell in the range and search column by column until it finds a blank one.
Then input the data from a input box into the blank cell.

The problems I am having are getting the macro to activate the matched
cell,
search and then input the data to the sheet (I've got the input box to
come
up).

Please Help Me




 
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
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort Gavin Excel Worksheet Functions 0 May 17th 07 01:20 PM
My excel macro recorder no longer shows up when recording macro jack Excel Discussion (Misc queries) 1 February 5th 07 09:31 PM
translate lotus 1-2-3 macro into excel macro using excel 2000 krutledge0209 Excel Programming 1 November 2nd 04 05:50 PM
Excel Macro Issue Trying to autorun Macro Upon Opening Worksheet wyndman Excel Programming 2 May 25th 04 06:59 PM


All times are GMT +1. The time now is 03:30 PM.

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

About Us

"It's about Microsoft Excel"