+ Reply to Thread
Results 1 to 2 of 2

Auto copy cell x columns to the right after selection request from inputbox

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    10-01-2010
    Location
    Jakarta
    MS-Off Ver
    Excel 2003
    Posts
    101

    Auto copy cell x columns to the right after selection request from inputbox

    I am looking for command button code that with the Inputbox asks the user to select a cell and then this cell is copied 20 columns further to the right.

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: Auto copy cell x columns to the right after selection request from inputbox

    evening vdongen
    Try this code
    Set srng = Application.InputBox(prompt:="Select Task To Get copy Status", Left:=30, Top:=80, Type:=8)
    With srng
    .Offset(0, 20).Value = srng.Value
    End With
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

+ 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