Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

return column

Status
Not open for further replies.

messsp

Technical User
Jul 5, 2005
5
DE
I'm running a loop through rows and columns in a spreadsheet. the purpose of the loop is to highlight certain cells that fulfill a specific criteria. Now I want to copy and paste into a different spreasheet those columns whose cells are highlighted.
If I use .Adress for each highlighted cell I get something like $A$2. However if I want to use Columns().Select I need to obtain only the letter referring to the specific column. Any idea how I can do this? thanks for your help
 


Hi,
Code:
Range(TheAddress).EntireColumn.Copy


Skip,

[glasses] [red]Be Advised![/red] Dyslexic poets...
write inverse! [tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top