Looking for suggestion recover / import invoice.

ipbr21054

Well-known Member
Joined
Nov 16, 2010
Messages
5,832
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

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
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,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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