Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Fix InputBox - Returning Empty String

Using inputBox to assign multiple variables and then assigning
the info from those variables to cells which I then reference from
another macro.

What I'm finding is that as already noted here in another thread:

"There is another Inputbox function in VBA which returns an empt
string if cancel is pressed."

This is what seems to be happening if I hit either 'Cancel'
or 'Enter'.

What I'd like to do, is afford the user the opportunity to change
not all or lose all, but to be able to change just some of the
information.

Is there a way with multiple variables to change just some of
the variables but not all without erasing previously entere
information by hitting 'cancel' or 'enter'?

Thanx

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Fix InputBox - Returning Empty String

An input box is generally used for one entry. It is unclear how you are
populating several variables with the results of a single inputbox or how
you would adapt this to allow the user to edit a subset of those entries.

--
Regards,
Tom Ogilvy

"spurtniq" wrote in message
...
Using inputBox to assign multiple variables and then assigning
the info from those variables to cells which I then reference from
another macro.

What I'm finding is that as already noted here in another thread:

"There is another Inputbox function in VBA which returns an empty
string if cancel is pressed."

This is what seems to be happening if I hit either 'Cancel'
or 'Enter'.

What I'd like to do, is afford the user the opportunity to change
not all or lose all, but to be able to change just some of the
information.

Is there a way with multiple variables to change just some of
the variables but not all without erasing previously entered
information by hitting 'cancel' or 'enter'?

Thanx.


---
Message posted from http://www.ExcelForum.com/



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Returning a cell address in a msgbox, by selection via inputbox Ty FARAZ QURESHI Excel Discussion (Misc queries) 3 April 8th 09 12:57 PM
Returning Data to an empty Cell Newfie809 Excel Worksheet Functions 1 August 22nd 08 09:19 PM
Returning an empty cell when no data present Bryan Excel Discussion (Misc queries) 4 November 27th 06 10:51 PM
VBA function returning the value EMPTY Helge V. Larsen[_2_] Excel Programming 1 November 24th 03 12:42 PM
String length of Inputbox user input. Hersh Excel Programming 2 July 14th 03 08:47 PM


All times are GMT +1. The time now is 05:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"