Looking for suggestion recover / import invoice.

ipbr21054

Well-known Member
Joined
Nov 16, 2010
Messages
5,226
Office Version
  1. 2007
Platform
  1. Windows
Hi,

Some of the jobs I do I like to generate a dummy invoice & take with me to the job in question.

The invoice template saves a pdf to a folder on my pc.

Upon return of the job I then retype what was on the generate pdf & print the final sheet which then gets added to my database & invoice number is increased by 1

I’m looking for a way to not type it all out again.
I use a print area when printing so can this print area be saved to another sheet in this workbook where width etc etc is like for like so I can then just print it off & delete sheet once done.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
I have found & using the code below.
Once the new sheet is copied the code then makes that new sh`eet the active sheet.
I am wanting to stay on the original sheet.

In the code shown i removed wks.Activate but still it makes it active


Rich (BB code):
  Dim wks As Worksheet
  Set wks = ActiveSheet
  ActiveSheet.Copy After:=Worksheets(Sheets.Count)
  If wks.Range("G13").Value <> "" Then
    On Error Resume Next
  ActiveSheet.NAME = wks.Range("G13").Value
  End If

  wks.Activate
 
Upvote 0

Forum statistics

Threads
1,215,071
Messages
6,122,964
Members
449,094
Latest member
Anshu121

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top