+ Reply to Thread
Results 1 to 2 of 2

Running a Macro for Multiple Cells

  1. #1
    Registered User
    Join Date
    09-05-2008
    Location
    UK
    Posts
    7

    Running a Macro for Multiple Cells

    I'm currently working on the attached spreadsheet. I want to be able to highlight a few cells, say C8:E8, and then run a macro to insert data into the highlighted cells and also insert data into the cell 2 columns to the right of the last highlighted cell.

    For example,

    I highlight C8, D8 and E8 and then run the macro.

    C8, D8 and E8 are all now "Works Area" and G8 is "Taper Position". This would change depending on the initially highlighted cells.

    Ask me if you need any clarifications. All help is appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573
    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. Having the user specify a column when running a macro
    By garncor in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-25-2008, 01:15 PM
  2. macro to copy cells to text files
    By docaia in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-28-2008, 03:30 AM
  3. Macro to Lock cells in protected sheet depending on criteria
    By Zyphon in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 01-30-2008, 12:00 PM
  4. Macro to Fill Blank Cells
    By floridagunner in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-16-2007, 04:50 PM
  5. macro with dynamic web query running slow
    By bauke in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-03-2007, 11:03 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