+ Reply to Thread
Results 1 to 2 of 2

applying formula and formatting to group of cells in a macro

  1. #1
    Registered User
    Join Date
    11-03-2008
    Location
    Minneapolis
    Posts
    9

    applying formula and formatting to group of cells in a macro

    Here's what I am hoping to accomplish

    In the following columns:
    D2
    E2
    G2
    I2
    J2
    K2
    L2
    M2
    N2
    O2
    P2

    and in any cells below those, if there is a number in that cell, take that number:

    - Divide it by 86400
    - Change the formatting to Time HH:MM:SS

    Any thoughts on how to achieve that?

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Do you particularly need VBA?

    Enter 86400 into a cell, format it as hh:mm:ss, and copy

    Select those cells, and do Edit > Paste Special, Divide.
    Entia non sunt multiplicanda sine necessitate

+ 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