View Single Post
 
Old 12-09-2022, 07:51 PM
Priyantha Gamini Priyantha Gamini is offline Windows 10 Office 2016
Novice
 
Join Date: Dec 2022
Posts: 9
Priyantha Gamini is on a distinguished road
Default

Thaks for all to attending my issue. I will discribe my isuu again.I received a merge word document contains a description of member fee charges related to the trade union. I use a macro to seperate PDF fils belongs to each union. I want to create a summary related to those trade unions in an excel sheet (with Grand Total belongs to Trade union).


I want to get Grand total value to this variable.
My variable :

sTotal = docNew.Frames(21).Range.Text

This frame(21) works correctly For one page union (pdf file) only.i am a beginner for VBA. can not use Selection.Goto /Selection.Move function for this.

Dear macropod, thank your answar i will try it.

Dear Guessed, thanks, i hope to capture Grand Total value to my variable. "Grand Total" should one space between word. I can be corrected in system report.

Thanks,

Priyantha

Last edited by Priyantha Gamini; 12-10-2022 at 02:19 AM.
Reply With Quote