+ Reply to Thread
Results 1 to 5 of 5

Macro to enter 1st and last column values from Sheet 1 into cells E6 and H6 of Sheet 2

  1. #1
    Forum Contributor
    Join Date
    05-25-2019
    Location
    Sioux Falls, South Dakota
    MS-Off Ver
    Microsoft 365
    Posts
    178

    Macro to enter 1st and last column values from Sheet 1 into cells E6 and H6 of Sheet 2

    On sheet 1, on Column B, I have dates entered in sequential order. I would like to use worksheet.activate to call a macro which will enter the first date value from Sheet 1 into the E6 cell of Sheet 2 and the last column date value from sheet 1 into the H6 cell of Sheet 2.

    How would I write that?

  2. #2
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,151

    Re: Macro to enter 1st and last column values from Sheet 1 into cells E6 and H6 of Sheet 2

    For example:

    1. Sheet2 module
    Please Login or Register  to view this content.
    2. Standard module
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    05-25-2019
    Location
    Sioux Falls, South Dakota
    MS-Off Ver
    Microsoft 365
    Posts
    178

    Re: Macro to enter 1st and last column values from Sheet 1 into cells E6 and H6 of Sheet 2

    I have formulas in the Sheet 1 B column. Does that cause a problem with the H6 paste-in?

  4. #4
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,151

    Re: Macro to enter 1st and last column values from Sheet 1 into cells E6 and H6 of Sheet 2

    What other important/essential information have you not provided yet ?

  5. #5
    Forum Contributor
    Join Date
    05-25-2019
    Location
    Sioux Falls, South Dakota
    MS-Off Ver
    Microsoft 365
    Posts
    178

    Re: Macro to enter 1st and last column values from Sheet 1 into cells E6 and H6 of Sheet 2

    Sorry porucha, for the very late reply. That worked just fine.
    Thank you!

+ 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. Enter value on sheet 1 --> values in sheet 2
    By sjoerdd87 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-21-2020, 12:50 PM
  2. Replies: 6
    Last Post: 07-26-2015, 03:43 AM
  3. [SOLVED] Macro to copy and paste only unique values from one column to another column in same sheet
    By Manish_Gupta in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-19-2014, 05:44 AM
  4. Replies: 2
    Last Post: 11-21-2013, 10:01 AM
  5. Enter the contents of cells in a cell on the second sheet on the first available column
    By najboljsi007 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-08-2013, 04:07 PM
  6. Macro that will copy values in Column J and paste values to Column B in new sheet
    By Phixtit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-16-2010, 04:56 PM
  7. Add data from one column to a new sheet and enter it on 64 vertical cells
    By Butehawk in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 04-30-2010, 05:25 PM

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