Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default using VBA, incerting a row for alphabetical order

i use VBA on user form to add new names to a work sheet, it is set t
add at the next empty row.

Set SourceWb = Workbooks.Open("f:\db1.xls")
ActiveWorkbook.Sheets("Cust").Activate
Range("A1").Select
Do
If IsEmpty(ActiveCell) = False Then
ActiveCell.Offset(1, 0).Select
End If
Loop Until IsEmpty(ActiveCell) = True


Is there a way to have it add on a cretain row, to keep list i
alphabetical order

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default using VBA, incerting a row for alphabetical order

Greg

Is there any reason why you can not sort the list after you add a ne
name

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default using VBA, incerting a row for alphabetical order

why not use a macro and sor

--
Message posted from http://www.ExcelForum.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default using VBA, incerting a row for alphabetical order

Thanks madcat, that is exactly what i did

--
Message posted from http://www.ExcelForum.com

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
alphabetical order ANN JON[_2_] Excel Discussion (Misc queries) 1 February 20th 10 02:48 AM
last name alphabetical order Reds0602 Excel Discussion (Misc queries) 4 September 12th 09 04:58 PM
How to put worksheets in Alphabetical order? LiveUser Excel Discussion (Misc queries) 6 January 16th 08 03:45 PM
Alphabetical order possible? or not OSSIE Excel Discussion (Misc queries) 5 June 22nd 06 07:21 PM
using VBA, incerting a row for alphabetical order GregJG[_3_] Excel Programming 0 June 28th 04 01:44 AM


All times are GMT +1. The time now is 12:18 AM.

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"