Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / May 2008

Tip: Looking for answers? Try searching our database.

Select a column within a query

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeff Gross - 23 May 2008 19:41 GMT
I have a worksheet that has multiple queries.  Rows 6-some number (fluctuates
each week) contain the data from columns A-G.

There is another query that starts ~5 rows below the first one and goes for
another 10 or 20 rows from columns A-G again.

I need to be able to clear the contents of column F in the first query
without messing with the second one.  Is there a way to select this column
inside query 1 and not the other query since the number of rows changes each
week and is not static?

Thanks.
Joel - 24 May 2008 04:08 GMT
if you have continous rows of data without any blank rows the use xldown

Range("F6",Range("F6").end(xldown)).clear

> I have a worksheet that has multiple queries.  Rows 6-some number (fluctuates
> each week) contain the data from columns A-G.
[quoted text clipped - 8 lines]
>
> Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.