Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default activeworkbook problems

I have a customer who uses a excel file with a "movedata" macro. He is
using OfficeXP.
The problem we have is this macro has a ActiveWorkbook.SetLinkOnData
line in it.
If he brings up another file (along with the original file) in excel
and makes that the ActiveWorkbook by having it up
then the macro in the original file gives a error when the movedata is
initiated.
Is there another replacement command for ActiveWorkBook.SetLinkOnData ?
Please advise.
Thanks,
Tig

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default activeworkbook problems

Replace ActiveWorkbook with ThisWorkbook

http://HelpExcel.com

"texastig" wrote:

I have a customer who uses a excel file with a "movedata" macro. He is
using OfficeXP.
The problem we have is this macro has a ActiveWorkbook.SetLinkOnData
line in it.
If he brings up another file (along with the original file) in excel
and makes that the ActiveWorkbook by having it up
then the macro in the original file gives a error when the movedata is
initiated.
Is there another replacement command for ActiveWorkBook.SetLinkOnData ?
Please advise.
Thanks,
Tig


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
ActiveWorkbook.RefreshAll teepee[_3_] Excel Discussion (Misc queries) 0 November 11th 08 02:11 PM
ActiveWorkBook Pete Excel Discussion (Misc queries) 3 May 9th 05 04:14 PM
ActiveWorkbook.RefreshAll toosie Excel Programming 1 February 16th 05 09:55 AM
ActiveWorkbook.Close dallas Excel Programming 0 November 3rd 04 06:27 PM
ActiveWorkbook.RefreshAll Mark[_22_] Excel Programming 0 October 15th 03 02:22 AM


All times are GMT +1. The time now is 04:44 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"