LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default RANGE QUERY

How can i achieve the following using code
i need the Range 'Fields' to 'shrink' by the first cell being removed after
some code is processed i.e

Dim Fields As Range

Fields = Range("B9,C9,I9,J9")
to
Fields = Range("C9,I9,J9")
to
Fields = Range("I9,J9")
to
Fields= Range("J9")

Cheers for all your help so far








 
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
VBA: Edit Web Query with Range(B24).Value CM4@FL[_2_] Excel Programming 1 April 13th 09 08:15 PM
Range statemeny query Graham H Excel Programming 5 July 3rd 08 01:24 PM
Using range names in SQL query Rey[_3_] Excel Programming 3 January 29th 08 04:26 PM
Used range and SQL query Laurent[_2_] Excel Programming 5 October 29th 07 06:09 AM
Searching a range with MS Query dsb Excel Worksheet Functions 3 November 1st 06 11:04 PM


All times are GMT +1. The time now is 02:13 PM.

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"