LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Changing the activation of a sheet that is unactive and undefined

Hello, I'm actually a new poster. I did some searching on previous
posts and couldn't find an answer to my problem. The broad scope of
what I'm trying to do is in an excel file, to be able to push a button
that will open the open file dialog box and then once that file is
open, copy the information on a tab and paste it onto a tab from the
original file. I've been able to do most of this. I've used the
sendkeys feature to prompt the open file dialog box. However, the
problem that I'm running into is that once the new file opens, I can't
figure out how to make that the active workbook. It keeps on referring
to the original file, which is the active workbook. Part of the reason
this is a problem is because the filename and path can be different
every time this is used, so I can't delcare the specific file name in
the code and activate it from there. It needs to be flexible and
that's why I am accessing the file through the open file dialog box.

Any help would be greatly appreciated.

Thanks,

Andy

 
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
Sheet activation CWillis Excel Discussion (Misc queries) 5 June 1st 06 09:50 PM
Clear unactive combo boxes [email protected] Excel Programming 2 September 23rd 05 08:09 PM
macro on Sheet activation [email protected] Excel Programming 3 August 29th 05 12:36 AM
Sheet protection error msg - Unrequested sheet activation deltree[_3_] Excel Programming 0 January 28th 04 06:20 PM
unactive workbook name bob Excel Programming 1 August 15th 03 11:45 AM


All times are GMT +1. The time now is 11:15 AM.

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"