|
-
Apr 9th, 2009, 08:06 AM
#1
Thread Starter
Member
VB-Excel: Detect end of extract and print
I am working on some VB script (within Excel) it connects to DB and pulls back information.
What i need to do it auto-detect the end of the date and seclect it all so that i can run the 'Selection.PrintOut' cmd. Dose anyone know how to detect the end of the data?
let me explain the data will always be between "A#:J#". The rows could change accoring to the number of records pulled back from the DB.
Else dose anyone know a better way (aka not using Selection.PrintOut)?
Thanks for the help guys
Alien
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|