Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-01-2016, 05:40 AM
PRA007's Avatar
PRA007 PRA007 is offline How to Work with JSON in word-vba Windows 7 64bit How to Work with JSON in word-vba Office 2010 32bit
Competent Performer
How to Work with JSON in word-vba
 
Join Date: Dec 2014
Location: Ahmedabad, Gujrat, India
Posts: 145
PRA007 is on a distinguished road
Default How to Work with JSON in word-vba

I tried this good tool at https://github.com/VBA-tools/VBA-JSON, which works best in excel but do not work with ms word.


I am getting error at:

Code:
Private Function json_ParseObject(json_String As String, ByRef json_Index As Long) As dictionary
and code also in many lines makes this statements which I don't think supported in word. Somebody need to contribute to this tool for word also.



Code:
Set json_ParseObject = New dictionary
Reply With Quote
  #2  
Old 05-01-2016, 02:53 PM
Guessed's Avatar
Guessed Guessed is offline How to Work with JSON in word-vba Windows 10 How to Work with JSON in word-vba Office 2013
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,980
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

It sounds like you forgot to include the reference listed near the bottom of that page
For Windows-only, include a reference to "Microsoft Scripting Runtime"

Without that reference turned on, both those lines will fail to compile.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply

Tags
word-vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2013 TTS for Spanish does not work zemog Word 0 03-20-2016 07:17 AM
Convert Word 2007 macro to work in Word 2003 Kamaflage Word VBA 1 02-25-2015 11:40 PM
How to Work with JSON in word-vba repetitive work in word vishalvijayan Word 1 03-31-2011 08:30 PM
How to Work with JSON in word-vba Word crashed, lost all my work S3ZAi Word 3 01-22-2011 07:02 PM
Annoying work in Word 2007 CabbageTree Word 2 03-15-2010 01:47 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:41 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft