C
Cory
I am trying to use a User Form to gain input from User, set those inputs as
variables and set those variables values as the text in table cells on a
publication. I am using something similar to :
ActiveDocument.Pages(1).Shapes(10).Table.Rows(1).Cells(1).TextRange.Text =
vGeoCoords
This works just fine when executed as the only line in a macro with
vGeoCoords changed for "Hello World". Sure enough, Hello world is inserted
in the Table. However when used as the only line in the OK_Click() for the
User Form Command Button, it does nothing... The User Form comes up. I can
type in the Textboxes, Even though I commented out all of the varaible and am
still using "Hello World" it still refuses to enter anything in the table.
No error, no warning. I originally had the .Hide for the userform after it
and it refuses to do that. Even for the Cancel button. I am starting to
wonder if the UserForm itself is the culprit...
Cory
variables and set those variables values as the text in table cells on a
publication. I am using something similar to :
ActiveDocument.Pages(1).Shapes(10).Table.Rows(1).Cells(1).TextRange.Text =
vGeoCoords
This works just fine when executed as the only line in a macro with
vGeoCoords changed for "Hello World". Sure enough, Hello world is inserted
in the Table. However when used as the only line in the OK_Click() for the
User Form Command Button, it does nothing... The User Form comes up. I can
type in the Textboxes, Even though I commented out all of the varaible and am
still using "Hello World" it still refuses to enter anything in the table.
No error, no warning. I originally had the .Hide for the userform after it
and it refuses to do that. Even for the Cancel button. I am starting to
wonder if the UserForm itself is the culprit...
Cory