View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default VBA: Column Select then Data Select then return to cell A1

Hi James

Do you mean selection of the range A1:Bx where x is variable.....If so try
the below

Range("A1:B" & Cells(Rows.Count, "B").End(xlUp).Row).Select

--
Jacob


"James C" wrote:

How do you write in VBA:-
to select a column then select the range of data held in the column (say B1)
then return to Cell a1. The data in the column can change in the workbook as
it is updated regulary, so the range of data in the column varies constantly.
There are column headings so the range in column B1 must start at B2.

Many thanks
--
James