Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help!!!! Selecting a cell in another workbook

Hi, I'm having a bit of trouble selecting a cell in a workbook.

I have a command button in my "home.xls" workbook
I then save the Home work book:
I open an existing "Destination.xls"
I make the Destination Workbook active

I then attempt to select a cell in the destination workbook......
at this point it all goes T*ts up and what ever i do to select a cell
i get strange compiler messages and the debug window.

I can select a cell in the home workbook, there must be a differen
procedure for cell selection in a target workbook.


Thanx Andy:cool

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Help!!!! Selecting a cell in another workbook

Try

Application.Goto workbooks("Destination.xls") _
.worksheets("Sheet1").Range("A1")

but in most cases there is never any reason to select a cell to work with
it.

--
Regards,
Tom Ogilvy


"AndyGoz " wrote in message
...
Hi, I'm having a bit of trouble selecting a cell in a workbook.

I have a command button in my "home.xls" workbook
I then save the Home work book:
I open an existing "Destination.xls"
I make the Destination Workbook active

I then attempt to select a cell in the destination workbook......
at this point it all goes T*ts up and what ever i do to select a cell
i get strange compiler messages and the debug window.

I can select a cell in the home workbook, there must be a different
procedure for cell selection in a target workbook.


Thanx Andy


---
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
selecting a series of worksheets for printing not whole workbook MikeR-Oz New Users to Excel 2 September 11th 08 02:00 PM
Selecting used cells only in the workbook Sandeep Excel Discussion (Misc queries) 4 July 31st 07 01:04 PM
Vlookup - Array not selecting in other workbook Erinayn Excel Discussion (Misc queries) 0 March 21st 07 03:03 PM
Selecting the other open workbook Karen[_6_] Excel Programming 2 August 19th 03 05:48 PM


All times are GMT +1. The time now is 06:07 AM.

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"