Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 29th, 2006, 08:42 AM
Registered User
 
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to sword_him
Default Transferring Macro Variables Values To Another Pro

Project Description:-

> We are developing one real time application which transfer real stocks data from one server(s1) to another

server(s2).

> There is one excel file on server(s1) which is continuously updated and we need to transfer those updated

data to server(s2) in every single seconds using tcp or udp connection.



-->For achiving this functionality we implement following method:

    Method :--
               - First create macro for getting address and value of updated cell in excel sheet.

                 Macro Code ---
            ***

            Private Sub Worksheet_Change(ByVal Target As Range)
                Dim VRange As Range
                    Set VRange = Range("A1:P100") ' input range


                        Dim address As String

                        address = Intersect(Target, VRange).AddressLocal

                    '' Get updated cell value
                        Dim cellval As String

                        cellval = Intersect(Target, VRange).Value

            End Sub

            ***

        - We Create one vb.net window application for sending updated values from server(s1) to

      server(s2) using udp.

I am facing problem that how can i get macro variables value in vb.net application so that those values are

transfered to server(s2).

If any one have any idea about this application or problem then help me.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Variables losing their values jrensink78 ASP.NET 1.0 and 1.1 Basics 3 April 13th, 2006 01:09 PM
How to look values between variables saf01 Crystal Reports 0 December 5th, 2005 02:08 PM
Syntax for bind variables in Pro*C Rhea_Raksha All Other Wrox Books 0 July 12th, 2005 09:22 AM
passing values and variables anshul Javascript How-To 3 July 26th, 2004 02:30 PM
Assigning Values to Variables shabboleth Beginning PHP 2 September 4th, 2003 07:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.