Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Need assistance with simple Excel macro or code

I've got very little VBA experience, but have created and edited some Excel
macros.

I will be exporting data weekly into an Excel sheet, and need a macro to
sort and delete some rows. The sheet will have 7 columns with a header row;
column G will contain a value of 0, 1 or 3. I need to delete all the rows
that are not "1", then will do some other sorts.

the initial export will have up to 400 rows of data.

can someone help with this code?
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Need assistance with simple Excel macro or code

I have recorded a macro; the primary issue is that there will be a variable
number of rows each time I export to this file.

My preliminary macro sorted on column G to get all the 0's, 1's and 3's
together. What I'm missing is the command structure to determine the range
where all the 0's and 3's are to delete.

"Don Guillett" wrote:


The macro recorder is your friend. Do it manually while recording. Then
clean up the macro.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"dbix" wrote in message
...
I've got very little VBA experience, but have created and edited some
Excel
macros.

I will be exporting data weekly into an Excel sheet, and need a macro to
sort and delete some rows. The sheet will have 7 columns with a header
row;
column G will contain a value of 0, 1 or 3. I need to delete all the rows
that are not "1", then will do some other sorts.

the initial export will have up to 400 rows of data.

can someone help with this code?



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
Need the code for a simple macro VB MacroMan Excel Programming 3 June 22nd 07 02:23 PM
Need a simple printing macro code cenee Excel Programming 1 June 22nd 06 03:20 AM
Simple, need assistance craigwojo[_2_] Excel Programming 3 January 5th 05 10:04 PM
Need code for Excel Simple Visual Basic Macro to select next avai. Marco Margaritelli[_3_] Excel Programming 6 November 2nd 04 10:26 PM
Simple (?) Macro Assistance- Select, Insert, Paste, Rinse, Repeat Pete_CSC Excel Programming 4 June 15th 04 05:09 PM


All times are GMT +1. The time now is 01:23 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"