Updating distributed Excel applications

  • Thread starter Thread starter Michael Malinsky
  • Start date Start date
M

Michael Malinsky

I have a VBA application that I've distributed to a couple of clients. Now
some changes need to be made to the worksheets to conform to various
regulatory requirements. These changes would need to be made to what could
be called "data" worksheets from which various "form" worksheets pull
information based on lookup (and other) functions.

Say, for example, I need to add a column to the middle of one of the data
sheets. Is it possible to do that programatically without destroying the
data so the client does not have to recreate the data?

TIA
Mike

--
Michael J. Malinsky
Pittsburgh, PA

"I am a bear of very little brain, and long
words bother me." -- AA Milne, Winne the Pooh
 
Michael,

This inserts a column on "Sheet1" at column C (the original column C is
moved to column D)

Note that the insert is done without any select.

''''''''''''''''
Sub AddColumn()
Sheets("Sheet1").Range("C1").EntireColumn.Insert
End Sub
''''''''''''''''''
hth
 
Mike,

You would be much better off adding the newly required column to
the right of the existing data.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Add field to jet database table in ADO 3
Rounding up decimals 5
users and DAO with access database 1
Menu item created w/ add-in removed due other add-in 2
Count days 2
Comment boxes 3
Form help 2
Microsoft Query 2

Back
Top