Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3803254
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T14:20:03+00:00 2026-05-19T14:20:03+00:00

In VBA, the InputBox(Type:=8) can select one range only. Is there a way to

  • 0

In VBA, the InputBox(Type:=8) can select one range only. Is there a way to select several ranges, like 2 or three ?

Dim t as Range
Set t = Application.InputBox("Select destination range:", Type:=8)

Something like:

Dim t As Ranges
Set t = Application.SomeOtherInputBox()
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T14:20:04+00:00Added an answer on May 19, 2026 at 2:20 pm

    When you start to wish that the InputBox (or MsgBox) supported feature X, it’s usually the time to create your own dialog instead. Just create your own user form with all the features you need and then show that instead.

    In case you haven’t done this before, here’s an article with some sample code: Custom VBA Message Box

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there code in VBA I can wrap a function with that will let
Does VBA support using an array of range variables? dim rangeArray() as range dim
In vba, There is an address held by a long type which points to
In VBA you can have a Userform implement a custom interface and only the
I am converting VBA code that contains the LIKE operator, as in dim sToken
Using VBA, how can I: test whether a file exists, and if so, delete
Is VBA going to go away any time soon, like VB6 has? Should I
Can VBA code instantiate and use .NET objects? The specific class I'm interested in
I work in VBA, and want to parse a string eg <PointN xsi:type='typens:PointN' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
I'm using Excel VBA to a write a UDF. I would like to overload

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.