Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #22  
Old 05-05-2013, 02:29 AM
The Swerv The Swerv is offline Inserting a Backspace Windows 7 64bit Inserting a Backspace Office 2010 32bit
Novice
Inserting a Backspace
 
Join Date: Mar 2013
Posts: 18
The Swerv is on a distinguished road
Default

Hello again Paul,

I have been using you macro now for a month and it has been fantastic.

Two little things have come up in the last couple of days

One

Can I modify the statement below to point to any directory just by inserting the path into it? ie,

SendKeys "%n %n"
SendKeys ThisDocument.Path & "\REPORT.* ~"
SendKeys "~"

To

SendKeys "%n %n"
SendKeys c:\invoicedocs & "\REPORT.* ~"
SendKeys "~"


Two

I have saved the invoice with the data in it and I have to delete all the information in it before I run the macro on a new data file or else I get repeated data in it.

Looking at the macro I presume I need to reset the variables

I
j
k
x
y

I have tried this but I am getting nowhere with it. I now think I maybe on the wrong track here, and something else has to be done.

Could you point me in the right direction please?

Swerv
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ctrl + Backspace does not function in protected documents dasleid Word 1 08-22-2012 01:25 PM
Inserting a table Katelyn Outlook 0 04-05-2012 09:39 AM
Inserting .AVI Casino799 PowerPoint 0 05-12-2011 06:51 AM
Inserting a Backspace Pls Help!! Inserting Subprojects... Dina Project 1 01-20-2011 09:55 AM
Backspace & Delete key issues marty69 Word 0 08-22-2010 08:06 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:40 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft