Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default help in selecting cells , VBA in Excel

Dear all,

Can someone help me, please?

I want Excel select data automatically.

I have one Excel sheet, data are transferred from SQL server into Excel,
which means I don't know how many recorders in the table everytime.

Is there codes of VBA to select the whole data in this table ? Thanks.

Best wishes
jiang


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default help in selecting cells , VBA in Excel

Activesheet.UsedRange.Select

as a starter

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Kortrijker" wrote in message
...
Dear all,

Can someone help me, please?

I want Excel select data automatically.

I have one Excel sheet, data are transferred from SQL server into Excel,
which means I don't know how many recorders in the table everytime.

Is there codes of VBA to select the whole data in this table ? Thanks.

Best wishes
jiang




Reply
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
Selecting/Editing highlighted cells in Excel Carol330 Excel Discussion (Misc queries) 2 August 21st 09 08:11 PM
Excel keeps selecting two cells eel_electric Excel Discussion (Misc queries) 3 September 10th 08 09:59 PM
When selecting cells in Excel 07 why doesn't it highlight? Andrea Excel Discussion (Misc queries) 1 November 6th 07 02:02 PM
The cursor on my Excel spreadsheet is not selecting cells. auberginewellies Excel Discussion (Misc queries) 2 March 20th 06 06:36 PM
Activiating and Selecting Excel Cells in VB.NET Zhichun Pu Excel Programming 1 July 11th 03 01:46 AM


All times are GMT +1. The time now is 06:34 AM.

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"