LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Macro to create new invoice

Works perfectly. Thanks very much :}
"jatman" wrote in message
...
somewhere on the sheet is where you have your current invoice number,
let's
just say K8 is where you have your invoice number.

next, somewhere in your macro, you need to add the following

mycount = Range("K8") + 1
Range("K8") = mycount

hope that helps,

jatman.

"MB" wrote:

Hi,

I would like to create a macro which clears the contents of selected
cells,
creates a new invoice number by adding 1 to the previous number then
saves
the document.

I am OK with the clearing cells and saving worksheet part of the macro
but I
am not sure how to add the number to the invoice. Any help appreciated.





 
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
How To Create a Percentage Discount in Invoice wambui Excel Discussion (Misc queries) 5 September 1st 06 11:11 PM
how do I create invoice with fillins using again? Dawn New Users to Excel 2 April 23rd 06 12:54 AM
how do I create an invoice from a spreadsheet perry New Users to Excel 1 January 16th 06 03:50 PM
i need to create an invoice that will flag up when not paid bgc1416 Excel Discussion (Misc queries) 2 November 9th 05 03:04 PM
How do I create an invoice so every time I need a new one a new i. jlh Excel Worksheet Functions 1 February 8th 05 10:24 PM


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