Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Allowing user to select a cell in another workbook in VBA

Hello,

I'm working on a VBA subroutine which pauses the macro to allow the
user to select (with a mouse) a cell in a different workbook (which is
already open) and, for the cell selected, records the workbook name,
sheet name, and cell address to variables.

I've tried application.inputbox, but that seems to work only for the
current workbook; it won't let me select another workbook.

Does Excel offer another way to handle this? Any ideas?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Allowing user to select a cell in another workbook in VBA

Make sure that "application.screenupdating = true" then tell the user to use the
Window menu to get to other workbooks.

Stephen wrote:

Hello,

I'm working on a VBA subroutine which pauses the macro to allow the
user to select (with a mouse) a cell in a different workbook (which is
already open) and, for the cell selected, records the workbook name,
sheet name, and cell address to variables.

I've tried application.inputbox, but that seems to work only for the
current workbook; it won't let me select another workbook.

Does Excel offer another way to handle this? Any ideas?


--

Dave Peterson
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
Copying data from one workbook to another dependent on user select sarahphonics Excel Discussion (Misc queries) 1 April 19th 10 04:37 PM
Allowing the user to specify save location TimN Excel Programming 5 August 16th 06 05:17 PM
Unshared workbook allowing write access to more than 1 user [email protected] Excel Discussion (Misc queries) 0 August 2nd 06 03:14 PM
Allowing User to save file Jordan Excel Programming 5 April 27th 06 07:24 PM
allowing user to format a protected cell Andrew[_44_] Excel Programming 1 May 28th 04 06:56 AM


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

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

About Us

"It's about Microsoft Excel"