Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default XML equivalent of VBA's XLdown

I want to import multiple ranges from multiple workbooks without opening
them. To do this I use the proceedure from J Walkenbach, nested into For Next
loops...

arg = "'" & path & "[" & filename & "]" & sheet & "'!" & Ref

Range = ExecuteExcel4Macro(arg)

My problem is the ranges are not uniform length. Does XML have an equivalent
to VBA's XLdown?

Using the Macro Recorder, 'Ref' would look something like (can it be
shortened to 1 line of code?)...

Range("AJ23").Select
Range(Selection, Selection.End(xlDown)).Select

I am running Office2003.

Thanks for any advice

Nick

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default XML equivalent of VBA's XLdown

Sorry that post should read...

XLM equivalent of VBA's XLdown and not XML

Still coming to grips with the different programming languages.
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
PUTTING VBA'S TOGETHER confused deejay Excel Worksheet Functions 5 September 1st 08 03:56 AM
Bug in Excel's (not VBA's) MOD function Jerry W. Lewis Excel Discussion (Misc queries) 10 August 30th 05 05:13 PM
Bug in Excel's (not VBA's) MOD function Jerry W. Lewis Excel Worksheet Functions 10 August 30th 05 05:13 PM
wats the best way for learning Macros, vba's etc sokevin Excel Programming 3 February 19th 04 08:27 AM
VBA's Future xnman Excel Programming 3 October 20th 03 07:04 PM


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