PhilThomas
New Member
- Joined
- Jul 5, 2004
- Messages
- 21
Hi
I have to do some network patch panel layouts for engineers to fill in for us in word. Each site is different and has different kit. I would like to write a macro that would ask me for each document the following information.
1) How many rooms? Example answer 5
From this it would know to ask me for 5 sets of kit. 1 for each room.
2) How many ports in the room are utp and how many are fibre. This should calculate what kit is going into each room as we have set kit for certain numbers of ports.
Ideally this should then autogenerate a table for me for each room ala
[Title Bar] Room: Roomcode
[Row 1] Current patch | New Patch | Port
[Row 2] G1 | G1 | FastEthernet0/1/1
[Row 3] G2 | G4 | FatThernet0/1/2
where G1, G2 G4 would be filled in by the engineer, I have simply included them for clarity. The auto generated table would not include them.
Any ideas greatly appreciated. I thought of writign it in php but don't know how to autocreate a table in word with the correct syntax. I can't make it a html document as there is other stuff int here and they want it as word.
Thanks
Phil
I have to do some network patch panel layouts for engineers to fill in for us in word. Each site is different and has different kit. I would like to write a macro that would ask me for each document the following information.
1) How many rooms? Example answer 5
From this it would know to ask me for 5 sets of kit. 1 for each room.
2) How many ports in the room are utp and how many are fibre. This should calculate what kit is going into each room as we have set kit for certain numbers of ports.
Ideally this should then autogenerate a table for me for each room ala
[Title Bar] Room: Roomcode
[Row 1] Current patch | New Patch | Port
[Row 2] G1 | G1 | FastEthernet0/1/1
[Row 3] G2 | G4 | FatThernet0/1/2
where G1, G2 G4 would be filled in by the engineer, I have simply included them for clarity. The auto generated table would not include them.
Any ideas greatly appreciated. I thought of writign it in php but don't know how to autocreate a table in word with the correct syntax. I can't make it a html document as there is other stuff int here and they want it as word.
Thanks
Phil