+ Reply to Thread
Results 1 to 4 of 4

Apply VBA code to multiple cells

  1. #1
    Registered User
    Join Date
    05-31-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    16

    Apply VBA code to multiple cells

    Hi,

    I've been using this forum for quiet a while now, and I can usually find an answer without posting my own question, but I really need help on this one.

    I have a spreadsheet which I made to use as a to-do list, I have a date requested column which I want to automatically put in today's date when I select the cell, which I can get working by using the following code:

    Please Login or Register  to view this content.
    I need to find a way to apply this to cells D6 to D52.

    I was just going to enter the code several times and change the cell reference, but this returns an error.

    I hope I've offered a good enough explanation for someone to help me, if you need any more information let me know.

    Any helps greatly appreciated!

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Apply VBA code to multiple cells

    Try this...

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    05-31-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Apply VBA code to multiple cells

    Fantastic!
    Works brilliantly
    Thanks alot!

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Apply VBA code to multiple cells

    Glad it helps you and thanks for the feedback

+ Reply to Thread

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