Looking for suggestion recover / import invoice.

ipbr21054

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

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
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,223,908
Messages
6,175,307
Members
452,633
Latest member
DougMo

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