+ Reply to Thread
Results 1 to 2 of 2

Select Cell from value of another cell

  1. #1
    Registered User
    Join Date
    07-01-2015
    Location
    Nottinghamshire
    MS-Off Ver
    2007
    Posts
    5

    Select Cell from value of another cell

    Hi all.

    I'm new here and new to macros.

    I have a workbook, it is essentially a pilots flying logbook. On one sheet I have cell which contains a formula to return the row number for row the next new entry should be entered onto.

    Eventually I will want to have a form with controls (text boxes etc.) and when a save button is pressed id like it to copy the data entered by use of these controls, into cells of the next row of the worksheet, like entering a new entry in a database.

    As part of my build up to this I was trying to work out how I can use a macro to select the cell in col.A of the next empty row.

    So far I have a column labelled index and contains consecutive number for each row (A1=Index, A2=1, A3=2, A4=3...) and a formula which returns the row number of the highest number,+1(to give the first empty row)...MATCH(MAX(A:A),A:A,0)+1 and I have added an A to the beginning of the result using "A"&. Result is a Cell with a calculated value of something like "A6" when the number is variable. It is this cell that I want my macro to select.

    Any advice? sorry if there is not enough info or its not clear what I am trying to do.

    also, if it matters, the formula I put here isn't exactly what It is in my cell as I have used names and formula in other cells but that is basically what it is doing.

    Cheers guys,

    Tim

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Select Cell from value of another cell

    Is your question simply "how I can use a macro to select the cell in col.A of the next empty row."?

    If so then

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 06-17-2013, 05:21 AM
  2. Replies: 0
    Last Post: 04-11-2013, 02:09 PM
  3. Find specific value in a cell, select the cell and copy all cells beneath
    By Mothman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-20-2010, 03:26 AM
  4. Replies: 6
    Last Post: 06-30-2006, 01:55 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1