+ Reply to Thread
Results 1 to 3 of 3

Input box: can't figure out how to activate that selection for hte rest of the macro

  1. #1
    Registered User
    Join Date
    11-12-2012
    Location
    Columbia, SC
    MS-Off Ver
    Excel 2010
    Posts
    8

    Input box: can't figure out how to activate that selection for hte rest of the macro

    Hello all,

    I've built a macro that takes action off pivot tables, but since the tables/layout change every time the source data is updated, I can't rely on the cells to be the same. Therefore, I thought about a user input box, but I can't seem to get the rest of the macro to run. I thought I needed a select command, but I just can't figure it out with google... Coming to the pros... I know this is a pretty basic problem, so any help is appreciated.


    Dim Rng1 As Range
    Set Rng1 = Application.InputBox("select cell", Type:=8)
    Selection.ShowDetail = True
    Sheets("Sheet1").Select
    Sheets("Sheet1").Name = "PendingInitial"

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Input box: can't figure out how to activate that selection for hte rest of the macro

    I must be missing something. To me it seems you are just asking how to select the cell that the user inputs in the inputbox:

    Please Login or Register  to view this content.
    I must be missing something.

  3. #3
    Registered User
    Join Date
    11-12-2012
    Location
    Columbia, SC
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Input box: can't figure out how to activate that selection for hte rest of the macro

    Yeah, it really was that simple... Learing VBA through trial and error. Thank you very much for the info!

+ 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