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: 397
Default Modfiy row of VB to select range of columns

Hi there,

I currently have VB (extract below) that says

Set sh = bk.Worksheets("James")
Set dest = ThisWorkbook.Worksheets(1).Cells(i, 1)
i = i + 1
sh.Rows(3).Copy

I want to change the last line of text to enable me to select all rows
with text in at least column A, or if thats too dificult then to select
from row 1 to row 300, what is the syntax for the last line of code...

Thanks

D

*** Sent via Developersdex http://www.developersdex.com ***
 
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
Select different columns within a range Kiran Charts and Charting in Excel 0 March 8th 10 01:22 PM
Select updated data from a range of columns Alylia Excel Worksheet Functions 5 August 30th 05 01:53 PM
VBA Range Issue : Cannot programatically select more than 42 columns Learner[_3_] Excel Programming 4 January 31st 05 09:55 PM
Select Sheet then Select Range Gee[_2_] Excel Programming 3 May 27th 04 10:10 PM
Select a range of columns based on active cell Tom Ogilvy Excel Programming 0 November 10th 03 05:09 PM


All times are GMT +1. The time now is 03:33 PM.

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"