#1   Report Post  
guideme
 
Posts: n/a
Default macro

I need a crash course on macro and forms,
Specific thing I need to know how to do is to create a sheet that gives me
the specific salesperson on a specific zip code when entered on the zip code
blank field.
It should also have the salesperson's phone numbers/emails/cell associated
with each zip code query.
I also need to create another sheet with product part numbers associated
with a description and price list, when a part number is entered or vise
versa.
HOW ????? I'm panicking.
  #2   Report Post  
Gord Dibben
 
Posts: n/a
Default

You probably don't need a macro.

You could use the VLOOKUP Function with a table.

See Debra Dalgleish's site for info.

http://www.contextures.on.ca/xlFunctions02.html

While you're there check out using Data Validation drop-downs for entering
values to lookup.

http://www.contextures.on.ca/xlDataVal01.html


Gord Dibben Excel MVP

On Wed, 16 Mar 2005 21:35:03 -0800, "guideme"
wrote:

I need a crash course on macro and forms,
Specific thing I need to know how to do is to create a sheet that gives me
the specific salesperson on a specific zip code when entered on the zip code
blank field.
It should also have the salesperson's phone numbers/emails/cell associated
with each zip code query.
I also need to create another sheet with product part numbers associated
with a description and price list, when a part number is entered or vise
versa.
HOW ????? I'm panicking.


  #3   Report Post  
Gord Dibben
 
Posts: n/a
Default

For the row height question.............

Open a new workbook. Customize as you wish.

For the autorun macro.............

Right-click on the Excel logo at top left next to "File" and select "View
Code".

Copy/paste this code in there.

Private Sub Workbook_Open()
' your macro code or name goes in here
End Sub

ALT + Q to go back to Excel window.

FileSave As Type: scroll down
to Excel Template(*.XLT) and select. Name your workbook "BOOK"(no quotes).
Excel will add the .XLT to save as BOOK.XLT.

Store this workbook in the XLSTART folder usually located at........

C:\Documents and Settings\username\Application Data\Microsoft\Excel\XLSTART

This will be the default workbook for FileNewWorkbook.

Existing workbooks are not affected by these settings.

You can also open a new workbook and delete all but one sheet. Customize as
you wish then save this as SHEET.XLT in XLSTART folder also. It now becomes
the default InsertSheet.

More can be found on this in Help under "templates"(no quotes).


Gord Dibben Excel MVP



On Wed, 16 Mar 2005 21:35:03 -0800, "guideme"
wrote:

I need a crash course on macro and forms,
Specific thing I need to know how to do is to create a sheet that gives me
the specific salesperson on a specific zip code when entered on the zip code
blank field.
It should also have the salesperson's phone numbers/emails/cell associated
with each zip code query.
I also need to create another sheet with product part numbers associated
with a description and price list, when a part number is entered or vise
versa.
HOW ????? I'm panicking.


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
Playing a macro from another workbook Jim Excel Discussion (Misc queries) 1 February 23rd 05 10:12 PM
automatic macro update boconnell Excel Worksheet Functions 4 February 9th 05 07:10 PM
Date macro Hiking Excel Discussion (Misc queries) 9 February 3rd 05 12:40 AM
Can't get simple macro to run Abi Excel Worksheet Functions 5 January 12th 05 07:37 PM
Macro and If Statement SATB Excel Discussion (Misc queries) 2 December 3rd 04 04:46 PM


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