Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: VBA Macro shortcut to "paste special formula"

  1. #11
    New Member
    Join Date
    Jul 2019
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: VBA Macro shortcut to "paste special formula"

    Quote Originally Posted by mikerickson View Post
    Something like


    Code:
    With Selection
        .Offset(0,1).FormualR1C1 = .FormulaR1C1
    End With

    But wouldn't this code ONLY work when the formula we wish to copy is in the column directly left to us. The code will break if I were to copy my formula from a cell maybe 5 columns away.

  2. #12
    MrExcel MVP mikerickson's Avatar
    Join Date
    Jan 2007
    Location
    Davis CA
    Posts
    22,597
    Post Thanks / Like
    Mentioned
    20 Post(s)
    Tagged
    15 Thread(s)

    Default Re: VBA Macro shortcut to "paste special formula"

    Yes, that's why I was asking how the user would indicate the source/destination ranges.
    There are three things the user needs to indicate, source range, destination range, "do it now" (as opposed to the current native 4 user instruction method)

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •