VBA selecting dynamic ranges and export that to PDF

Jalal Kasmani

Board Regular
Joined
Feb 14, 2015
Messages
52
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have excel file in which various advices are pasted one below the other. I require a process where the user will enter deposit number (D4567821) to search , so the range from bank N.A. Mumbai till Authorised signatory boibank N.A should get selected and exported that as PDF.

Below is the raw rough data in excel

bank N.A. Mumbai
Branch : Mumbai
Date : 31-MAR-2021
THE ACCOUNTS DEPARTMENT
dasjfndjsfbg
1202,12TH FLOOR,FIRST INTERNATIONAL
dacfdaf
df
cadf
400051
ADVICE OF FIXED DEPOSIT BOOKED
This is to inform you that at your request, a MIBOR linked Deposit has been booked with the following details :
Deposit NoD012456987254100
Date of Booking31-MAR-2021
Date of Maturity20-APR-2021
Principal Amount (Rs.)
65000​
Rate of InterestMibor - 2.000
Tenor (Days)20
Authorised signatoryAuthorised signatory
boibank N.A.Boibank N.A.
bank N.A. Mumbai
Branch : Mumbai
Date : 31-MAR-2021
THE ACCOUNTS DEPARTMENT
dasjfndjsfbg
1202,12TH FLOOR,FIRST INTERNATIONAL
dacfdaf
df
cadf
400051
ADVICE OF FIXED DEPOSIT BOOKED
This is to inform you that at your request, a MIBOR linked Deposit has been booked with the following details :
Deposit NoD4567821
Date of Booking31-MAR-2021
Date of Maturity20-APR-2021
Principal Amount (Rs.)
65000​
Rate of InterestMibor - 2.000
Tenor (Days)20
Authorised signatoryAuthorised signatory
boibank N.A.Boibank N.A.
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,215,356
Messages
6,124,475
Members
449,164
Latest member
Monchichi

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