#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 34
Default Help with Macro

I am trying to create a first time macro and need assistance.

The file I have is .xls and has 3 worksheets. On the worksheet of interest
I need to be able to do the following in this order:

- In columns A to G find all cells that contain a formula and delete sheet
rows.
- Find the last used column (usually J) and select the next column over.
Enter "Qty" in the next cell over (usually column J, row 6).
- After entering "Qty" select the next cell down and enter "1". Fill "1"
down to the last used row.
- Now find the column containing the header "Store#". These need to be
formatted as text and if the number is less than 10 it has to read as "01"
for store 1 and so on.
- Finally save the file as a CSV in a particular location with a file name
derived from the worksheet with the following naming structure "WE mm-dd-yy".

Any help would be appreciated. Also the # of rows changes with each file.
Thanks.

Mike
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
My excel macro recorder no longer shows up when recording macro jack Excel Discussion (Misc queries) 1 February 5th 07 09:31 PM
My excel macro recorder no longer shows up when recording macro jack Excel Discussion (Misc queries) 3 February 5th 07 08:22 PM
using a cell value to control a counter inside a macro and displaying macro value ocset Excel Worksheet Functions 1 September 10th 06 05:32 AM
Macro needed to Paste Values and prevent Macro operation thunderfoot Excel Discussion (Misc queries) 1 June 11th 05 12:44 AM
Macro needed to Paste Values and prevent Macro operation thunderfoot Excel Discussion (Misc queries) 0 June 10th 05 03:38 PM


All times are GMT +1. The time now is 05:49 PM.

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"