Results 1 to 6 of 6

Macro Edit

Threaded View

  1. #1
    Forum Contributor
    Join Date
    04-18-2011
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    362

    Question Macro Edit

    Is there a way please to edit the below Macro1 in order to run the same below commands but in any selected desired row number and not necessarily as listed below row 29 every time and still fill the listed below cells with the same shown data running the same Macro1?

    Sub Macro1()
    '
    ' Macro1 Macro
    '

    '
    ActiveCell.FormulaR1C1 = "1111"
    Range("C29").Select
    ActiveCell.FormulaR1C1 = "AAA"
    Range("D29").Select
    ActiveCell.FormulaR1C1 = "BBB"
    Range("H29").Select
    ActiveCell.FormulaR1C1 = "1:35:00 AM"
    Range("B30").Select
    End Sub
    Last edited by Khaldon; 04-22-2011 at 03:48 AM.

Thread Information

Users Browsing this Thread

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

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