LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 349
Default Macro to create next number in sequence to be used on 2 workbooks

Hi all -

I have 2 workbooks (excel 2003) for tracking invoice numbers - which now run
alternate to each other - to avoid having to open both workbooks and having
to look at which was the last number used (to stop duplicate invoice number)
is it possible to create a simple macro that will look at both lists -
identifty last number used and then add 1 - putting this in the next
available cell. Hope this makes sense!

Simple layout of both workbooks:

Book 1 Book 2
A B A B
Date Invoice Number Date Invoice Number
1/10/08 12345 3/10/08 12346
6/10/08 ??? 5/10/08 12347
 
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
Macro to create sequence of numbers [email protected] Excel Programming 1 February 22nd 08 06:33 PM
create a macro that compares two workbooks blopreste3180 Excel Discussion (Misc queries) 2 September 5th 07 05:26 PM
Macro to Create Workbooks & Worksheets Ciara Excel Programming 0 February 28th 07 01:22 PM
can't create excel add-in macro to use with other workbooks icccapital Excel Programming 1 February 21st 07 05:31 PM
Opening workbooks in sequence Matt Excel Programming 3 April 20th 04 06:57 PM


All times are GMT +1. The time now is 02:17 AM.

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"