LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
pfa pfa is offline
external usenet poster
 
Posts: 14
Default Problem converting script from Excel 2003 to Ecel 2007

Hi,

The error was on this portion:

'- call analysis toolpak to select sample
Application.Run "ATPVBAEN.XLAM!sample",
ActiveSheet.Range("$A$11:$A$65536") _
, ActiveSheet.Range("$K$11:$K$310"), "R", vNumber, False

However, I found out by happenstance, reading through some really old posts
here that, by using the Convert function from the Office Menu, the code would
run properly (as long as I edited the file extension to add the "m" to the
end of it). This worked, so I am all set. Thanks for taking the time to
reply. I apporeciate it.

"broro183" wrote:


hi pfa,

Where is the code erroring out now?
Is it on the same line?

Rob


--
broro183

Rob Brockett. Always learning & the best way to learn is to
experience...
------------------------------------------------------------------------
broro183's Profile: http://www.thecodecage.com/forumz/member.php?u=333
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=200432

http://www.thecodecage.com/forumz

.

 
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
CONVERTING Excel 2003 Commands to 2007 Ra Excel Discussion (Misc queries) 5 May 25th 09 01:36 PM
Converting a 2007 Excel Spreadsheet w/ 2003 Greg Excel Discussion (Misc queries) 2 October 7th 08 10:59 PM
Excel 2003 vbs script problem Ralf Meuser Excel Programming 2 March 20th 08 11:54 AM
Trying to convert a excel 2003 to 2007, but it contain script. Feejo Excel Discussion (Misc queries) 3 January 2nd 08 01:19 PM
Trying to convert a excel 2003 to 2007, but it contain script. Feejo New Users to Excel 2 December 31st 07 07:08 PM


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