×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Macro for editing tables.

Macro for editing tables.

Macro for editing tables.

(OP)
Hello, i encountered an issue that i can't find any way to edit text in tables via VBS. For e.g i have in column "Diameter" few values but some of them are repeating for e.g 2,46 which stands for thread M4, so i want macro to search for 2,46 through this table, merge cells (cells are sorted by amount so all 2,46 would be the nearest cells) and change it for M4. Thanks in advance.

Regards,
M

Replies continue below

Recommended for you

RE: Macro for editing tables.

Use SetCellString and MergeCells methods of DrawingTable class

RE: Macro for editing tables.

(OP)
Could you provide any example please? It's my first macro for 2D so i would be grateful for some snippet. Thanks in advance.

Regards,
M

RE: Macro for editing tables.

(OP)
I saw that macro already, but it does refer to exact cell in existing table, i wanted my macro to look for cells in one column which has the same value then merge cells and change value.

Regards,
M

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close