Jump to content
Macro Express Forums

Variable Pasting

Recommended Posts

I am copy name, company, address, city, state, zip, phone, etc into Text variables 2-15. I then want to paste the information into ACT! We are using ACT! Premium 2010. When I am pasting the Variables into each field, it seems that the tabs between the fields are not consistent. When I do a Text Type to drop the Variable into the proper fields, it seems that the when I drop the variable it is also dropping an enter at the end of the data. But when I thought that I figured it out, it didn't seem to be the case every time. Sometimes there is one too many tabs and some times there is one two few tabs. Not sure if maybe there is a better way to do things.


I also wanted to make sure how long those items stay in their respective variable. If I have one macro that copies everything into the variable can I use another Macro to paste the variables into ACT? Do the variables stay as is until I overwrite them?



Link to comment
Share on other sites

Please see our other conversations.


We have had a couple of recent threads regarding the tabbing between fields and the troubles like you described. In one of them I gave a lengthy explanation of how I deal with it.


As for your variable question the rule is simple and if you read my webpage I linked you to before you will understand that all variables evaporate instantly when a macro is finished. The only way to have them carry over is if they’re global (the default) and you call the other macro at the end of the first. If it were me I would cache the values in the registry to be used in later macros.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...