Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / March 2008

Tip: Looking for answers? Try searching our database.

macros with functions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Robert - 21 Mar 2008 00:35 GMT
I am using excel 2000.  I have created a macro that will clear my "Invoice"
and post pertinent information to the first row of an "Invoice Log" that I
have created in the same workbook, but on another tab.  I would like to have
the macro do a "VLOOKUP"? or some other function to post the next invoice
number into the invoice sheet and post the pertinent data to the appropriate
invoice# line on the Log sheet when I activate the macro and clear the
invoice sheet.  I hope this makes sense.  I don't know how to incorporate an
excel function like "LOOKUP" into a macro.
Signature

excelguy

OssieMac - 21 Mar 2008 00:41 GMT
I don't understand enough of your question to fully answer it but if you
record a macro while entering a VLOOK function then it should put you on the
right track.

Signature

Regards,

OssieMac

> I am using excel 2000.  I have created a macro that will clear my "Invoice"
> and post pertinent information to the first row of an "Invoice Log" that I
[quoted text clipped - 4 lines]
> invoice sheet.  I hope this makes sense.  I don't know how to incorporate an
> excel function like "LOOKUP" into a macro.
Ron Rosenfeld - 21 Mar 2008 00:56 GMT
>I am using excel 2000.  I have created a macro that will clear my "Invoice"
>and post pertinent information to the first row of an "Invoice Log" that I
[quoted text clipped - 4 lines]
>invoice sheet.  I hope this makes sense.  I don't know how to incorporate an
>excel function like "LOOKUP" into a macro.

Application.worksheetfunction.vlookup(args....)
--ron
Don Guillett - 21 Mar 2008 15:00 GMT
Instead, I would recommend using FIND. Look in the vba help index.

Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

>I am using excel 2000.  I have created a macro that will clear my "Invoice"
> and post pertinent information to the first row of an "Invoice Log" that I
[quoted text clipped - 7 lines]
> an
> excel function like "LOOKUP" into a macro.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.