Populating a work sheet from excel based
Closed
                                    
                        melissa                    
                                    -
                            Feb 10, 2015 at 08:11 AM
                        
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Contributor Last seen December 27, 2022 - Feb 12, 2015 at 11:05 AM
        TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Contributor Last seen December 27, 2022 - Feb 12, 2015 at 11:05 AM
        Related:         
- Populating a work sheet from excel based
 - How to copy data from one excel sheet to another - Guide
 - Windows network commands cheat sheet - Guide
 - Sheet right to left in google sheet - Guide
 - How to screenshot excel sheet - Guide
 - Excel mod apk for pc - Download - Spreadsheets
 
3 responses
                
        
                    TrowaD
    
        
                    Posts
            
                
            2921
                
                            Registration date
            Sunday September 12, 2010
                            Status
            Contributor
                            Last seen
            December 27, 2022
            
            
                    555
    
    
                    
Feb 10, 2015 at 11:09 AM
    Feb 10, 2015 at 11:09 AM
                        
                    Hi Melissa,
What I understand from your query is that you manually fill in an invoice and after you print the invoice, clear the entered fields and increase the invoice number by 1.
Is this correct?
Also could you upload your file using a file sharing site like www.speedyshare.com or ge.tt and post back the download link (careful with sensitive information), for a better understanding of your lay out?
Best regards,
Trowa
 
                
                
            What I understand from your query is that you manually fill in an invoice and after you print the invoice, clear the entered fields and increase the invoice number by 1.
Is this correct?
Also could you upload your file using a file sharing site like www.speedyshare.com or ge.tt and post back the download link (careful with sensitive information), for a better understanding of your lay out?
Best regards,
Trowa
                        
                    Hello Trowa
that's correct.
I up loaded it - link is http://speedy.sh/a37Gb/HU.xls
thank you for helping!
            that's correct.
I up loaded it - link is http://speedy.sh/a37Gb/HU.xls
thank you for helping!
                
        
                    TrowaD
    
        
                    Posts
            
                
            2921
                
                            Registration date
            Sunday September 12, 2010
                            Status
            Contributor
                            Last seen
            December 27, 2022
            
            
                    555
    
    
                    
Feb 12, 2015 at 11:05 AM
    Feb 12, 2015 at 11:05 AM
                        
                    Hi Melissa,
Not sure which ranges need to be cleared, but you can add ranges yourself.
Also not sure how you want your order number to look like. Now it's a single number, which will increase by 1 every time the code is run.
Here is the code:
Let us know if further assistance is desired.
Best regards,
Trowa
 
                
                
            Not sure which ranges need to be cleared, but you can add ranges yourself.
Also not sure how you want your order number to look like. Now it's a single number, which will increase by 1 every time the code is run.
Here is the code:
Sub ClearForm()
Range("D3:I3,E4:I4,E5:I7,E8:F10,H8:I8,I9,C18:I30").ClearContents
Range("H9") = Range("H9") + 1
End Sub  
Let us know if further assistance is desired.
Best regards,
Trowa