+ Reply to Thread
Results 1 to 4 of 4

Replace Application.InputBox with a string.

  1. #1
    Registered User
    Join Date
    05-21-2014
    Posts
    30

    Replace Application.InputBox with a string.

    I got this code over the internet, and I modify a bit to fit my needs.
    There is one thing I don't really know how to get rip.
    I want to replace the application.inputbox part with my own string there. I do not want the user input anymore. However, I do not know really know how to do that part. Can anyone please help.


    Please Login or Register  to view this content.
    Last edited by bbmak; 05-27-2014 at 04:14 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Replace Application.InputBox with a string.

    E.g.,

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Replace Application.InputBox with a string.

    Hi bbmak,

    Welcome and thanks for putting in code tags.

    In the line that follows, the '8' at the end means that InputBox is not returning a string, but a range of cells. It appears that the 'range of cells' is really only one cell.
    Please Login or Register  to view this content.
    In the context of your macro, the line would be replaced by something like:
    Please Login or Register  to view this content.
    I hope this helps.

    Lewis

  4. #4
    Registered User
    Join Date
    05-21-2014
    Posts
    30

    Re: Replace Application.InputBox with a string.

    Thank guys, I got it.

+ 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. [SOLVED] Inputbox vs. Application.InputBox
    By miyachow in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-08-2013, 12:53 PM
  2. [SOLVED] Application.Inputbox
    By Hilton1982 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-14-2012, 09:16 AM
  3. Screen positioning inputbox that is set as Application.InputBox
    By vdongen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-06-2010, 07:59 AM
  4. Application.inputbox
    By davegugg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-08-2009, 11:27 AM
  5. [SOLVED] Replace application.RTD property by Application.RTDServers collect
    By John.Greenan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-07-2005, 10:05 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