Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default 2007 Upgrade wont run macro

Hi There
I have just upgraded Excel2003 to 2007. Sys Win XP Pro
The following worked code perfectly in 2003. After installing 2007 a MVB dbx
Run-time error "445" Object doesn't support this action, shows. Can anyone
help me on this. PS I'm a complete novice. TIV Brian


Sub load_newfile()
Dim fm As FileManager
Set fm = New FileManager
Dim default As Defaults
Set default = New Defaults
If fm.CloseJob 0 Then
Application.Windows("TQLMSTER.XLS").Activate
Load frmLoad
frmLoad.Show
If frmLoad.ActiveControl.Name = "cmdLoad" Then
fm.NewJob (frmLoad.ListBox1.Text)
Application.Windows(Trim(frmLoad.ListBox1.Text)).A ctivate
Range("A1:J500").Select
Selection.Copy
Application.Windows(default.ImpSheet).Activate
Worksheets("import-work").Activate
Range("A1:J500").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Workbooks(frmLoad.ListBox1.Text).Close
Save_As
transfer_Qty
End If
Unload frmLoad
End If
End Sub
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
Looking for help re chart speed after upgrade to Excel 2007 Mark[_5_] Charts and Charting in Excel 1 June 12th 07 05:55 PM
Upgrade to 2007 PA New Users to Excel 17 June 6th 07 06:50 AM
To upgrade excel 2007 anil Excel Discussion (Misc queries) 2 May 2nd 07 02:34 PM
Small game wont work in Excel 2007 Phil Excel Discussion (Misc queries) 4 April 3rd 07 10:24 AM
Excel columns keep losing their formatting in 2007 Beta upgrade w. McNaddy Excel Discussion (Misc queries) 2 October 24th 06 01:41 PM


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